snmpd dies after requests with snmpwalk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
net-snmp (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Hardy |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Hi,
I'm using Ubuntu 8.04 (up-to-date) and have the service snmpd running on it. The problem is, when I'm trying to snmpwalk the server (eg. in a while - loop, every 5 seconds), then after max 5 minutes snmpd dies. The package-version is 5.4.1~dfsg-
/var/log/messages says:
==================
... kernel: [ 4167.266281] snmpd[6485] trap divide error rip:7f2ed9c32c2c rsp:7fffe25cd3d0 error:0
I'm using snmpwalk as follows:
=======
snmpwalk -v2c -c test_server 162.23.61.160
My /etc/default/snmpd is:
==================
# This file controls the activity of snmpd and snmptrapd
# MIB directories. /usr/share/
# including it here avoids some strange problems.
export MIBDIRS=
# snmpd control (yes means start daemon).
SNMPDRUN=yes
# snmpd options (use syslog, close stdin/out/err).
SNMPDOPTS='-LS 0-4 d -Lf /dev/null -u snmp -p /var/run/snmpd.pid'
# snmptrapd control (yes means start daemon). As of net-snmp version
# 5.0, master agentx support must be enabled in snmpd before snmptrapd
# can be run. See snmpd.conf(5) for how to do this.
TRAPDRUN=no
# snmptrapd options (use syslog).
TRAPDOPTS='-Lsd -p /var/run/
# create symlink on Debian legacy location to official RFC path
SNMPDCOMPAT=yes
My /etc/snmp/
=======
view all included .1 80
view system included .iso.org.
syslocation ServerRoot (configure /etc/snmp/
syscontact Root <root@localhost> (configure /etc/snmp/
rocommunity public 127.0.0.1
rocommunity test_server 192.168.44.0/23
rocommunity test_server 162.23.61.0/24
On the client server, where I run a script, that repeats snmpwalk every 5 seconds , the error occurs (if it occurs) always at the same place:
=======
...
HOST-RESOURCES-
HOST-RESOURCES-
HOST-RESOURCES-
HOST-RESOURCES-
HOST-RESOURCES-
HOST-RESOURCES-
HOST-RESOURCES-
HOST-RESOURCES-
HOST-RESOURCES-
HOST-RESOURCES-
HOST-RESOURCES-
HOST-RESOURCES-
Timeout: No Response from 162.23.61.160
Timeout: No Response from 162.23.61.160
Timeout: No Response from 162.23.61.160
visibility: | private → public |
Changed in net-snmp (Ubuntu Hardy): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Could somebody please help? This really looks like a bug, because I almost use the default configuration for snmpd.
Thank you