Can't seem to get NRPE installed

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Can't seem to get NRPE installed

Post by jsmurphy »

Nagios will run just fine fully featured as a VM, in fact every install I've ever done has been virtualised on one platform or another. You need to point it at the library, the best way to think about it is: libssl is a set of code that it can compile into an application... openssl on the other hand is already an application.

I'm hunching that's not actually where the devel package is installed... it should be in /usr/lib/ or something sane like that. However you may still be able to use that vmware lib to install it.
jbruyet
Posts: 235
Joined: Wed Dec 28, 2011 12:14 pm

Re: Can't seem to get NRPE installed

Post by jbruyet »

Hi jsmurphy, and I apologize for assuming you had abandoned me. I noticed this morning that my thread had kicked over to a second page and there was your post. ANYWAY, regarding ./configure --with-ssl=/path/to/ssl none of the paths I've used have worked. Some examples:

/usr/lib
/usr/lib/vmware-tools/lib32/libssl.so.0.9.8/libssl.so.0.9.8
/usr/lib/vmware-tools/lib32/libssl.so.0.9.8
/usr/lib/openssl

I thought that maybe going for the openssl would change something because I did the path to both ssl and ssl-inc:
./configure --with-ssl=/usr/lib/openssl --with-ssl-inc=/usr/include/openssl --enable-ssl

but I still get:
./check_nrpe: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory

So should the --with-ssl point to a folder or a file in the folder? And when I tried pointing --with-ssl to the openssl why did the check_nrpe command still say it can't find the libssl file(s)?

Thanks,

Joe B
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Can't seem to get NRPE installed

Post by scottwilkerson »

Can you run

Code: Select all

locate libssl.so.0.9.8
to find the real path to the file...
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jbruyet
Posts: 235
Joined: Wed Dec 28, 2011 12:14 pm

Re: Can't seem to get NRPE installed

Post by jbruyet »

Hi scottwilkerson, here's what I get with locate libssl.so.0.9.8:

[root@link nrpe-2.13]# locate libssl.so.0.9.8
/home/jobee/Downloads/vmware-tools-distrib/lib/lib32/libssl.so.0.9.8
/home/jobee/Downloads/vmware-tools-distrib/lib/lib32/libssl.so.0.9.8/libssl.so.0.9.8
/home/jobee/Downloads/vmware-tools-distrib/lib/lib64/libssl.so.0.9.8
/home/jobee/Downloads/vmware-tools-distrib/lib/lib64/libssl.so.0.9.8/libssl.so.0.9.8
/lib/.libssl.so.0.9.8e.hmac
/lib/libssl.so.0.9.8e
/usr/lib/vmware-tools/lib32/libssl.so.0.9.8
/usr/lib/vmware-tools/lib32/libssl.so.0.9.8/libssl.so.0.9.8
/usr/lib/vmware-tools/lib64/libssl.so.0.9.8
/usr/lib/vmware-tools/lib64/libssl.so.0.9.8/libssl.so.0.9.8
[root@link nrpe-2.13]#

I used both /usr/lib/vmware-tools/lib32/libssl.so.0.9.8 and /usr/lib/vmware-tools/lib32/libssl.so.0.9.8/libssl.so.0.9.8 but no joy.
jbruyet
Posts: 235
Joined: Wed Dec 28, 2011 12:14 pm

Re: Can't seem to get NRPE installed

Post by jbruyet »

Ok, out of a masochistic "It's a sunny Saturday and I'm working so I'm going to hurt myself" kind of attitude I tried the install again and it worked. Please, no one slap me but previously I was reinstalling nagios-plugins-1.4.15 and this time I installed nrpe-2.13. Now when I run ./check_nrpe I get a screen of information informing me that I didn't use valid command line arguments.

Thank you, jsmurphy, for working on this with me. I really appreciate your helpful attitude.

Thanks,

Joe B
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Can't seem to get NRPE installed

Post by jsmurphy »

Well it was an extremely prolonged process but I'm glad you got it working in the end and no worries :)
Locked