After someone removed /etc/passwd I'm having issues with some packages not starting correctly under Solaris 10 SMF. (Hint for recovering /etc/passwd and /etc/shadow, look for opasswd and oshadow.) I can see the snmp packages are installed but when I run ‘svcs –a|grep –I snmp” nothing is there. I can find the manifest file (/var/opt/csw/svc/manifest/network/netsnmpd.xml) and if I run the start from the XML file (/var/opt/csw/svc/method/svc-netsnmpd start) snmpd runs. What am I missing? Do I have to reinstall the packages: libnetsnmp25 libnetsnmp30 libnetsnmpagent25 libnetsnmpagent30 libnetsnmpmibs25 libnetsnmpmibs30 libnetsnmptrapd25 libnetsnmptrapd30 netsnmp pm-net-snmp pm-netsnmp
asked: 2016-10-04 by: essej1
No idea what happens there, but you can re import the SMF
# svccfg import /var/opt/csw/svc/manifest/network/netsnmpd.xml
Thanks. That did the trick.