Re: make test - snmpwalk failure on hpux 11.31 ia64
Cath Fawcet <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi again Just following up on this.. does anyone know of a successful implementation on hpux 11.31? If so, that rules out my theory that this is totally OS related. Thanks Cath Fawcet wrote: > Maybe I'm not doing this right, but with the hp-ux version of gdb I > did the following: > > .bash-3.2# /usr/local/sbin/snmpd -c /usr/local/bin/snmpd.conf > .bash-3.2# ps -ef | grep snmp > root 14397 1 0 16:58:14 ? 0:01 /usr/local/sbin/snmpd > -c /usr/local/bin/snmpd.conf > .bash-3.2# /opt/langtools/bin/gdb /usr/local/sbin/snmpd 14397 > HP gdb 5.8 for HP Itanium (32 or 64 bit) and target HP-UX 11.2x. > Copyright 1986 - 2001 Free Software Foundation, Inc. > Hewlett-Packard Wildebeest 5.8 (based on GDB) is covered by the > GNU General Public License. Type "show copying" to see the conditions to > change it and/or distribute copies. Type "show warranty" for > warranty/support. > .. > Attaching to program: /usr/local/sbin/snmpd, process 14397 > > warning: No unwind information found. > Skipping this library /usr/lib/hpux32/libcl.so.1. > > 0x60000000c03f4410:0 in _select_sys+0x30 () from > /usr/lib/hpux32/libc.so.1 > (gdb) bt > #0 0x60000000c03f4410:0 in _select_sys+0x30 () from > /usr/lib/hpux32/libc.so.1 > #1 0x60000000c040a660:0 in select+0xe0 () from /usr/lib/hpux32/libc.so.1 > #2 0x4004f00:0 in main (argc=<not available>, argv=<not available>) > at snmpd.c:1147 > (gdb) run /usr/local/bin/snmpwalk -v 1 -c public localhost > The program being debugged has been started already. > Start it from the beginning? (y or n) y > > Starting program: /usr/local/sbin/snmpd /usr/local/bin/snmpwalk -v 1 > -c public localhost > [New process 14424] > warning: reading register 584: No such process > Detaching after fork from process 14424 > > Program exited normally. > (gdb) bt > No stack. > > Apparently the process being killed by snmpwalk is 'exiting normally'. > > > However, snmpwalk works successfully for any other server, only fails > for localhost (incl. using servername of localhost), unless it is run > through gdb in which case it kills the snmpd process just the same as > above. This makes me wonder (a) if I'm using gdb right and (b) if this > is OS related - the other servers tested have the following: HP-UX > 11.11 pa risc, 11.23 itanium, and Solaris 8 sparc. > > Running it outside gdb, this is the output: > .bash-3.2# snmpwalk -v 1 -c public localhost > SNMPv2-MIB::sysDescr.0 = STRING: HP-UX <servername> B.11.31 U ia64 > SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.14 > ... > <snip> > ... > IP-MIB::ipAdEntBcastAddr.127.0.0.1 = INTEGER: 1 > IP-MIB::ipAdEntReasmMaxSize.10.162.128.81 = INTEGER: 65535 > IP-MIB::ipAdEntReasmMaxSize.127.0.0.1 = INTEGER: 65535 > Timeout: No Response from localhost > > > > Hope this isn't info overkill! > Thanks, > Cath > > > Thomas Anders wrote: > >> Cath Fawcet wrote: >> >> >>> Tried installing it anyway (just to see how bad things are) and on >>> running snmpwalk, snmpd dies. >>> >> >> >> Could you get us a backtrace, please? See >> http://www.net-snmp.org/wiki/index.php/Debugger for details. >> >> >> +Thomas >> >> ------------------------------------------------------------------------- >> >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to save >> $100. Use priority code J8TL2D2. >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >> >> _______________________________________________ >> 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 >> >> >> > ------------------------------- This email message and any attachment(s) is intended only for the person(s) or entity(entities) to whom it is addressed. The information it contains may be classified as IN CONFIDENCE and may be legally privileged. If you are not the intended recipient any use, disclosure or copying of the message or attachment(s) is strictly prohibited. If you have received this message in error please notify us immediately and destroy it and any attachment(s). Thank you. The Ministry of Social Development accepts no responsibility for changes made to this message or to any attachment(s) after transmission from the Ministry. ------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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