linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Can't start snmpd when adding notification handler to the configuration file
@ 2007-01-10 15:33 An Le Thien
  2007-01-11  1:19 ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: An Le Thien @ 2007-01-10 15:33 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 1234 bytes --]

Hi,

I have a problem when starting snmpd as following:

1. I have just downloaded net-snmp-5.0.6-17_2.src.rpm from
ftp://ftp.sunet.se/pub/Linux/distributions/eldk/3.1.1/ppc-linux-x86/sources/target/SRPMS/

2. I used ELDK3.1.1 to build it and install to ramdisk that is used for
TQM8xxL (Using kernel 2.6.11)

3. I used the default configuration (EXAMPLE.conf). When I started snmpd,
the snmpd was started normally.

4. But when I add "trapsink 192.168.1.15 public" to the configuration file.
I can't start snmpd. The following is the configuration file and a log file:

a.  /etc/snmp/snmpd.conf

trapsink 192.168.1.15 public
com2sec local     localhost       public
com2sec mynetwork 192.168.1.0/24      public
......

b. /var/log/snmpd.log

.....
snmp_clean_persistent:  removing old config file: /var/net-snmp/snmpd.0.conf
trace: snmp_call_callbacks(): callback.c, 99
callback: START calling callbacks for maj=1 min=7
trace: snmp_call_callbacks(): callback.c, 107
callback: calling a callback for maj=1 min=7
trace: send_notifications(): notification/snmpNotifyTable.c, 95
send_notifications: starting: pdu=1009abe8, vars=7fffe37c
segmentation faults


Could you give some comments to fix this problem?

Thanks in advance.

An Le.

[-- Attachment #2: Type: text/html, Size: 1659 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-01-11  2:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-10 15:33 Can't start snmpd when adding notification handler to the configuration file An Le Thien
2007-01-11  1:19 ` Wolfgang Denk
2007-01-11  2:04   ` An Le Thien

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).