From: tran vanle <vantranbk@yahoo•com.au>
To: linuxppc-embedded@ozlabs•org
Subject: Segmentation fault when start net-snmp
Date: Sat, 27 Jan 2007 21:39:51 +1100 (EST) [thread overview]
Message-ID: <511175.70768.qm@web33008.mail.mud.yahoo.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1933 bytes --]
Hi all
I use board TQM8xxL , kernel 2.6.11.7 with Marcelo Tosatti patch and Ramdisk in ELDK 4.0.
I only rebuild net-snmp-5.2.1.2-1_1.src.rpm package (rebuild , not edit any thing)
If I run snmpd with basic configuration
//smnpd.conf
####################
syslocation TQM8xxL
sysservices 79
syscontact VCS
####################
It run OK
But when I want to use trapsink like (edit snmpd.conf):
//snmpd.conf
####################################
syslocation TQM8xxL
sysservices 79
syscontact VCS
# authtrapenable: Should we send traps when authentication failures occur
# arguments: 1 | 2 (1 = yes, 2 = no)
authtrapenable 1
# trapcommunity: Default trap sink community to use
# arguments: community-string
trapcommunity abc
# trapsink: A SNMPv1 trap receiver
# arguments: host [community] [portnum]
trapsink 192.168.1.7
# informsink: A SNMPv2c inform (acknowledged trap) receiver
# arguments: host [community] [portnum]
informsink 192.168.1.15
# trap2sink: A SNMPv2c trap receiver
# arguments: host [community] [portnum]
trap2sink 192.168.1.7
####################################
I run snmpd with debug , I receive
.......
......
snmp_clean_persistent: removing old config file: /var/net-snmp/snmpd.0.conf
trace: netsnmp_send_traps(): agent_trap.c, 616:
trap: send_trap 0 0 NET-SNMP-MIB::netSnmpAgentOIDs.10trace: netsnmp_send_traps(): agent_trap.c, 618:
trap:
trace: snmp_call_callbacks(): callback.c, 209:
callback: START calling callbacks for maj=1 min=6
trace: snmp_call_callbacks(): callback.c, 223:
callback: calling a callback for maj=1 min=6
trace: send_notifications(): notification/snmpNotifyTable.c, 95:
send_notifications: starting: pdu=8086740, vars=0
Segmentation fault
What error I had and How can I fix it?
Is
net-snmp-5.2.1.2-1_1 package in ELDK 4.0 do not support trapsink?
Does anyone have a patch?
Thanks for all
Send instant messages to your online friends http://au.messenger.yahoo.com
[-- Attachment #2: Type: text/html, Size: 2180 bytes --]
reply other threads:[~2007-01-27 10:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=511175.70768.qm@web33008.mail.mud.yahoo.com \
--to=vantranbk@yahoo$(echo .)com.au \
--cc=linuxppc-embedded@ozlabs$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox