[Pkg-net-snmp-devel] Bug#732224: snmpd error message does not identify file which contains invalid content
David Goodenough
david.goodenough at linkchoose.co.uk
Sun Dec 15 19:37:06 UTC 2013
Package: snmpd
Version: 5.7.2~dfsg-8.1+b1
Severity: normal
When I upgraded to this version of snmpd when snmpd was restarted it said:-
Setting up snmpd (5.7.2~dfsg-8.1+b1) ...
[....] Starting network management services::Error: Line 278: Parse error in
chip name
Error: Line 283: Label statement before first chip statement
Error: Line 284: Label statement before first chip statement
Error: Line 285: Label statement before first chip statement
Error: Line 286: Label statement before first chip statement
Error: Line 287: Label statement before first chip statement
Error: Line 288: Label statement before first chip statement
Error: Line 289: Label statement before first chip statement
Error: Line 322: Compute statement before first chip statement
Error: Line 323: Compute statement before first chip statement
Error: Line 324: Compute statement before first chip statement
Error: Line 325: Compute statement before first chip statement
Error: Line 1073: Parse error in chip name
Error: Line 1094: Parse error in chip name
Error: Line 1104: Parse error in chip name
Error: Line 1114: Parse error in chip name
Error: Line 1124: Parse error in chip name
What this does tell me is which file contains these errors, so fixing it is
rather difficult. Please include the file name with the line number.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 3.10-2-486
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages snmpd depends on:
ii adduser 3.113+nmu3
ii debconf [debconf-2.0] 1.5.50
ii libc6 2.17-92
ii libmysqlclient18 5.5.31+dfsg-1
ii libsnmp-base 5.7.2~dfsg-8
ii libsnmp30 5.7.2~dfsg-8
ii libwrap0 7.6.q-24
ii lsb-base 4.1+Debian12
ii zlib1g 1:1.2.8.dfsg-1
snmpd recommends no packages.
snmpd suggests no packages.
-- 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