Failed to install net-snmp on SUSE Linux Enterprise Server

Hi all,
I’m trying to install net-snmp on my server.
But I’m getting this error message when I try to start the service.

Shutting down snmpd: done
Starting snmpd/usr/sbin/snmpd: error while loading shared libraries: libsensors.so.4: cannot open shared object file: No such file or directory
startproc: exit status of parent of /usr/sbin/snmpd: 127

Just in case, I’m using Enterprise Server 11 SP3.

On 13/02/2015 10:54, joaolmf wrote:
[color=blue]

I’m trying to install net-snmp on my server.
But I’m getting this error message when I try to start the service.

SHUTTING DOWN SNMPD:

DONE
STARTING SNMPD/USR/SBIN/SNMPD: ERROR WHILE LOADING SHARED LIBRARIES:
LIBSENSORS.SO.4: CANNOT OPEN SHARED OBJECT FILE: NO SUCH FILE OR
DIRECTORY
STARTPROC: EXIT STATUS OF PARENT OF /USR/SBIN/SNMPD: 127

Just in case, I’m using Enterprise Server 11 SP3.[/color]

Which version of net-snmp have you installed? Please post the output
from “rpm -q net-snmp”. Please also post the output from “zypper se -si
net-snmp”.

On a test SLES11 SP3 server I just installed net-snmp-5.4.2.1-8.12.22.1
which correctly started. Checking the libsensors requirement (“rpm -q
–requires net-snmp | grep libsensors”) it requires
libsensors.so.3()(64bit) which is provided by libsensors3-2.10.6-10.15
(“rpm -q --whatprovides ‘libsensors.so.3()(64bit)’”).

Which version of libsensors do you have installed? Please post the
output from “rpm -qa libsensors*”.

HTH.

Simon
SUSE Knowledge Partner


If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.