Menu

#1047 5.1.1 snmpd hangs on AIX 5.2, tcpip data missing

closed
agent (1105)
5
2012-11-08
2004-03-26
Peter Eckel
No

I built snmp using

./configure --with-default-snmp-version=3 \ --with-sys-contact="<contact>" \ --with-sys-location="<location>" \ --with-logfile=/var/log/snmpd.log \ --with-persistent-directory=/var/net-snmp \ --with-openssl=/usr/local/lib \ --with-perl-modules \ --disable-shared

OS version is 5.2.0.0.2 with gcc-3.3.3, build seemed to run successfully. No unusual error messages, make went fine after applying the double-quote fix in include/net-snmp/net-snmp-config.h. Command line tools seem to work fine as well.

After starting snmpd, I get the following messages in snmpd.log:

nlist err: neither tcpstat nor _tcpstat found.
nlist err: neither tcb nor _tcb found.
nlist err: neither icmpstat nor _icmpstat found.
nlist err: neither ipstat nor _ipstat found.
nlist err: neither ipforwarding nor _ipforwarding found.
nlist err: neither tcpDefaultTTL nor _tcpDefaultTTL found.
nlist err: neither udpstat nor _udpstat found.
nlist err: neither udb nor _udb found.
nlist err: neither rt_table nor _rt_table found.
nlist err: neither rthashsize nor _rthashsize found.
nlist err: neither rthost nor _rthost found.
nlist err: neither rtnet nor _rtnet found.
NET-SNMP version 5.1.1
nlist err: neither ifnet nor _ifnet found.
nlist err: neither in_ifaddr nor _in_ifaddr found.

"snmpwalk -v1 -cpublic localhost .1" hangs when it is trying to get the interface counters:

SNMPv2-MIB::sysDescr.0 = STRING: AIX mephisto 2 5 00407C8A4C00
SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.255
SNMPv2-MIB::sysUpTime.0 = Timeticks: (18768) 0:03:07.68
SNMPv2-MIB::sysContact.0 = STRING: <contact>
SNMPv2-MIB::sysName.0 = STRING: mephisto.intern.hindenburgring.com
SNMPv2-MIB::sysLocation.0 = STRING: <location>
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (193) 0:00:01.93
SNMPv2-MIB::sysORID.1 = OID: IF-MIB::ifMIB
SNMPv2-MIB::sysORID.2 = OID: SNMPv2-MIB::snmpMIB
SNMPv2-MIB::sysORID.3 = OID: TCP-MIB::tcpMIB
SNMPv2-MIB::sysORID.4 = OID: IP-MIB::ip
SNMPv2-MIB::sysORID.5 = OID: UDP-MIB::udpMIB
SNMPv2-MIB::sysORID.6 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup
SNMPv2-MIB::sysORID.7 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance
SNMPv2-MIB::sysORID.8 = OID: SNMP-MPD-MIB::snmpMPDCompliance
SNMPv2-MIB::sysORID.9 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance
SNMPv2-MIB::sysORDescr.1 = STRING: The MIB module to describe generic objects for network interface sub-layers
SNMPv2-MIB::sysORDescr.2 = STRING: The MIB module for SNMPv2 entities
SNMPv2-MIB::sysORDescr.3 = STRING: The MIB module for managing TCP implementations
SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for managing IP and ICMP implementations
SNMPv2-MIB::sysORDescr.5 = STRING: The MIB module for managing UDP implementations
SNMPv2-MIB::sysORDescr.6 = STRING: View-based Access Control Model for SNMP.
SNMPv2-MIB::sysORDescr.7 = STRING: The SNMP Management Architecture MIB.
SNMPv2-MIB::sysORDescr.8 = STRING: The MIB for Message Processing and Dispatching.
SNMPv2-MIB::sysORDescr.9 = STRING: The management information definitions for the SNMP User-based Security Model.
SNMPv2-MIB::sysORUpTime.1 = Timeticks: (5) 0:00:00.05
SNMPv2-MIB::sysORUpTime.2 = Timeticks: (5) 0:00:00.05
SNMPv2-MIB::sysORUpTime.3 = Timeticks: (5) 0:00:00.05
SNMPv2-MIB::sysORUpTime.4 = Timeticks: (76) 0:00:00.76
SNMPv2-MIB::sysORUpTime.5 = Timeticks: (146) 0:00:01.46
SNMPv2-MIB::sysORUpTime.6 = Timeticks: (191) 0:00:01.91
SNMPv2-MIB::sysORUpTime.7 = Timeticks: (193) 0:00:01.93
SNMPv2-MIB::sysORUpTime.8 = Timeticks: (193) 0:00:01.93
SNMPv2-MIB::sysORUpTime.9 = Timeticks: (193) 0:00:01.93
IF-MIB::ifNumber.0 = INTEGER: 0
Timeout: No Response from mephisto

After that, the snmpd uses 100% CPU and has to be killed.

It seems there is some problem getting network data from the OS.

Do you need more information (config log etc.)?

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Sorry - don't know how this dupe happened.

    Peter.

     
  • Mike Slifcak

    Mike Slifcak - 2004-03-30

    Logged In: YES
    user_id=88697

    submitter accidentally entered this twice.
    Ths bug is closed, duplicate of bug #924091

     

Log in to post a comment.