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???
___________________________________________________ 您的生活即時通 - 溝通、娛樂、生活、工作一次搞定! http://messenger.yahoo.com.tw/
2010/1/15 mcclnx mcc mcclnx@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.
There is NO /etc/sysconfig/snmpd.options file on my CENTOS 5.4.
--- 10/1/15 (五),Kwan Lowe kwan.lowe@gmail.com 寫道:
寄件者: Kwan Lowe kwan.lowe@gmail.com 主旨: Re: [CentOS] how to startup snmpd on debug mode 收件者: "CentOS mailing list" centos@centos.org 日期: 2010年1月15日,五,上午10:16 2010/1/15 mcclnx mcc mcclnx@yahoo.com.tw:
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. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
___________________________________________________ 您的生活即時通 - 溝通、娛樂、生活、工作一次搞定! http://messenger.yahoo.com.tw/
From: mcclnx mcc mcclnx@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