[CentOS] how to startup snmpd on debug mode

Fri Jan 15 15:16:56 UTC 2010
Kwan Lowe <kwan.lowe at gmail.com>

2010/1/15 mcclnx mcc <mcclnx at yahoo.com.tw>:
> I tried to startup "snmpd" on debug mode but NOT successful (CENTOS 5.4).  I have been tried following way:
> /etc/init.d/snmpd start -D
> /etc/init.d/snmpd -D start
> service snmpd -D restart
> any ideal???

Edit the /etc/sysconfig/snmpd.options file to add the "-D", then restart.