CGI page error

Andreas Ericsson ae at op5.se
Tue Oct 18 20:33:19 CEST 2005


su - httpd
/usr/local/nagios/sbin/tac.cgi

Take it from there.

You should also make sure SE-Linux isn't preventing things (although it 
usually logs something).


Alex Farrer wrote:
> I've setup Nagios and it is running fine, apart from I cannot access the CGI
> pages from the web interface, getting an Internal Server Error message.
> Checking my httpd error log I can see many instances of errors like this:
> 
>  
> 
> Permission denied: exec of '/usr/local/nagios/sbin/status.cgi' failed,
> referer: http://nagios/nagios/side.html
> 
> Premature end of script headers: status.cgi, referer:
> http://nagios/nagios/side.html
> 
>  
> 
>  
> 
> I compiled Nagios entirely using the default options. Here are the
> directives from httpd.conf:
> 
>  
> 
>  
> 
> ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/
> 
> <Directory "/usr/local/nagios/sbin/">
> 
> Options ExecCGI
> 
> AllowOverride AuthConfig
> 
> 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>
> 
>  
> 
> At the moment authentication is disabled in the config file.
> 
>  
> 
> It's probably a really basis error, but I can't figure it out!
> 
>  
> 
> I am running Nagios 1.2
> 
> Plugins 1.4.2
> 
> Apache 2.0.54
> 
> Fedora core 4
> 
>  
> 
> Thanks
> 
>  
> 
> Alex
> 
>  
> 
>  
> 
>  
> 
>  
> 
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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