NET-SNMP: Timeout: No Response from 127.0.0.1.
I have a strange issue:
net-snmp 5.3.1 on a RH Linux 2.6.18-8.el5PAE i686 i686 i386 GNU/Linux
net-snmp 5.4.1 on a Ubuntu Hardy 2.6.24-16-generic x86_64 GNU/Linux
once configured a community called root-community and started the service (service snmpd start) both installations act the same:
#snmpget -v 2c -c root-community 127.0.0.1 SNMPv2-MIB::sysUpTime.0
Timeout: No Response from 127.0.0.1.
in snmpd.log I can see that snmpd receives requests each time:
Connection from UDP: [XXX.XXX.XXX.XXX]:XXXXX
using "ps aux" i can see that snmpd is started with this line:
/usr/sbin/snmpd -Lsd -Lf /var/log/snmp.log -p /var/run/snmpd -a
Stopping that service, when I tryied to start it directly from command line:
#/usr/sbin/snmpd -Lsd -Lf /var/log/snmp.log -p /var/run/snmpd -a
I get response! Every snmpget request is served!
What is happening there?