[CentOS] snmpd wont start on CentOS 4.4?

Thu Apr 10 18:38:04 UTC 2008
Paul Heinlein <heinlein at madboa.com>

On Thu, 10 Apr 2008, Gustavo Gouvea wrote:

> Hi Jonny,
>
> Yes, I did the reboot. "getenforce" shows "disabled".
> The funny is that, issuing the start command it says "OK".
>
> Even in the logs:
> Apr 10 12:12:44  localhost snmpd: snmpd startup succeeded
> Apr 10 12:12:44  localhost snmpd[6673]: NET-SNMP version 5.1.2
>
> But still, there is no process running...

Have you tried launching snmpd in non-forking mode?

   snmpd -f -Le

If that's not verbose enough, wrap it in strace and try again:

   strace -o /tmp/snmpd.trace snmpd -f -Le

-- 
Paul Heinlein <> heinlein at madboa.com <> http://www.madboa.com/