I've been struggling with a snmp issue on a CentOS 4.8 machine for several days. I've installed snmp (yum install net-snmp), but it refuses to start. Running "service snmpd start" appears to have started the process, but running service snmpd status" results in "snmpd dead but subsys locked". Looking in /var/log/messages only has the "snmp started" entry.
I've spent a lot of time on Google and one of the things I have tried is running "snmpd -f -Le. This results in "snmpd: symbol lookup error: /usr/lib/libnetsnmp.so.5: undefined symbol: RAND_bytes".
I've tried uninstalling and reinstalling snmp, but no luck. I've also removed the resulting /var/lock and /var/run files.
Any help on this would be greatly appreciated.