Hello all,
I am in a process of installing Nagios 2.0 on a CentOS system (a free clone of enterprise REDHAT) with apache 2.
I am unable to browse any page except for the homepage, the apache returns Internal Server Error when trying to browse anything else.
Here is what I get in apache error_log:
[Fri Feb 17 02:41:20 2006] [error] [client 192.168.1.50] (13)Permission denied: exec of ‘/usr/lib/nagios/cgi/statuswrl.cgi’ failed, referer: 192.168.1.21/nagios/side.html
[Fri Feb 17 02:41:20 2006] [error] [client 192.168.1.50] Premature end of script headers: statuswrl.cgi, referer: 192.168.1.21/nagios/side.html
[Fri Feb 17 02:41:21 2006] [error] [client 192.168.1.50] (13)Permission denied: exec of ‘/usr/lib/nagios/cgi/statusmap.cgi’ failed, referer: 192.168.1.21/nagios/side.html
[Fri Feb 17 02:41:21 2006] [error] [client 192.168.1.50] Premature end of script headers: statusmap.cgi, referer: 192.168.1.21/nagios/side.html
[Fri Feb 17 02:41:35 2006] [error] [client 192.168.1.50] (13)Permission denied: exec of ‘/usr/lib/nagios/cgi/statuswrl.cgi’ failed, referer: 192.168.1.21/nagios/side.html
[Fri Feb 17 02:41:35 2006] [error] [client 192.168.1.50] Premature end of script headers: statuswrl.cgi, referer: 192.168.1.21/nagios/side.html
[Fri Feb 17 02:41:37 2006] [error] [client 192.168.1.50] (13)Permission denied: exec of ‘/usr/lib/nagios/cgi/statusmap.cgi’ failed, referer: 192.168.1.21/nagios/side.html
[Fri Feb 17 02:41:37 2006] [error] [client 192.168.1.50] Premature end of script headers: statusmap.cgi, referer: 192.168.1.21/nagios/side.html
[Fri Feb 17 02:41:38 2006] [error] [client 192.168.1.50] (13)Permission denied: exec of ‘/usr/lib/nagios/cgi/status.cgi’ failed, referer: 192.168.1.21/nagios/side.html
[Fri Feb 17 02:41:38 2006] [error] [client 192.168.1.50] Premature end of script headers: status.cgi, referer: 192.168.1.21/nagios/side.html
I have checked the security on the directory where cgi-s are located (/usr/lib/nagios/cgi) and for testing purposes have allowed full access for all accounts: chmod -R 777 cgi but still get the error
Does any one have a clue of what’s going on?
Comments are appreciated…