X.X.12.196 has a valid reverse map.
Ideas?
Here is the gdb backtrace:
#0 0xfeba2d50 in strlen () from /lib/libc.so.1
#1 0xfec0f4a0 in _ndoprnt () from /lib/libc.so.1
#2 0xfec11c44 in vsnprintf () from /lib/libc.so.1
#3 0xff0bf0f4 in snmp_vlog (priority=7, format=0xff0eeff0 "looking up
%s:%s\n", ap=0xffbfdbe4)
at snmp_logging.c:1371
#4 0xff0bc704 in debugmsg (token=0xff0eefe0 "dns:getaddrinfo",
format=0xff0eeff0 "looking up %s:%s\n")
at snmp_debug.c:252
#5 0xff0b33ec in netsnmp_getaddrinfo (name=0x255ec8 "X.X.12.196", service=0x0,
hints=0xffbfdca0,
res=0xffbfdc9c) at system.c:826
#6 0xff0b3580 in netsnmp_gethostbyname_v4 (name=0x255ec8 "X.X.12.196",
addr_out=0xffbfddb4) at system.c:752
#7 0xff0d0ae8 in netsnmp_sockaddr_in2 (addr=0xffbfddb0, inpeername=0x255ec8
"X.X.12.196",
default_target=0x255ec8 "10.140.12.196") at
transports/snmpIPv4BaseDomain.c:160
#8 0xff0d1c98 in netsnmp_udp_create_tstring (str=0xffbff169 "10.140.12.196",
local=2449096,
default_target=0x299e0 ":162") at transports/snmpUDPDomain.c:481
#9 0xff0ce1e4 in netsnmp_tdomain_transport_full (application=0xff33b408
"snmptrap",
str=0xffbff169 "10.140.12.196", local=0, default_domain=0xff0f2f10 "%s():
%s, %d:\n", default_target=0x0)
at snmp_transport.c:642
#10 0xff310348 in create_trap_session2 (sink=0xffbff169 "10.140.12.196",
sinkport=0x0, com=0xff0f3050 "tdomain",
version=0, pdutype=164) at agent_trap.c:253
#11 0xff311994 in snmpd_parse_config_trapsink (token=0xffbfed60 "trapsink",
cptr=0xffbff169 "X.X.12.196")
at agent_trap.c:290
#12 0xff0b87c0 in run_config_handler (lptr=0x26ef8, token=0xffbfed60 "trapsink",
cptr=0xffbff169 "X.X.12.196", when=0) at read_config.c:546
#13 0xff0b95ec in read_config (filename=0xffbff678
"/usr/local/share/snmp/snmpd.conf", line_handler=0x26eb8,
when=0) at read_config.c:944
#14 0xff0ba664 in read_config_files_in_path (path=0xffbff678
"/usr/local/share/snmp/snmpd.conf", ctmp=0x28730,
when=0, perspath=0x254498 "/var/net-snmp", persfile=0x0) at
read_config.c:1287
#15 0xff0ba98c in read_config_files_of_type (when=0, ctmp=0x28730) at
read_config.c:1370
#16 0xff0baa28 in read_config_files (when=0) at read_config.c:1411
#17 0xff0bb038 in read_configs () at read_config.c:1023
#18 0x00013158 in main (argc=3, argv=0xffbffc44) at snmpd.c:948
From: Taylor, Ben [mailto:ben.tay...@sap.com]
Sent: Tuesday, November 12, 2013 5:32 PM
To: net-snmp-users@lists.sourceforge.net
Subject: Solaris 10/SPARC error on 5.7.1 and 5.7.2
I am trying to debug an issue with 5.7.1/5.7.2 (already applied the
kernel_sunos5.c patch).
Starting snmpd -Dall, I see the following message in /var/log/snmpd.log before
it dies:
trace: netsnmp_getaddrinfo(): system.c, 825:
dns:getaddrinfo:
libc.so.1`strlen+0x50(ff09f4d0, ffbfe004, 25596d, 0, 0, 0)
libc.so.1`vsnprintf+0x6c(ffbfdb30, 400, ff09f4c0, ffbfdffc, 7ffffc00, ff0bf7c8)
libnetsnmp.so.30.0.2`snmp_vlog+0x20(7, ff09f4c0, ffbfdffc, ff063308, 1, 0)
libnetsnmp.so.30.0.2`debugmsg+0x30(ff09f4b0, ff09f4c0, 255960, 0, 339, 14a4)
libnetsnmp.so.30.0.2`netsnmp_getaddrinfo+0x14c(255960, 0, ffbfe0b8, ffbfe0b4,
0, 0)
libnetsnmp.so.30.0.2`netsnmp_gethostbyname_v4+0x50(255960, ffbfe1cc, 3235,
31302e31, 80808080, 1010101)
libnetsnmp.so.30.0.2`netsnmp_sockaddr_in2+0x524(ffbfe1c8, 255960, 255960,
ff0a4668, 29b30, 1fa4)
libnetsnmp.so.30.0.2`netsnmp_udp_create_tstring+0x10(203301, 0, 29b30, 203301,
0, ff0bf7cc)
libnetsnmp.so.30.0.2`netsnmp_tdomain_transport_full+0x3b8(ff0a3718, 203301,
ff0a35e8, ff0a35d8, 0, ff0a3830)
libnetsnmpagent.so.30.0.2`create_trap_session2+0xb8(203301, 0, ff33bb78, 0, a4,
0)
libnetsnmpagent.so.30.0.2`snmpd_parse_config_trapsink+0xb8(ffbff178, 203301,
203317, 203316, fec46c99, fec46c99
)
libnetsnmp.so.30.0.2`run_config_handler+0xe8(27048, ffbff178, 203301, 0,
2032f8, ff0bf7ac)
libnetsnmp.so.30.0.2`read_config+0x238(ffbff690, 27008, 0, ff09fb18, ff09fb10,
ffbff178)
libnetsnmp.so.30.0.2`read_config_files_in_path+0x4e4(ffbff690, 28880, 0,
2554e0, 0, 2554e0)
libnetsnmp.so.30.0.2`read_config_files_of_type+0xd8(0, 28880, ffbff8fc,
ff0bf7b4, 1818, 2c88)
libnetsnmp.so.30.0.2`read_config_files+0x44(ffffffff, ff0a0930, ff0a0920,
ff09fb28, 41b, 17f4)
libnetsnmp.so.30.0.2`read_configs+0x88(0, 0, 0, 0, 159b9, 159b8)
main+0xbdc(3, ffbffc54, ffbffc64, 0, ffffffff, 0)
_start+0x5c(0, 0, 0, 0, 0, 0)
I'm rebuilding with develop-enabled.
Ideas?
Ben
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users