Operating System - Linux
1827811 Members
2091 Online
109969 Solutions
New Discussion

Re: NAGIOS: Unable to Execute check_http

 
daniel figueroa
Occasional Advisor

NAGIOS: Unable to Execute check_http

I created two symlinks for openssl files per Nagios install document
>>#ln -s /lib/libcrypto.so.0.9.6b /lib/libcrypto.so.4
>>#ln -s /lib/libssl.so.0.9.6b /lib/libssl.so.4

and tried to test 'check_http' script :

MYCOMPUTER:/usr/lib # /usr/local/nagios/libexec/check_http --help

and got this error:

/usr/local/nagios/libexec/check_http: error while loading shared libraries: libcrypto.so.4: cannot open shared object file: No such file or directory


I verified the link is there:
lrwxrwxrwx 1 root root 17 Nov 15 15:35 libcrypto.so.4 -> libcryto.so.0.9.7


Anyone understand this problem, please help me.

Thanks
__________________
Daniel
2 REPLIES 2
Ermin Borovac
Honored Contributor

Re: NAGIOS: Unable to Execute check_http

lrwxrwxrwx 1 root root 17 Nov 15 15:35 libcrypto.so.4 -> libcryto.so.0.9.7

Your symbolic link seems to be pointing to libcryto.so.0.9.7 (instead of libcrypto), please check that it's not a typo.

If symbolic link is correct, check that libcrypto.so.4 is in the library cache.

$ /sbin/ldconfig -p | grep libcrypto
libcrypto.so.4 (libc6) => /lib/libcrypto.so.4
daniel figueroa
Occasional Advisor

Re: NAGIOS: Unable to Execute check_http

Silly Syntax Error on the ln -s setup.

Thanks.