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.