CGI errors

Andreas Ericsson ae at op5.se
Tue May 17 17:57:41 CEST 2005


Heise, Robert wrote:
> Ive installed nagios successfully and the configuration went smoothly.
> However when trying to view the nagios page via
> http://%hostname%/nagios/ Im getting the following error in my apache
> error_log.
> 
> [Tue May 17 11:34:55 2005] [error] PerlRun: `Unrecognized character \x7F
> at /usr/lib/nagios/cgi/tac.cgi line 1.
> 

You have configured all .cgi-files to be handled by mod_perl. You need 
to reconfigure your webserver so that .cgi-files in nagios' cgi-bin 
directory can be of any executable format and will be popen()'ed instead 
of fed to the perl interpreter.

For info on how to do that, read the apache documentation at 
http://httpd.apache.org/ (left hand side menu has a link to it)

> * Nagios is running
> rheise at ews-ral-dev-01:/usr/local/nagios/libexec$ ps -ef |grep nagios
> eng      20632     1  0 11:39 ?        00:00:00 /usr/bin/nagios -d
> /etc/nagios/nagios.cfg
> 
> * httpd is running under a service account and all nagios file are owned
> by that service account (eng)
> 
> Any ideas?
> 
> 
> -------------------------------------------------------
> This 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_idt12&alloc_id344&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
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
This 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





More information about the Users mailing list