HI! I’ve been stuck with this porlem since yesterday and I can’t seem to get it fixed.
I installed Nagios and configured it just the way the documentation says ans so far I was able to make everything work.
while installing qmail,my coworker removed sendmail by rpm -e --nodeps sendmail
and now i’m having problems in the web interface
Ping and SSH works but all others ie HTTP, HTTPS etc have (Return code of 127 is out of bounds - plugin may be missing)
I’m suspecting that some of the lib files might have been erased in the uninstall so I recompiled nagios and nrpe just in case, but nothing seems to have changed
when i tried to run stuff through nagios user
[root@localhost nagios]# su nagios
[nagios@localhost ~]$ cd /usr/local/nagios/libexec
[nagios@localhost libexec]$ ./check_http -H 192.168.14.10 -p 80
./check_http: error while loading shared libraries: libgssapi_krb5.so.2: cannot open shared object file: Permission denied
[nagios@localhost libexec]$ vi /usr/local/nagios/etc/commands.cfg
vim: error while loading shared libraries: libncurses.so.5: cannot open shared object file: Permission denied
[root@localhost nagios]# cd /usr/local/nagios/libexec
[root@localhost libexec]# ./check_http -H 192.168.14.10 -p 80
HTTP WARNING: HTTP/1.1 403 Forbidden
when i run it as root,
I’m at my wit’s end, can anyone help?