Trends page - Premature end of scriptheaders: svcstatus.sh
Hi,
"Premature end of script headers" usually indicates the absence of a content-type header. The error could be a result of your particular cgi configuration. Anyway, you could verify this issue by simply adding
echo "Content-type: text/html" echo ""
to the respective .sh script. Just get sure these lines are inserted before any other output is generated. If this solves your issue, you might want to read the documentation of your cgi implementation, if (and how) this can be fixed at cgi level.
Cheers, Stephan
Am Donnerstag, den 13.10.2011, 15:25 +0200 schrieb Patrik Nilsson:
No one else seeing this error?
This is on a new 4.3.5 install on openSUSE 11.4 (x86_64) 2.6.37.6-0.7.
Best,
Patrik
-----Original Message-----
From: "Patrik Nilsson" <patrik.nilsson at mrgreen.com>
To: <xymon at xymon.com>
Date: Mon, 10 Oct 2011 15:49:45 +0200
Subject: [Xymon] Trends page - Premature end of script headers: svcstatus.sh
Hi,
On a newly installed 4.3.5, if I go into a trends page and specify a Trends period och click on Update, I get a "Premature end of script headers: svcstatus.sh" Error 500. It does not seem to matter what time period I specify, it always result in the same error.
Best regards,
Patrik Nilsson
"Premature end of script headers" usually indicates the absence of a content-type header. The error could be a result of your particular cgi configuration.
Actually, it usually means the CGI program crashed without creating any output.
Which means there is a bug in the svcstatus.cgi program.
Regards, Henrik
participants (2)
-
henrik@hswn.dk
-
s.seitz@netz-haut.de