Re: net-snmp trouble
On Tue, Jun 24, 2003 at 11:40:13AM +0900, Tsuyoshi Takada wrote: - Which redhat version are you using? I am using RedHat-8.0. Ok. I used SNMP with RH8 without any problems for quite some time (until I upgraded to RH9). - Did you try the SNMP package shiped with the OS? Yes. But #snmpwalk -v1 localhost -c community results in snmpwalk: Failure in sendto (Permission denied) #snmpwalk -v1 addr -c community results in Timeout: No Response from 192.168.1.107 Why? My first (and only) guess here is a configuration trouble. As I said before, I used net-snmp with RH8 without a glitch. Please send your snmpd.conf file (remove community names) so I can have a look at it. Cheers, -- Javier Gostling D. [EMAIL PROTECTED] -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: net-snmp trouble
#snmpwalk -v1 localhost -c community results in snmpwalk: Failure in sendto (Permission denied) It seems like your snmpd is not running or is not listening on the internal interface (lo). Please try service snmpd status or ps ax | grep snmpd. You should get something like this: # ps ax | grep snmpd 647 ?S 0:03 /usr/sbin/snmpd -s -l /dev/null -P /var/run/snmpd -a Or did you have installed iptables or another firewall? Gruß Jens -- registered linux user #130250 -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: net-snmp trouble
On Tue, 24 Jun 2003, Tsuyoshi Takada wrote: Hi! Give some more specific info on your setup so we can help you. - Which redhat version are you using? I am using RedHat-8.0. - Did you try the SNMP package shiped with the OS? Yes. But #snmpwalk -v1 localhost -c community results in snmpwalk: Failure in sendto (Permission denied) Well snmpwalk -h says the -c is a set process. An unlikely thing to do with snmpwalk. Try the following: snampwalk -v1 hostname communitystring , example snmpwalk -v1 192.168.1.107 public #snmpwalk -v1 addr -c community results in Timeout: No Response from 192.168.1.107 Why? -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: net-snmp trouble
Is there anyone who help me...?(;_;) -- Tsuyoshi Takada [EMAIL PROTECTED] -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: net-snmp trouble
On Mon, Jun 23, 2003 at 06:47:48AM +0900, Tsuyoshi Takada wrote: [Snip SNMP woes] Give some more specific info on your setup so we can help you. - Which redhat version are you using? - Did you try the SNMP package shiped with the OS? - Is there any problem with said SNMP package? Cheers, -- Javier Gostling D. [EMAIL PROTECTED] -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: net-snmp trouble
Hi! Give some more specific info on your setup so we can help you. - Which redhat version are you using? I am using RedHat-8.0. - Did you try the SNMP package shiped with the OS? Yes. But #snmpwalk -v1 localhost -c community results in snmpwalk: Failure in sendto (Permission denied) #snmpwalk -v1 addr -c community results in Timeout: No Response from 192.168.1.107 Why? -- Tsuyoshi Takada [EMAIL PROTECTED] -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
net-snmp trouble
Hi, I downloaded net-snmp-5.0.8.tar.gz and executed the following. %tar zxfv net-snmp*.tar.gz %./configure %make %su #make test but many tests fail. 1:testing SNMPv1 support...FAIL 2:testing SNMPv2c get of system.sysUpTime.0...FAIL 3:testing SNMPv2c getnext of system.sysUpTime...FAIL 4:testing SNMPv2 bulkget of system components...FAIL 5:testing for failure of SNMPv2c get with wrong community...FAIL 6:testing for failure of SNMPv2c get against SNMPv1 agent...FAIL 7:testing for failure of SNMPv1 get against SNMPv2c agent...FAIL 8:testing SNMPv2c get of system.sysUpTime.1...FAIL 9:testing SNMPv3 get using initial of .1.3.6.1.2.1.1.3.0...FAIL 10:testing SNMPv3 getnext using initial of .1.3.6.1.2.1.1.3.0...FAIL 11:testing SNMPv3 bulkget of system...FAIL 12:testing SNMPv3 get using initial/MD5 of .1.3.6.1.2.1.1.3.0...FAIL 13:testing SNMPv3 get using initial/MD5DES of .1.3.6.1.2.1.1.3.0...FAIL 14:testing SNMPv3 get using templateSHA/SHA of .1.3.6.1.2.1.1.3.0...FAIL 15:testing SNMPv3 get using templateSHA/MD5DES of .1.3.6.1.2.1.1.3.0...FAIL 16:testing for failure of SNMPv3 get using unknown userFAIL 17:testing SNMPv3 user creation and usage using snmpusm...FAIL 18:testing SNMPv3 informs received and sent by tools...FAIL 19:testing SNMPv3 traps received and sent by tools...FAIL 20:testing SNMPv2c traps received and sent by tools...FAIL 21:testing SNMPv2c informs received and sent by tools...FAIL 22:testing snmpv1 traps are sent by snmpd API...SKIPPED 23:testing snmpv2c traps are sent by snmpd API...SKIPPED 24:testing snmpv1 traps are sent by snmpd without notifcation mib support...SKIPPED 25:testing snmpv2c traps are sent by snmpd without notifcation mib support...SKIPPED 26:testing authentication failure traps are sent by snmpd...ok 27:testing that the agent responds properly to a kill -HUP...FAIL 28:testing AgentX GET support...ok 29:testing AgentX SET support...ok 30:testing AgentX illegal SET handling support...ok 31:testing AgentX trap sending support...SKIPPED 32:testing Proxy GET support...ok 33:testing Proxy SET support...ok 34:testing Proxy illegal SET handling support...ok Summary: 12 / 34 succeeded. my environment is Linux kernel-2.4.20 perl-5.6.1 Before I reinstalled Linux, all make tests had suceeded. And, #cd perl/SNMP #make Makefile.PL #make #make test fails at all. Failed 10/10 test scripts, 0.00% okay. 168/168 subtests failed, 0.00% okay. Why? -- Tsuyoshi Takada [EMAIL PROTECTED] -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list