=?koi8-r?Q?Re[2]=3A_net-snmp_5.4.1_on_AIX,

This is a discussion on =?koi8-r?Q?Re[2]=3A_net-snmp_5.4.1_on_AIX, within the SNMP Coders forums, part of the Networking and Network Related category; Hello Thomas. 1. Crashed daemon doesn't produce any core file. find / -name 'core.*' /usr/include/core.h /usr/include/...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-09-2008
Alex Mikh
 
Posts: n/a
Default =?koi8-r?Q?Re[2]=3A_net-snmp_5.4.1_on_AIX,

Hello Thomas.

1.
Crashed daemon doesn't produce any core file.
find / -name 'core.*'
/usr/include/core.h
/usr/include/sys/core.h
/usr/share/man/info/EN_US/a_doc_lib/files/aixfiles/core.htm
/usr/java14/jre/lib/core.jar
/usr/idebug/jre/lib/core.jar
/usr/xlhelp/eclipse/jre/lib/core.jar
/usr/xlhelp/eclipse/plugins/org.eclipse.osgi_3.0.1/core.jar
/usr/SMruntime/jre/lib/core.jar

2. attach to a live process
Action log :
root@helios:net-snmp-5.4.1 #./libtool gdb /usr/local/sbin/snmpd
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require --mode=MODE be specified.
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "powerpc-ibm-aix5.1.0.0"...
(gdb) run -f -c /usr/local/etc/snmpd.conf -Lo -p /var/tmp/net-snmpd.pid helios:1161
Starting program: /usr/local/sbin/snmpd -f -c /usr/local/etc/snmpd.conf -Lo -p /var/tmp/net-snmpd.pid helios:1161
netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_subtree_load()
netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_subtree_load()
netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_subtree_load()
NET-SNMP version 5.4.1
c

>> Now in another console i'm starting:
>> root@helios:net-snmp-5.4.1 #/usr/local/bin/snmpget -c perekriostok -v 1 helios:1161 HOST-RESOURCES-MIB::hrStorageType.38
>>HOST-RESOURCES-MIB::hrStorageType.38 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
>>root@helios:net-snmp-5.4.1 #/usr/local/bin/snmpget -c perekriostok -v 1 helios:1161 HOST-RESOURCES-MIB::hrStorageType.39
>>Timeout: No Response from helios:1161.
>>root@helios:net-snmp-5.4.1 #
>>



Program received signal SIGSEGV, Segmentation fault.
0x0000d410 in ?? ()
(gdb) c
Continuing.

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb) bt full
No stack.
(gdb) bt
No stack.
(gdb) run -f -c /usr/local/etc/snmpd.conf -Lo -p /var/tmp/net-snmpd.pid helios:1161
Starting program: /usr/local/sbin/snmpd -f -c /usr/local/etc/snmpd.conf -Lo -p /var/tmp/net-snmpd.pid helios:1161
netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_subtree_load()
netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_subtree_load()
netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_subtree_load()
NET-SNMP version 5.4.1

>> again :
>> root@helios:net-snmp-5.4.1 #/usr/local/bin/snmpget -c perekriostok -v 1 helios:1161 HOST-RESOURCES-MIB::hrStorageType.38
>>HOST-RESOURCES-MIB::hrStorageType.38 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
>>root@helios:net-snmp-5.4.1 #/usr/local/bin/snmpget -c perekriostok -v 1 helios:1161 HOST-RESOURCES-MIB::hrStorageType.39
>>Timeout: No Response from helios:1161.
>>root@helios:net-snmp-5.4.1 #
>>


Program received signal SIGSEGV, Segmentation fault.
0x0000d410 in ?? ()
(gdb) bt full
#0 0x0000d410 in ?? ()
No symbol table info available.
(gdb) bt
#0 0x0000d410 in ?? ()
(gdb)

I think, address 0x0000d410 is a point to nowhere.
--
Best regards,
Alexander.


-------------------------------------------------------------------------
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;198757...un.com/javaone
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:58 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0