:/home/# sh -x /etc/init.d/snmpd start + set -e + test -x /usr/sbin/snmpd + test -x /usr/sbin/snmptrapd + export MIBDIRS=/usr/share/snmp/mibs + MIBDIRS=/usr/share/snmp/mibs + SNMPDRUN=yes + SNMPDOPTS='-Lsd -Lf /dev/null -p /var/run/snmpd.pid' + TRAPDRUN=no + TRAPDOPTS='-Lsd -p /var/run/snmptrapd.pid' + '[' -r /etc/default/snmpd ']' + . /etc/default/snmpd ++ export MIBDIRS=/usr/share/snmp/mibs ++ MIBDIRS=/usr/share/snmp/mibs ++ SNMPDRUN=yes ++ SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid' ++ TRAPDRUN=no ++ TRAPDOPTS='-Lsd -p /var/run/snmptrapd.pid' + cd / + case "$1" in + echo -n 'Starting network management services:' Starting network management services:+ '[' yes = yes -a -f /etc/snmp/snmpd.conf ']' + start-stop-daemon --quiet --start --exec /usr/sbin/snmpd -- -Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid
:/home/# ps gauxww|grep -i snmpd snmp 2995 0.0 0.1 8044 4028 ? S 15:36 0:00 /usr/sbin/snmpd -Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid ----- Original Message ----- From: "Brian A. Seklecki" <[EMAIL PROTECTED]> To: "chiel" <[EMAIL PROTECTED]> Cc: <net-snmp-users@lists.sourceforge.net> Sent: Wednesday, June 13, 2007 3:39 PM Subject: Re: /etc/init.d/snmpd doesn't get config from snmpd.conf > "sh -x /etc/init.d/snmpd start" and see what its doing. > > "ps gauxww|grep -i snmpd" and see what flags were passed > > ~BAS > > On Wed, 2007-06-13 at 14:41 +0200, chiel wrote: >> Hello, >> >> I add the following line in my /etc/snmp/snmpd.conf: >> "smuxpeer .1.3.6.1.4.1.674.10892.1". >> When I do, "/etc/init.d/snmpd restart" and do a snmpwalk >> on .1.3.6.1.4.1.674.10892.1 I don't get any output. >> >> But when I do: >> # /etc/init.d/snmpd stop >> # snmpd >> >> and then do the snmpwalk, it all works. >> It looks like the /etc/init.d/snmpd script doesn't look at the >> snmpd.conf file. >> How can I fix this? >> >> Debian 4.0 >> NET-SNMP version: 5.2.3 >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ Net-snmp-users mailing >> list Net-snmp-users@lists.sourceforge.net Please see the following page >> to unsubscribe or change other options: >> https://lists.sourceforge.net/lists/listinfo/net-snmp-users > -- > Brian A. Seklecki <[EMAIL PROTECTED]> > Collaborative Fusion, Inc. > > > > > IMPORTANT: This message contains confidential information and is intended > only for the individual named. If the reader of this message is not an > intended recipient (or the individual responsible for the delivery of this > message to an intended recipient), please be advised that any re-use, > dissemination, distribution or copying of this message is prohibited. > Please notify the sender immediately by e-mail if you have received this > e-mail by mistake and delete this e-mail from your system. > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users