nrpe install on solaris 5.8
Lori Adams
ladams at cloudmark.com
Wed Oct 12 19:18:17 CEST 2005
When attempting to run nrpe-2.2 after installing on a solaris 5.8 box, I
receive an error:
# /srv/nagios_nrpe/bin/nrpe -c /srv/nagios_nrpe/etc/nrpe.cfg -d
ld.so.1: /srv/nagios_nrpe/bin/nrpe: fatal: libssl.so.0.9.6: open failed:
No such file or directory
Killed
Here is the information I've gathered about the machine. And some
futile attempts at trying to fix the issue.
# uname -a
SunOS 5.8 Generic_108528-13 sun4u sparc SUNW,UltraAX-i2 Solaris
I have nrpe-2.2 downloaded from Andreas Ericsson's site.
Once I started receiving the error, I went to find libssl.so.0.9.6:
# find / -name libssl.so.0.9.6
/usr/local/ssl/lib/libssl.so.0.9.6
So I am now running the configure script with these arguments.
# ./configure --enable-command-args --with-ssl-lib=/usr/local/ssl/lib/
--with-ssl-inc=/usr/local/ssl/include/
The compile runs with no errors.
I then do a "make all"
# make all
cd ./src/; make ; cd ..
make[1]: Entering directory `/export/spare/srv/tmp/nrpe-2.2/src'
gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include
-DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/local/ssl/lib/ -lssl
-lcrypt
o -lnsl -lsocket
gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include
-DHAVE_CONFIG_H -o check_nrpe check_nrpe.c utils.c check_utils.c
-L/usr/loc
al/ssl/lib/ -lssl -lcrypto -lnsl -lsocket
make[1]: Leaving directory `/export/spare/srv/tmp/nrpe-2.2/src'
I don't see any errors there.
I then cp the nrpe binary to the dir that I want to run it in along with
the nrpe.cfg file that works on other solaris boxen.
I then attempt to run it and get the aforementioned error.
# /srv/nagios_nrpe/bin/nrpe -c /srv/nagios_nrpe/etc/nrpe.cfg -d
ld.so.1: /srv/nagios_nrpe/bin/nrpe: fatal: libssl.so.0.9.6: open failed:
No such file or directory
Killed
I think that I am missing something fundamental, but I can't quite get
my finger on it. Does anyone have any thoughts?
Thanks.
-Lori
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20051012/7eaa77f5/attachment.html>
More information about the Users
mailing list