Re: SNMPD ended up in an endless loop processing GETNEXT
"Raymond Pau" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <001201c7c80b$e3d23c70$c401a8c0@cs0505320> |
Hi Dave, You are right, I started up the agent with full debug option (i.e. -Dall) as I am new to net-snmp and does not really know which option to start watching. I agree on the information overflooding part. Content of the snmpd.conf is as follows: rwcommunity p rocommunity p syslocation "InnoMedia Videophone" sysservices 0 syscontact "none" authtrapenable 2 trapcommunity public trap2sink 192.168.2.5 com2sec public default public Output of the command you recommended is as follows: # ./snmpd -f -Le Encryption support not enabled. /usr/local/etc/snmp/snmpd.conf: line 1: Warning: Unknown token: rwcommunity. /usr/local/etc/snmp/snmpd.conf: line 2: Warning: Unknown token: rocommunity. Encryption support not enabled. Encryption support not enabled. SNMP listening socket fd = 6 NET-SNMP version 5.1.3 Thank you for your kind support. BTW, the agent "hang" again when I was gathering the output above. Raymond Pau ----- Original Message ----- From: "Dave Shield" <[email protected]> To: <[email protected]> Cc: <[email protected]> Sent: Monday, July 16, 2007 6:14 PM Subject: Re: SNMPD ended up in an endless loop processing GETNEXT > On 12/07/07, Raymond Pau <[email protected]> wrote: >> I just took over a custom snmpd running on embedded linux based on >> net-snmp >> version 5.1.3. >> >> I'm having 2 problems: >> 1. Daemon does not seems to be loading any MIBs module at all; >> 2. Daemon entered an endless loop when processing GETNEXT packet; >> >> Can someone please point me in the right direction to troubleshoot the >> problem. > > That log looks as if the agent is being run with full debugging turned on. > This is probably not a good idea, as it typically provides too much > information, > and it's difficult to spot the important messages. > > How is the agent started up? > > If you can start it using the command > > snmpd -f -Le > > that might provide some useful information. > > Is there a file 'snmpd.conf' on the system? > If so, what does it contain? > > Dave ------------------------------------------------------------------------- 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 [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users