[Pkg-net-snmp-devel] Bug#746399: snmpd: Typo in config file - line 53: Error: Name or service not known

Uwe Storbeck uwe at ibr.ch
Tue Apr 29 17:23:56 UTC 2014


Package: snmpd
Version: 5.7.2.1~dfsg-5
Severity: minor

Dear Maintainer,

on startup snmpd complains about an error in the config file:

  /etc/snmp/snmpd.conf: line 53: Error: Name or service not known

The reason is a typo ("defalut" instead of "default"):

  rocommunity6 public  defalut   -V systemonly
                           ^^

There are also two warnings on startup:

  /etc/snmp/snmpd.conf: line 145: Warning: Unknown token: defaultMonitors.
  /etc/snmp/snmpd.conf: line 147: Warning: Unknown token: linkUpDownNotifications.

Not sure if they have any relevance.

Regards

Uwe


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (750, 'testing'), (650, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.9-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages snmpd depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.52
ii  libc6                  2.18-4
ii  libsnmp-base           5.7.2.1~dfsg-3
ii  libsnmp30              5.7.2.1~dfsg-5
ii  lsb-base               4.1+Debian12

snmpd recommends no packages.

Versions of packages snmpd suggests:
pn  snmptrapd  <none>

-- Configuration Files:
/etc/snmp/snmpd.conf [Errno 13] Permission denied: u'/etc/snmp/snmpd.conf'
/etc/snmp/snmptrapd.conf [Errno 13] Permission denied: u'/etc/snmp/snmptrapd.conf'

-- debconf information:
  snmpd/upgradefrom36:
* snmpd/upgradefrom521:



More information about the Pkg-net-snmp-devel mailing list