Page 1 of 2
Check_http not working
Posted: Wed Feb 22, 2012 11:49 am
by djbrown84
Greetings,
I have 64 bit nagios installed on rhel 6.2. When I attempt to run check_http with the appropriate syntax I receive the following error.
Code: Select all
./check_http: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory
When I navigate to /usr/lib64, libssl.so.10 is there. However when I navigate to /usr/lib, there are no plugins. So I assume check_http is looking at /lib/usr for libssl.so10.
I installed the 64bit version of nagios-plugins-http as well.
Re: Check_http not working
Posted: Wed Feb 22, 2012 12:06 pm
by scottwilkerson
Re: Check_http not working
Posted: Wed Feb 22, 2012 12:10 pm
by djbrown84
Already installed.
openssl-1.0.0-20.el6_2.1.x86_64
openssl-devel-1.0.0-20.el6_2.1.x86_64
Re: Check_http not working
Posted: Wed Feb 22, 2012 12:26 pm
by scottwilkerson
is /usr/lib64 in your path and the nagios users path?
Re: Check_http not working
Posted: Wed Feb 22, 2012 12:39 pm
by djbrown84
Little confused. Do you mean echo $PATH?
Here is the path of our production nagios server that works just fine(32 bit)
Code: Select all
/usr/lib/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
Here is the path for the DR instance I am setting up and troublesome(64 bit)
Code: Select all
/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
Re: Check_http not working
Posted: Wed Feb 22, 2012 12:57 pm
by scottwilkerson
djbrown84 wrote:
I installed the 64bit version of nagios-plugins-http as well.
Did you do this after you installed XI ?
You should not need to update the plugins, a clean install of XI should have everything it needs.
Re: Check_http not working
Posted: Wed Feb 22, 2012 1:01 pm
by djbrown84
The problem occurred after the initial installation. Installing the plugin was a troubleshooting attempt that still did not resolve the issue.
It appears the plugin is looking in the 32 bit area instead of the 64 bit. For example if I set up a symbolic link from /usr/lib/libssl.so.10 to /usr/lib64/libssl.so.10 I get an error about wrong ELF class. If I remove the link from /usr/lib the error says no file exists..
Re: Check_http not working
Posted: Wed Feb 22, 2012 4:09 pm
by djbrown84
So I think I may have found the issue... and it is completely my fault.
I copied 32 bit plugins from our production server to this 64 bit installation. I did a full sync on the libexec folder and now all of the plugins give the same error as below.
So my next question is, without doing a complete reinstall is there a way to get the 64bit plugins back? This is just the out of the box plugins.
Re: Check_http not working
Posted: Wed Feb 22, 2012 4:48 pm
by scottwilkerson
well... lets see, try this
Code: Select all
cd /tmp/nagiosxi/subsomponents/nagiosplugins
./install
cd /tmp/nagiosxi/subsomponents/extraplugins
./install
This would be a good start, but might not be complete...
If you aren't too far along into configuring things you may want to just run the ./fullinstall again
Re: Check_http not working
Posted: Wed Feb 22, 2012 6:44 pm
by djbrown84
Hi Scott,
Decided to do a fresh install on a 32 bit image to match our production server. Please close the topic if you wish.
thank you for your time!