{"id":3109,"date":"2020-07-09T08:35:15","date_gmt":"2020-07-09T00:35:15","guid":{"rendered":"https:\/\/www.aoisnow.net\/blog\/?p=3109"},"modified":"2020-07-09T08:35:15","modified_gmt":"2020-07-09T00:35:15","slug":"day-11599-%e5%9c%a8debian-10%e4%b8%8a%e5%ae%89%e8%a3%85dell-openmanage","status":"publish","type":"post","link":"https:\/\/www.aoisnow.net\/blog\/archives\/3109","title":{"rendered":"Day 5273 \u5728Debian 10\u4e0a\u5b89\u88c5Dell OpenManage"},"content":{"rendered":"<p>\u73af\u5883\u4e3aDebian 10\u9ed8\u8ba4\u5b89\u88c5\u3002<\/p>\n<p>1\u3001\u4e3aPATH\u53d8\u91cf\u589e\u52a0\/usr\/sbin\uff08\u6c38\u4e45\u4fee\u6539\u4f4d\u7f6e\u4e3a\/etc\/login.defs\uff09\uff1a<\/p>\n<blockquote><p>export PATH=$PATH:\/usr\/sbin<\/p><\/blockquote>\n<p>2\u3001\u5728root\u4e0b\u8fd0\u884c\u4ee5\u4e0b\u6307\u4ee4\u5b89\u88c5OpenManage\u8f6f\u4ef6\u5305\uff08<a href=\"https:\/\/www.reddit.com\/r\/homelab\/comments\/dt2xk7\/dell_omsa_on_proxmox_6_debian_10\/\" target=\"_blank\" rel=\"noopener\">\u6765\u81ea\u6b64Reddit\u5e16\u5b50\uff0c\u611f\u8c22\u4f5c\u8005<\/a>\uff09\uff1a<\/p>\n<blockquote><p>gpg &#8211;keyserver hkp:\/\/pool.sks-keyservers.net:80 &#8211;recv-key 1285491434D8786F<br \/>\ngpg -a &#8211;export 1285491434D8786F | apt-key add &#8211;<br \/>\necho &#8220;deb http:\/\/linux.dell.com\/repo\/community\/openmanage\/930\/bionic bionic main&#8221; &gt; \/etc\/apt\/sources.list.d\/linux.dell.com.sources.list<br \/>\nwget http:\/\/archive.ubuntu.com\/ubuntu\/pool\/universe\/o\/openwsman\/libwsman-curl-client-transport1_2.6.5-0ubuntu3_amd64.deb<br \/>\nwget http:\/\/archive.ubuntu.com\/ubuntu\/pool\/universe\/o\/openwsman\/libwsman-client4_2.6.5-0ubuntu3_amd64.deb<br \/>\nwget http:\/\/archive.ubuntu.com\/ubuntu\/pool\/universe\/o\/openwsman\/libwsman1_2.6.5-0ubuntu3_amd64.deb<br \/>\nwget http:\/\/archive.ubuntu.com\/ubuntu\/pool\/universe\/o\/openwsman\/libwsman-server1_2.6.5-0ubuntu3_amd64.deb<br \/>\nwget http:\/\/archive.ubuntu.com\/ubuntu\/pool\/universe\/s\/sblim-sfcc\/libcimcclient0_2.2.8-0ubuntu2_amd64.deb<br \/>\nwget http:\/\/archive.ubuntu.com\/ubuntu\/pool\/universe\/o\/openwsman\/openwsman_2.6.5-0ubuntu3_amd64.deb<br \/>\nwget http:\/\/archive.ubuntu.com\/ubuntu\/pool\/multiverse\/c\/cim-schema\/cim-schema_2.48.0-0ubuntu1_all.deb<br \/>\nwget http:\/\/archive.ubuntu.com\/ubuntu\/pool\/universe\/s\/sblim-sfc-common\/libsfcutil0_1.0.1-0ubuntu4_amd64.deb<br \/>\nwget http:\/\/archive.ubuntu.com\/ubuntu\/pool\/multiverse\/s\/sblim-sfcb\/sfcb_1.4.9-0ubuntu5_amd64.deb<br \/>\nwget http:\/\/archive.ubuntu.com\/ubuntu\/pool\/universe\/s\/sblim-cmpi-devel\/libcmpicppimpl0_2.0.3-0ubuntu2_amd64.deb<br \/>\ndpkg -i libwsman-curl-client-transport1_2.6.5-0ubuntu3_amd64.deb<br \/>\ndpkg -i libwsman-client4_2.6.5-0ubuntu3_amd64.deb<br \/>\ndpkg -i libwsman1_2.6.5-0ubuntu3_amd64.deb<br \/>\ndpkg -i libwsman-server1_2.6.5-0ubuntu3_amd64.deb<br \/>\ndpkg -i libcimcclient0_2.2.8-0ubuntu2_amd64.deb<br \/>\ndpkg -i openwsman_2.6.5-0ubuntu3_amd64.deb<br \/>\ndpkg -i cim-schema_2.48.0-0ubuntu1_all.deb<br \/>\ndpkg -i libsfcutil0_1.0.1-0ubuntu4_amd64.deb<br \/>\ndpkg -i sfcb_1.4.9-0ubuntu5_amd64.deb<br \/>\ndpkg -i libcmpicppimpl0_2.0.3-0ubuntu2_amd64.deb<\/p>\n<p>apt update<br \/>\napt install srvadmin-all<br \/>\ntouch \/opt\/dell\/srvadmin\/lib64\/openmanage\/IGNORE_GENERATION<br \/>\nsrvadmin-services.sh enable &amp;&amp; srvadmin-services.sh start<\/p><\/blockquote>\n<p>3\u3001\u6b64\u65f6\u5df2\u53ef\u901a\u8fc7https:\/\/IP:1311\/\u770b\u5230\u7f51\u9875\u754c\u9762\uff0c\u4f46\u547d\u4ee4\u884comreport\u529f\u80fd\u6682\u65f6\u4e0d\u53ef\u7528\uff0c\u4f1a\u63d0\u793a\uff1a<\/p>\n<blockquote><p>omconfig: error while loading shared libraries: libxslt.so.1: cannot open shared object file: No such file or directory<\/p><\/blockquote>\n<p>\u6267\u884c\u4ee5\u4e0b\u6307\u4ee4\u5b89\u88c5\u6240\u7f3a\u5931\u7684libxslt1.1\uff1a<\/p>\n<blockquote><p>apt-get install libxslt1.1<\/p><\/blockquote>\n<p>\u6b64\u65f6\u6267\u884comreport\u7684\u67e5\u8be2\u547d\u4ee4\uff08\u5982omreport system summary\uff09\uff0c\u4f1a\u63d0\u793a\uff08\u5373\u4f7f\u5728root\u4e0b\u6267\u884c\u4e5f\u662f\u5982\u6b64\uff09\uff1a<\/p>\n<blockquote><p>Error! User has insufficient privileges to run command.<\/p><\/blockquote>\n<p>\u4f9d\u636e<a href=\"https:\/\/www.reddit.com\/r\/linuxadmin\/comments\/caq99w\/debian_10buster_omreport_error_user_has\/\" target=\"_blank\" rel=\"noopener\">\u6b64\u5904\u5185\u5bb9\u63d0\u793a\uff08\u5e16\u5b50\u4e0b\u65b9\u7684\u56de\u590d\uff09<\/a>\uff0c\u5e94\u4e3a\u7f3a\u5931libncurses5\uff0c\u8fd0\u884c\u5982\u4e0b\u6307\u4ee4\u5b89\u88c5\u4e4b\uff0c\u5e76\u91cd\u542fOpenManage\u76f8\u5173\u670d\u52a1\uff1a<\/p>\n<blockquote><p>apt install libncurses5<\/p>\n<p>systemctl start dsm_sa_datamgrd<br \/>\nsystemctl start dsm_sa_eventmgrd<br \/>\nsystemctl start dsm_sa_snmpd<br \/>\nsystemctl start dsm_om_connsvc<br \/>\nsystemctl start dsm_om_shrsvc<\/p><\/blockquote>\n<p>\u73b0\u5728\u7ec8\u4e8e\u53ef\u4ee5\u4f7f\u7528omreport\u5728CLI\u4e0b\u67e5\u770b\u7cfb\u7edf\u6982\u51b5\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u73af\u5883\u4e3aDebian 10\u9ed8\u8ba4\u5b89\u88c5\u3002 1\u3001\u4e3aPATH\u53d8\u91cf\u589e\u52a0\/usr\/sbin\uff08\u6c38\u4e45\u4fee\u6539\u4f4d\u7f6e\u4e3a\/etc\/logi [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-3109","post","type-post","status-publish","format-standard","hentry","category-sketch"],"_links":{"self":[{"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/posts\/3109","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/comments?post=3109"}],"version-history":[{"count":0,"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/posts\/3109\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/media?parent=3109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/categories?post=3109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/tags?post=3109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}