Nagios/Apache Permissions Error

Gael Pourriel gael.pourriel at gmail.com
Wed May 18 19:41:58 CEST 2005


Try this instead:

ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin

<Directory "/usr/local/nagios/sbin">
AllowOverride AuthConfig
Options ExecCGI
Order allow,deny
Allow from all
</Directory>

If this still doesn't work, you may be running SELinux which prevent Apache 
to serve pages outside a give set of directory, usually /var/www/

I had the same problem this afternoon and was going mad for about 2 hours 
before I discover that SELinux was preventing apache to server my newly 
installed nagios setup.

I'm using Fedora Core 3






On 18 May 2005 18:45:12 +0300, Vincent Ngundi <vincent at kenic.or.ke> wrote:
> 
> ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin/
> 
> <Directory "/usr/local/nagios/sbin/">
> AllowOverride AuthConfig
> Options ExecCGI
> Order allow,deny
> Allow from all
> </Directory>
> 
> Alias /nagios/ /usr/local/nagios/share/
> <Directory "/usr/local/nagios/share">
> Options None
> AllowOverride AuthConfig
> Order allow,deny
> Allow from all
> </Directory>
> 
> ## End
> 
> ** Nagios is runnning as User nagios, Group nagios
> 
> What could be the problem?
> 
> Vincent.....
> 
> -------------------------------------------------------
> This SF.Net <http://SF.Net> email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050518/49a27316/attachment.html>


More information about the Users mailing list