Re: snmpd silently dies after being started



On Jan 30, 12:31 pm, Jean-David Beyer <jeandav...@xxxxxxxxxxx> wrote:
Bennett Haselton wrote:
I installed snmpd on a machine running CentOS 4.5 using "yum install
net-snmp",
but whenever I start the snmpd service, it starts with
no error but then dies silently:

[root@localhost cacti]# service snmpd start
Starting snmpd:                                            [  OK  ]
[root@localhost cacti]# ps auwx | grep snmp
root     26756  0.0  0.0  4640  624 pts/0    S+   02:25   0:00 grep
snmp
[root@localhost cacti]#

[i.e. "ps auwx | grep snmp" should list any instances of snmpd that
were
running, but none are listed]

What might be causing the snmpd daemon to fail?  Does it write an
error log
anywhere when it winks out like that?

I do not know about snmpd in particular, but most daemons write into
/var/log/messages unless you have directed them elsewhere.

Thanks. After I do "service snmpd start", these lines are appended
to /var/log/messages :

Jan 31 07:52:25 localhost snmpd: snmpd startup succeeded
Jan 31 07:52:25 localhost snmpd[16007]: NET-SNMP version 5.1.2

Unfortunately that gives no indication of why, 1 second later, there
is no snmpd process.

Is there anything else I can do? Can most services be run in some
kind of diagnostic mode to get more information about why they're
dying?
.



Relevant Pages