snmpd with -D seg faults

This is a discussion on snmpd with -D seg faults within the SNMP Users forums, part of the Networking and Network Related category; I am trying to debug snmpd on Solaris 8 and have run into some snags. snmpd runs fine in the ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-14-2006
Kyle Tucker
 
Posts: n/a
Default snmpd with -D seg faults

I am trying to debug snmpd on Solaris 8 and have run into
some snags. snmpd runs fine in the background, with just a
-p arg. If I try -D, it just dies.

# snmpd -DALL -L /var/log/snmpd.log
trace: main(): snmpd.c, 823:
snmpd/main: optind 3, argc 4
trace: netsnmp_ds_set_string(): default_store.c, 283:
netsnmp_ds_set_string: Setting APP:2 = "/var/log/snmpd.log"
trace: main(): snmpd.c, 844:
snmpd/main: port spec: /var/log/snmpd.log
trace: netsnmp_ds_set_boolean(): default_store.c, 205:
netsnmp_ds_set_boolean: Setting APP:1 = 0/False
daemonize: deamonizing...
daemonize: child continuing
trace: netsnmp_ds_set_boolean(): default_store.c, 205:
netsnmp_ds_set_boolean: Setting LIB:11 = 1/True
trace: netsnmp_ds_set_boolean(): default_store.c, 205:
netsnmp_ds_set_boolean: Setting APP:1 = 0/False
trace: netsnmp_register_handler(): agent_handler.c, 212:
handler::register: Registering (::null) at .0
trace: netsnmp_inject_handler_before(): agent_handler.c, 337:
handler:inject: injecting bulk_to_next before null
trace: netsnmp_register_mib(): agent_registry.c, 587:
register_mib: registering "" at .0daemonize: first fork returned 88.
daemonize: parent exiting

If I give tell it to not fork, I get a seg fault.

# snmpd -DALL -f
Segmentation Fault(coredump)
# snmpd -DALL -f -L
trace: netsnmp_ds_set_boolean(): default_store.c, 205:
netsnmp_ds_set_boolean: Setting APP:1 = 0/False
trace: netsnmp_ds_set_boolean(): default_store.c, 205:
netsnmp_ds_set_boolean: Setting LIB:11 = 1/True
trace: netsnmp_ds_set_boolean(): default_store.c, 205:
netsnmp_ds_set_boolean: Setting APP:1 = 0/False
trace: netsnmp_register_handler(): agent_handler.c, 212:
handler::register: Registering (::null) at .0
trace: netsnmp_inject_handler_before(): agent_handler.c, 337:
handler:inject: injecting bulk_to_next before null
trace: netsnmp_register_mib(): agent_registry.c, 587:
register_mib: registering "" at .0Segmentation Fault(coredump)

Any thoughts?

--
- Kyle
---------------------------------------------
kylet@panix.com http://www.panix.com/~kylet
---------------------------------------------


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=...486&dat=121642
_______________________________________________
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/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB 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 11:59 AM.


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