premature end of script

Jelle De Pot jelledp at yahoo.com
Sun Sep 18 01:47:43 CEST 2005


Hello,

When I visit a nagios .cgi file on my website I get
following error:

[Sun Sep 18 08:26:59 2005] [error] [client
217.22.180.65] Premature end of scrip
t headers: status.cgi, referer:
http://jelle.maltacentral.com/nagios/side.html

the nagios -v etc/nagios.cfg gives me no errors:
Total Warnings: 0
Total Errors:   0
Things look okay - No serious problems were detected
during the pre-flight check

So I start nagios: nagios etc/nagios.cfg and it runs
fine.

When I run ./status.cfg at the bash I get this:
[root at appserver3 sbin]# ./status.cgi
getcgivars(): Unsupported REQUEST_METHOD -> ''

I'm guessing you're trying to execute the CGI from a
command line.

So the permissions are right but maybe that 'error'
can give someone a clue.

I am really stuck on what that premature end of script
error might be. Any advise would be greatly
appriciated.

Regards
Jelle De Pot


		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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