snmpd dead but subsys locked


# service snmpd status  
 snmpd dead but subsys locked


These errors indicate that snmpd died or exited at some point without cleaning up temporary files.
For the first error, remove the subsystem lock file:
# rm /var/lock/subsys/snmpd 
For the second error, remove the PID file:
# rm /var/run/snmpd.pid
Restart the service and check the status.
# service snmpd start
# service snmpd status
If the errors continue to occur after removing the file(s) and restarting the service, check the log files for reasonssnmpd is starting and exiting.

Comments