You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Gordon Stewart <go...@tesco.net> on 2006/03/09 15:56:12 UTC

[users@httpd] Installing Nagios On Apache 2.0.54

Dear List

I have installed nagios 1.13 on a develop machine that is running fedora core 4 and it works fine.  

When I installed the same packages on to my production server the cgi does not seam to work, All I get in the error logs the following:  

 (13)Permission denied: exec of '/etc/nagios/sbin/status.cgi' failed, referer: http://217.37.64.81/nagios/side.html
[Thu Mar 09 14:55:01 2006] [error] end of script headers: status.cgi, referer: http://217.37.64.81/nagios/side.html

When I run the script from the command line it works.  

I have used SUEXECGROUP but it did not seam to resolve the issues.

I believe it is an issues with Apache. Can someone point me in the right direction to getting this resolved?

Thanks

Gordon Stewart



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Installing Nagios On Apache 2.0.54

Posted by Gaël Lams <la...@gmail.com>.
Hi,

>  (13)Permission denied: exec of '/etc/nagios/sbin/status.cgi' failed, referer: http://217.37.64.81/nagios/side.html
> [Thu Mar 09 14:55:01 2006] [error] end of script headers: status.cgi, referer: http://217.37.64.81/nagios/side.html

Something that has nothing to do with your problem: /etc/ is probably
not the best place to install cgi in. You should place in /etc/ only
configuration files, and put nagios for instance in /usr/local

> When I run the script from the command line it works.
>
> I have used SUEXECGROUP but it did not seam to resolve the issues.
>
> I believe it is an issues with Apache. Can someone point me in the right direction to > getting this resolved?

Maybe a stupid question but did you verify that your cgi scripts have
executable file permissions?

Regards,

Gaël