I have several CentOS machines at different hosting providers. On all of
the CentOS 4.5 machines (but usually not on the CentOS 4.4 ones or the
CentOS 5 ones), if I install snmp using
yum install -y net-snmp
(and it reports no error), I then try to start the snmpd service, but
immediately after I start it with no error, the service isn't running any
more:
[EMAIL PROTECTED] net-snmp-5.4.1]# service snmpd start
Starting snmpd: [ OK ]
[EMAIL PROTECTED] net-snmp-5.4.1]# ps auwx | grep snmp
root 27400 0.0 0.0 4832 632 pts/0 S+ 17:22 0:00 grep snmp
[EMAIL PROTECTED] net-snmp-5.4.1]#
Since this happens consistently across the CentOS 4.5 machines (though
usually not the 4.4's), and these are both straightforward steps that
shouldn't cause anything to go wrong, I'm at a loss to explain the
results. Anybody else not at a loss?
The only two lines that snmpd writes to /var/log/messages are these two,
indicating no error:
Feb 2 17:22:20 D2585 snmpd: snmpd startup succeeded
Feb 2 17:22:20 D2585 snmpd[27396]: NET-SNMP version 5.1.2
and similarly there is only one line in this file:
[EMAIL PROTECTED] net-snmp-5.4.1]# cat /var/log/snmpd.log
NET-SNMP version 5.1.2
One person suggested running it under strace, which I did, and got this
output, of which I didn't understand a word, but you might:
http://www.peacefire.org/strace-snmpd-output.txt
-Bennett
[EMAIL PROTECTED] http://www.peacefire.org
(425) 497 9002
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users