From: mcclnx mcc <mcclnx at yahoo.com.tw> > --- 10/1/15 (五),Kwan Lowe 寫道: > > > I tried to startup "snmpd" on debug mode but NOT > > successful (CENTOS 5.4). 狢 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. > There is NO /etc/sysconfig/snmpd.options file on my CENTOS 5.4. If you look at /etc/init.d/snmpd, you see: OPTIONS="-Lsd -Lf /dev/null -p /var/run/snmpd.pid -a" if [ -e /etc/sysconfig/snmpd.options ]; then . /etc/sysconfig/snmpd.options fi So you have 2 ways to add your '-D' option... JD