MilesWeb
MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length

 

News:

SMF - Just Installed!


Author Topic: nrpe: error while loading shared libraries  (Read 5716 times)

0 Members and 1 Guest are viewing this topic.

Offline Administrator

  • Chinmay Dingore
  • Administrator
  • Full Member
  • *****
  • Posts: 135
  • Karma: +1/-0
    • View Profile
    • MilesWeb Internet Services Pvt Ltd
nrpe: error while loading shared libraries
« on: February 27, 2014, 07:59:38 PM »
Hi All,

When trying to restart the nrpe service (nagios client), you receive an error as below.

Quote
nrpe: error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or directory
nrpe: error while loading shared libraries: libcrypto.so.6: cannot open shared object file: No such file or directory

This is because the required libraries for nrpe to function do not exist on the server. A workaround is to copy the current libraries to the one which are required by nrpe.

To check the available libraries, use the command below.

Quote
root@server [/usr/local/src]# ls /usr/lib64/libssl*
libssl3.so        libssl.so         libssl.so.10      libssl.so.1.0.1e

root@server [/usr/local/src]# ls /usr/lib64/libcrypto.so*
libcrypto.so         libcrypto.so.10      libcrypto.so.1.0.1e


The above command shows the available ones. Now, copy the libssl.so.10 to libssl.so.6 & libcrypto.so.10 to libcrypto.so.6 with command

Quote
root@server [/usr/local/src]# cp -af /usr/lib64/libssl.so.10 /usr/lib64/libssl.so.6
root@server [/usr/local/src]# cp -af /usr/lib64/libcrypto.so.10 /usr/lib64/libcrypto.so.6

Now, try starting the nrpe service and it should start without any errors.  8)
MilesWeb.com - Your Hosting, Our Responsibility!
Unlimited Hosting Plans | Managed VPS with 20% Discount

MilesWeb Hosting Forum

nrpe: error while loading shared libraries
« on: February 27, 2014, 07:59:38 PM »