Thanks for the reply. I must have overloooked the RPM's.
Will try them out now.
Salman
From: Jim Perrin <[EMAIL PROTECTED]>
To: Salman Usmani <[EMAIL PROTECTED]>
CC: [email protected]
Subject: Re: [Nagios-users] Premature end of script headers
Date: Wed, 4 Jan 2006 09:24:26 -0500
On 1/4/06, Salman Usmani <[EMAIL PROTECTED]> wrote:
> I have the following lines added to the httpd.conf:
>
> 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>
>
> So the ExecCGI is there but not executing. Here is the dir listing:
ExecCGI is not needed here as scriptalias has you covered. Don't need
the belt AND the suspenders.
> Premature end of script headers: /usr/local/nagios/sbin/status.cgi
> Premature end of script headers: /usr/local/nagios/sbin/extinfo.cgi
> Premature end of script headers: /usr/local/nagios/sbin/tac.cgi
>
A couple other things will cause this too, like REMOTE_USER not being set.
One question here. Why aren't you using the RPMS provided for rhel
that are listed on the site? The rpms listed on the site,
dag.wieers.com repository take most of the guesswork out of setting up
nagios and apache. The only thing left to screw up are the configs. If
you're on an rpm based distribution, it's nearly ALWAYS worth using
rpms to install software.
--
Jim Perrin
System Architect - UIT
Ft Gordon & US Army Signal Center
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Nagios-users mailing list
[email protected]
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
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Nagios-users mailing list
[email protected]
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