> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Salman Usmani
> Sent: Wednesday, January 04, 2006 8:16 AM
> To: nagios-users@lists.sourceforge.net
> Subject: RE: [Nagios-users] Premature end of script headers
> 


> 
> The browser loads a 500 error page and apache error log shows:
> 
> 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

It's interesting that apache isn't logging more useful information.
'Premature end...' is a pretty generic error message with many possible
causes... Were these compiled on the same machine they're now being run
on? Try running status.cgi from the command line like so --

$ cd ~nagios/sbin
$ bash
bash-2.05b$ export REQUEST_METHOD="GET"
bash-2.05b$ ./status.cgi
Cache-Control: no-store
Pragma: no-cache
Refresh: 90
Last-Modified: Wed, 04 Jan 2006 15:15:01 GMT
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-type: text/html

<html>
<head>
<title>
Current Service Status
</title>

Blah blah blah....

You may see error information that is useful for troubleshooting
(missing libraries or libraries that aren't accessible, etc)...

--
Marc



-------------------------------------------------------
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
Nagios-users@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

Reply via email to