Re: Timeout errors on HP-UX 11.11

Albert Chin <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Fri, Oct 20, 2006 at 03:44:18PM -0500, Albert Chin wrote:
> Where should I look?

One problem I'm seeing is that in find_tree_node() from
snmplib/parse.c:
    headtp = tbuckets[NBUCKET(name_hash(name))];
    for (tp = headtp; tp; tp = tp->next) {

I added the following after the for loop:
      if (tp->label)
        printf ("find_tree_node tp->label=:%s:\n", tp->label);

On HP-UX 11.11, nothing gets printed. HP-UX 11.00 prints out:
  find_tree_node tp->label=:joint-iso-ccitt:
  find_tree_node tp->label=:ccitt:
  find_tree_node tp->label=:iso:
  find_tree_node tp->label=:joint-iso-ccitt:
  find_tree_node tp->label=:mib-2:
  find_tree_node tp->label=:ccitt:
  find_tree_node tp->label=:iso:
  find_tree_node tp->label=:mib-2:
  ...

It doesn't seem like, on 11.11, anything under $prefix/share/snmp/mibs
is getting read. Running snmpd on 11.11 through tusc (HP-UX strace
equivalent), I get:
  stat("${HOME}/.snmp/mibs/.index", 0x7eff0dec) ............ ERR#2 ENOENT
  stat("${HOME}/.snmp/mibs", 0x7eff0fd0) ................... ERR#2 ENOENT
  stat("/opt/TWWfsw/netsnmp53/share/mibs/.index", 0x7eff0dec) = 0
  stat("/opt/TWWfsw/netsnmp53/share/mibs", 0x7eff0d84) ..... = 0
  open("/opt/TWWfsw/netsnmp53/share/mibs/.index", O_RDONLY, 0666) = 5

I don't see this on 11.11.

-- 
albert chin ([email protected])

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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.