[Nagiosplug-help] NRPE, check_smtp, and Solaris = mysterious failure
Holger Weiß
holger at CIS.FU-Berlin.DE
Thu Apr 7 00:15:54 CEST 2011
* Florin Andrei <florin at andrei.myip.org> [2011-04-06 14:41]:
> I wrote a fake plugin, a shell wrapper that calls check_smtp then dumps
> its stdin and stderr to a debug file, then outputs some fake status to
> please nrpe. Looks like I nailed it:
>
> # cat /tmp/debug
> ld.so.1: check_smtp: fatal: libssl.so.0.9.8: open failed: No such file
> or directory
[...]
> # ls -l /usr/local/ssl/lib/
> total 8040
> drwxr-xr-x 2 bin bin 512 Jun 25 2009 engines
> -rw-r--r-- 1 bin bin 2008548 May 30 2008 libcrypto.a
> lrwxrwxrwx 1 root root 18 Jun 25 2009 libcrypto.so ->
> libcrypto.so.0.9.8
> -r-xr-xr-x 1 bin bin 1432040 May 30 2008 libcrypto.so.0.9.8
> -rw-r--r-- 1 bin bin 350324 May 30 2008 libssl.a
> lrwxrwxrwx 1 root root 15 Jun 25 2009 libssl.so ->
> libssl.so.0.9.8
> -r-xr-xr-x 1 bin bin 274656 May 30 2008 libssl.so.0.9.8
There are a number of ways to fix that. See, for example:
http://www.eyrie.org/~eagle/notes/rpath.html
http://download.oracle.com/docs/cd/E19963-01/html/821-1461/crle-1.html
Holger
More information about the Help
mailing list