snmpdemoapp: Timeout -- using net-snmp-5.5 compiled for linux

Immad Mir <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi all

I am trying to get the test application (from
http://www.net-snmp.org/wiki/index.php/TUT:Simple_Application#Net-SNMP_Command_Line_Applications)
to work. I have compiled the sourcecode without making any changes to it.
When I try to run it, I get the following timeout error

*colinux# ./snmpdemoapp
No log handling enabled - turning on stderr logging
snmpdemoapp: Timeout*

I then tried snmp walks and got the same error.
*
colinux# snmpwalk -v 2c -c demopublic test.net-snmp.org sysDescr
Timeout: No Response from test.net-snmp.org

colinux# snmpwalk -v 2c -c demopublic test.net-snmp.org sysDescr.0
Timeout: No Response from test.net-snmp.org*

Where should I start debugging from ? Can someone point me in the right
direction please. I cannot see any netsnmp log files probably because the
way library was installed.

..text from 'configure' is copied below

checking Location to write logfile...

*** Logfile location:

        Enter the default location for the snmpd agent to dump
information & errors to.  If not defined (enter the keyword "none"
at the prompt below) the agent will use stdout and stderr instead.
(Note: This value can be over-ridden using command line options.)
  Providing the --with-logfile="path" parameter to ./configure
will avoid this prompt.

Location to write logfile (/var/log/snmpd.log):
setting Location to write logfile to...  /var/log/snmpd.log
checking Location to write persistent information...

Many thanks
Immad.

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.