Fedora 2 /Apache 2 /nagios/ Permission issue

Mark E. Donaldson markee at bandwidthco.com
Fri Mar 4 04:30:36 CET 2005


Brent - you answered your own question. You are running apache as user
"apache". The apache user does not have permissions to the
/usr/local/nagios/share directory. Try:
 
chown -R apache:nagios /usr/local/nagios/share 
 
and see if that helps

  _____  

From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Brent Ryan
Sent: Thursday, March 03, 2005 9:15 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Fedora 2 /Apache 2 /nagios/ Permission issue


I'm running  Apache/2.0.51 (Fedora) Server and I've followed all of the
documentation and I've set nagios up before on other distributions of linux,
but I'm not sure what the problem is here and I've read in some forums that
others have had issues with getting Nagios to work on Fedora Linux.  The
error I get when navigating to http://localhost:8080/nagios/ is
  

Forbidden


You don't have permission to access /nagios/ on this server.

 

httpd is running as user 'apache'
 
The apache error log has:
[Thu Mar 03 09:42:44 2005] [error] Directory index forbidden by rule:
/usr/local/nagios/share

 
Any ideas on this or how to fix it?  More information about my setup is
below:
 
/usr/local/nagios
drwxrwxr-x   2 nagios nagios    4096 Mar  2 18:38 bin
drwxr-xr-x   3 nagios nagios    4096 Mar  3 08:59 etc
drwxr-xr-x   2 nagios nagios    4096 Mar  2 18:46 libexec
drwxrwxr-x  11 nagios nagios    4096 Mar  2 18:34 nagios-2.0b2
-rw-r--r--   1 nagios nagios 5765120 Mar  2 18:25 nagios-2.0b2.tar
drwxrwxrwx  10 nagios nagios    4096 Mar  2 18:45 nagios-plugins-1.4
-rw-r--r--   1 nagios nagios 4208640 Mar  2 18:25 nagios-plugins-1.4.tar
drwxrwxr-x   2 nagios nagios    4096 Mar  3 08:46 sbin
drwxrwxr-x   9 nagios nagios    4096 Mar  3 09:18 share
drwxrwxr-x   3 nagios nagios    4096 Mar  2 18:38 var
 
httpd.conf has the following at the bottom:
ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"
<Directory "/usr/local/nagios/sbin">
#   SSLRequireSSL
   Options ExecCGI
   AllowOverride AuthConfig
   Order allow,deny
   Allow from all
#   Order deny,allow
#   Deny from all
#   Allow from 127.0.0.1
</Directory>
 
Alias /nagios/ "/usr/local/nagios/share"
<Directory "/usr/local/nagios/share">
#   SSLRequireSSL
   Options None
   AllowOverride AuthConfig
   Order allow,deny
   Allow from all
#   Order deny,allow
#   Deny from all
#   Allow from 127.0.0.1
</Directory>
 
 
Thanks,
 
Brent
Don't miss the 2005 Blackboard Users Conference April 12-14 in Baltimore,
MD!  
Visit  <http://www.blackboard.com/about/events/BbUC05/index.htm>
http://www.blackboard.com/about/events/BbUC05/index.htm for more
information.

This e-mail is intended only for the personal and confidential use of the
recipient(s) named above. 
It may include Blackboard confidential and proprietary information, and is
not for redistribution.



-- 
This message has been scanned for viruses and dangerous 
content by  <http://www.mailscanner.info/> MailScanner, and is believed to
be clean. 
MailScanner at  <http://www.bandwidthco.com/> Bandwidthco.com is for your
absolute protection. 

########################################################
This message has been scanned for viruses and dangerous 
content by MailScanner, and is believed to be clean.

postmaster at bandwidthco.com
MailScanner at bandwidthco.com is for your absolute protection.
########################################################

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050303/89a04a54/attachment.html>


More information about the Users mailing list