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

This is a discussion on on CentOS 4.5 (usually), snmpd won't stay running within the SNMP Users forums, part of the Networking and Network Related category; I have several CentOS machines at different hosting providers. On all of the CentOS 4.5 machines (but usually not ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-02-2008
Bennett Haselton
 
Posts: n/a
Default on CentOS 4.5 (usually), snmpd won't stay running

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

bennett@peacefire.org 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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:07 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0