on CentOS 4.5 (usually), snmpd won't stay running

Bennett Haselton <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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:

[root@D2585 net-snmp-5.4.1]# service snmpd start
Starting snmpd:                                            [  OK  ]
[root@D2585 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
[root@D2585 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:
[root@D2585 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.