You don't have permission to access /nagios/cgi-bin/ on this server
Mike Koponick
mkoponick at redhawk.info
Wed Feb 1 19:30:41 CET 2006
Bob,
This appears to be a permissions problem. It sounds as if you have nagios as a member of the apache group, but are you running nagios as "nagios" (user/group) Is Apache running as "apache".
You may also want to check the directories/files to ensure they are a part of correct group/ownership. I know this may sound simple, but it has bitten me more than once.
Mike
-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Bob DeBolt
Sent: Wednesday, February 01, 2006 9:34 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] You don't have permission to access /nagios/cgi-bin/ on this server
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=k&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
-------------------------------------------------------
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