You don't have permission to access /nagios/cgi-bin/ on this server

Bob DeBolt nagios at starblanket.ca
Wed Feb 1 18:33:36 CET 2006


Greets

CentOS 4.2 up to date.
SELinux is disabled
2GHz -512MB P4

Nagios installed from RPM Dag Wieers site,

nagios-2.0-0.rc2.2.el4.test.i386.rpm  
nagios-plugins-1.4.1-1.2.el4.rf.i386.rpm     

Web pages work fine, docs are all good. Web Interface login works fine.

Now the problem.

"You don't have permission to access /nagios/cgi-bin/ on this server"

I have googled for  few hours, lots of hits but no success, reread docs, tried 
numerous permission combos on the cgi directory which is /usr/lib/nagios/cgi 
in the RPM install. Made sure apache user is part of the nagios group and on 
and on.

Here is a tail of my web server error_log after wildly clicking the refresh 
button. Of course the log is the same using the CLI GET

Wed Feb 01 08:45:54 2006] [error] [client 192.168.1.77] File does not 
exist: /var/www/html/favicon.ico
[Wed Feb 01 08:45:54 2006] [error] [client 192.168.1.77] attempt to invoke 
directory as script: /usr/lib/nagios/cgi/
[Wed Feb 01 08:45:54 2006] [error] [client 192.168.1.77] attempt to invoke 
directory as script: /usr/lib/nagios/cgi/
[Wed Feb 01 08:45:54 2006] [error] [client 192.168.1.77] attempt to invoke 
directory as script: /usr/lib/nagios/cgi/
[Wed Feb 01 08:45:54 2006] [error] [client 192.168.1.77] File does not 
exist: /var/www/html/favicon.ico
[Wed Feb 01 08:45:55 2006] [error] [client 192.168.1.77] File does not 
exist: /var/www/html/favicon.ico
[Wed Feb 01 08:45:55 2006] [error] [client 192.168.1.77] attempt to invoke 
directory as script: /usr/lib/nagios/cgi/
[Wed Feb 01 08:45:55 2006] [error] [client 192.168.1.77] attempt to invoke 
directory as script: /usr/lib/nagios/cgi/
[Wed Feb 01 08:45:55 2006] [error] [client 192.168.1.77] File does not 
exist: /var/www/html/favicon.ico

Ideas?

Bob


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list