5.4.1 core dumps on Solaris 9/SPARC

2007-09-05 Thread Joe Gainey
5.4.1 is regularly crashing on me on Solaris 9/SPARC systems:

(gdb) where
#0  0xff13451c in strlen () from /usr/lib/libc.so.1
#1  0xff186f88 in _doprnt () from /usr/lib/libc.so.1
#2  0xff188ff8 in vsnprintf () from /usr/lib/libc.so.1
#3  0x001077c4 in snmp_vlog (priority=7, format=0x152de8 " %s matched\n", 
ap=0xffbff1b4) at snmp_logging.c:1199
#4  0x00104d4c in debugmsg (token=0x0, format=0x152de8 " %s matched\n") at 
snmp_debug.c:331
#5  0x000ff8b8 in netsnmp_view_subtree_check (head=0x152c00, viewName=0x152c00 
"d: %s\n", viewSubtree=0x1eac90, viewSubtreeLen=1) at vacm.c:658
#6  0x00056e38 in vacm_check_view (pdu=0x2ac638, name=0x1eac90, namelen=1, 
check_subtree=1, viewtype=3137248) at mibgroup/mibII/vacm_conf.c:1444
#7  0x00056bb8 in vacm_in_view_callback (majorID=1, minorID=12, 
serverarg=0xffbff3e8, clientarg=0x0) at mibgroup/mibII/vacm_conf.c:1158
#8  0x0010ba7c in snmp_call_callbacks (major=1, minor=12, 
caller_arg=0xffbff3e8) at callback.c:329
#9  0x0003ab78 in netsnmp_acm_check_subtree (pdu=0x1, name=0x1eac90, namelen=1) 
at agent_registry.c:1319
#10 0x000358e0 in netsnmp_add_varbind_to_cache (asp=0x3156d8, vbcount=1, 
varbind_ptr=0x315728, tp=0x1ece38) at snmp_agent.c:1887
#11 0x00035cc0 in netsnmp_create_subtree_cache (asp=0x3156d8) at 
snmp_agent.c:2316
#12 0x00037878 in handle_pdu (asp=0x3156d8) at snmp_agent.c:3257
#13 0x00037358 in netsnmp_handle_request (asp=0x3156d8, status=0) at 
snmp_agent.c:3118
#14 0x00035198 in handle_snmp_packet (op=1, session=0x304ad8, reqid=657486211, 
pdu=0x2adb08, magic=0x124400) at snmp_agent.c:1852
#15 0x000f21b4 in _sess_process_packet (sessp=0x3033d0, sp=0x304ad8, 
isp=0x2f6ad8, transport=0x2db5d0, opaque=0x0, olength=2808584,
packetptr=0x305270 
"0*\002\001\001\004\nautotrader¡\031\002\004'0q\203\002\001", length=44) at 
snmp_api.c:5356
#16 0x000f2db0 in _sess_read (sessp=0x3033d0, fdset=0x305270) at snmp_api.c:5772
#17 0x000f3358 in snmp_sess_read (sessp=0x3033d0, fdset=0x305270) at 
snmp_api.c:5791
#18 0x000f2554 in snmp_read (fdset=0xffbff990) at snmp_api.c:5408
#19 0x00032660 in receive () at snmpd.c:1180
#20 0x0003175c in main (argc=6, argv=0xffbffb84) at snmpd.c:1017





   

Sick sense of humor? Visit Yahoo! TV's 
Comedy with an Edge to see what's on, when. 
http://tv.yahoo.com/collections/222-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
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


IF-MIB Solaris 9/SPARC

2007-07-30 Thread Joe Gainey
I've seen one other post on here regarding this.  I have compiled and installed 
version 5.4 of the net-snmp package on a Solaris 9/SPARC system.  Here are the 
options used to when running the configure script:

--with-perl-modules=no \
--disable-embedded-perl \
--disable-shared \
--enable-mfd-rewrites \
--with-default-snmp-version=2 \
--with-sys-contact="Unknown" \
--with-sys-location="Undefined" \
--with-logfile=/var/snmp/log/snmpd.log \
--with-persistent-directory=/var/snmp/private \
--with-mib-modules="if-mib agentx ucd_snmp mibII" --with-ldflags="-Bstatic"

What I have been bumping my head against for too long now is that an snmpwalk 
of the interfaces oid only returns information about the loopback interface.  I 
have boxes with three types of interfaces:  bge, eri, and dmfe

None of these are reporting under net-snmp.  Does anyone know what I am doing 
incorrectly?  I would really like net-snmp to be able to discover the 
interfaces like it has in the past.  Having to hand configure the interface 
name type speed etc. on literally hundreds of boxes is not my idea of a good 
time.


Thanks in advance,

Joe




   
Ready
 for the edge of your seat? 
Check out tonight's top picks on Yahoo! TV. 
http://tv.yahoo.com/-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
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