[Pkg-net-snmp-devel] Bug#475366: snmpd silently fails to start if no interface specified on commandline
Olivier Berger
olivier.berger at it-sudparis.eu
Thu Apr 10 11:38:12 UTC 2008
Package: snmpd
Version: 5.4.1~dfsg-6
Severity: normal
Reading the man snmpd, I'm tempted to believe snmpd will detect interfaces to listen on if started without an explicit interface in arguments :
" By default, snmpd listens for incoming SNMP requests on UDP port 161 on all IPv4 interfaces. However, it is possible to modify this behaviour by specifying one or
more listening addresses as arguments to snmpd."
However, if started manually (or without 127.0.0.1 last argument in /etc/default/snmpd) it will abort, and return 0. As a consequence, the /etc/init.d/snmpd script returns as if nothing was wrong...
Still, the syslog contains :
Apr 10 13:32:18 kilauea snmpd[21788]: Error opening specified endpoint ""
Apr 10 13:32:18 kilauea snmpd[21788]: Server Exiting with code 1
Eithere there's something wrong with the manual, or with the return code... or both.
Thanks in advance.
Best regards,
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-3-vserver-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages snmpd depends on:
ii adduser 3.107 add and remove users and groups
ii debconf 1.5.20 Debian configuration management sy
ii libc6 2.7-10 GNU C Library: Shared libraries
ii libsensors3 1:2.10.5-5 library to read temperature/voltag
pn libsnmp9 <none> (no description available)
ii libwrap0 7.6.dbs-14 Wietse Venema's TCP wrappers libra
snmpd recommends no packages.
More information about the Pkg-net-snmp-devel
mailing list