after upgrading from openSuse 11.2 to 11.3 some of my servers showing these errors after starting snmpd:
Starting snmpdError: 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
It happens on the x64 and i586 plattforms. all hardware are hp proliant servers. any idea?
Additionally some of the serves with 11.3 are freezing after 1 oder 2 day with no errors in the log. then i can not log in (console and ssh) but ping is o.k. any ideas for that behavior?
> It happens on the x64 and i586 plattforms. all hardware are hp
> proliant servers. any idea?
>
> Additionally some of the serves with 11.3 are freezing after 1 oder 2
> day with no errors in the log. then i can not log in (console and ssh)
> but ping is o.k. any ideas for that behavior?
I’ve just yesterday logged a bug report for exactly the same problem
(also on a proliant server).
I noticed the same problem, after doing a live update of 11.2 to 11.3
I found the following after upgrade there were two files in etc
/etc/sensors.conf
/etc/sensors3.conf
and check showed two different version of libsensors??
rpm -qf /etc/sensors.conf
libsensors3-2.10.6-46.2.x86_64
rpm -qf /etc/sensors3.conf
libsensors4-3.1.2-7.1.x86_64
tried the following:
2.1) zypper remove libsensors3
2.2) zypper remove libsensors4 <<<<did remove lots of things, for me were irrelevant as it is a server
2.3) but that removed net-snmp and perl-SNMP too
I hit the problem with a clean install of OpenSUSE 11.4 and an older /etc/sensors.conf.
Seems to be a problem with /usr/sbin/snmpd trying to parse /etc/sensors.conf. If there are any chip names with two dashes in the name, e.g. ‘chip “lm78-j-*”’, then snmpd spits out the “Parse error in chip name” error followed by “Label statement before first chip statement” (because it didn’t parse the chip statement line) followed by the other errors.
Removing /etc/sensors.conf fixes the problem with snmpd, and since OpenSUSE 11.4 ships with /etc/sensors3.conf, which is used by sensors before /etc/sensors.conf, removing /etc/sensors.conf doensn’t hurt the operation of sensors.
FWIW, removing chip names with two dashes from /etc/sensors.conf also fixes the problem, which means that an even better fix would be to fix snmpd so it can parse chip names containing two dashes.