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 : [EMAIL PROTECTED]: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: >> [EMAIL PROTECTED]: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 >>[EMAIL PROTECTED]: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. >>[EMAIL PROTECTED]: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 : >> [EMAIL PROTECTED]: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 >>[EMAIL PROTECTED]: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. >>[EMAIL PROTECTED]: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;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
