[Nagiosplug-help] check_ldap core dumps
Victor Hiebert
vic at sfu.ca
Wed Dec 18 14:25:01 CET 2002
I am using nagios-plugins-1.3.0-beta2 with openldap-2.0.27 libs on
FreeBSD 4.7-RELEASE.
A full LDAP install was done from source. libs were installed into
/usr/local/include (the default), however the nagios plugins
./configure program was unable to find them. I moved the
libs into /usr/lib and everything seemed to configure/compile fine.
When I test check_ldap on the command line I get an error and core
dump, the same thing happens when i try and use it with a nagios
script. Examples follow..
$ls -l /usr/lib/libldap* && ls -l /usr/lib/liblber*
-r--r--r-- 1 root wheel 1788564 Dec 18 13:59 /usr/lib/libldap.a
-r--r--r-- 1 root wheel 703 Dec 18 13:59 /usr/lib/libldap.la
-r--r--r-- 1 root wheel 518031 Dec 18 13:59 /usr/lib/libldap.so
-r--r--r-- 1 root wheel 518031 Dec 18 13:59 /usr/lib/libldap.so.2
-r--r--r-- 1 root wheel 1977534 Dec 18 13:59 /usr/lib/libldap_r.a
-r--r--r-- 1 root wheel 715 Dec 18 13:59 /usr/lib/libldap_r.la
-r--r--r-- 1 root wheel 555140 Dec 18 13:59 /usr/lib/libldap_r.so
-r--r--r-- 1 root wheel 555140 Dec 18 13:59 /usr/lib/libldap_r.so.2
-r--r--r-- 1 root wheel 208076 Dec 18 13:59 /usr/lib/liblber.a
-r--r--r-- 1 root wheel 688 Dec 18 13:59 /usr/lib/liblber.la
-r--r--r-- 1 root wheel 124239 Dec 18 13:59 /usr/lib/liblber.so
-r--r--r-- 1 root wheel 124239 Dec 18 13:59 /usr/lib/liblber.so.2
$./check_ldap -V
check_ldap (nagios-plugins 1.3.0-beta2) 1.2
$./check_ldap -H 10.57.1.1
Segmentation fault (core dumped)
$tail /usr/local/nagios/var/nagios.log
[1040248168] Warning: Return code of 139 for check of service 'ldap' on host 'host0.domain.local' was out of bounds.
[1040248468] Warning: Return code of 139 for check of service 'ldap' on host 'host0.domain.local' was out of bounds.
[1040248768] Warning: Return code of 139 for check of service 'ldap' on host 'host0.domain.local' was out of bounds.
More information about the Help
mailing list