Hello,
I’ve installed NRPE 2.12 under SOLARIS 10 X86, everything seems OK, but when I tried
./check_nrpe -H localhost / Nagios Server IP
it returned
CHECK_NRPE: Error - Could not complete SSL handshake.
In fact, I’ve cherched in google for serveral days, and I’ve done all that I can, but nothing changed.
I installed NRPE as inetd service, and
svcs svc:/network/nrpe/tcp:default -> online 15:53:39 svc:/network/nrpe/tcp:default
netstat -a | grep nrpe -> *.nrpe . 0 0 49152 0 LISTEN
netstat -an |grep 5666 -> *.5666 . 0 0 49152 0 LISTEN
… the others, also OK. (tcp_wrappers = TRUE, hosts.allow, hosts.deny, …)
Besides, when I tried
telnet localhost 5666 ->
Trying 127.0.0.1…
Connected to localhost.
Escape character is ‘^]’.
ld.so.1: nrpe: fatal: libssl.so.0.9.7: open failed: No such file or directory
Connection to localhost closed by foreign host.
but, LD_LIBRARY_PATH=/usr/sfw/lib:/usr/lib:/usr/local/lib,
and I’ve done
ldd check_nrpe ->
libssl.so.0.9.7 => /usr/sfw/lib/libssl.so.0.9.7
libcrypto.so.0.9.7 => /usr/sfw/lib/libcrypto.so.0.9.7
libnsl.so.1 => /usr/lib/libnsl.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libc.so.1 => /usr/lib/libc.so.1
libmp.so.2 => /usr/lib/libmp.so.2
libmd.so.1 => /usr/lib/libmd.so.1
libscf.so.1 => /usr/lib/libscf.so.1
libdoor.so.1 => /usr/lib/libdoor.so.1
libuutil.so.1 => /usr/lib/libuutil.so.1
libgen.so.1 => /usr/lib/libgen.so.1
libssl_extra.so.0.9.7 => /usr/sfw/lib/libssl_extra.so.0.9.7
libcrypto_extra.so.0.9.7 => /usr/sfw/lib/libcrypto_extra.so.0.9.7
libm.so.2 => /usr/lib/libm.so.2
so, I’m really confused.
Any one can help me ? :x