[Xymon] Trends page - Premature end of scriptheaders: svcstatus.sh

Patrik Nilsson patrik.nilsson at mrgreen.com
Thu Oct 13 16:57:51 CEST 2011


This is the standard xymon svcstatus.sh cgi script. It works fine on other 
pages, it only causes this error on the trends page, when choosing a "Trends 
period" different from the default.

Patrik

-----Original Message-----
From: "netz-haut - stephan seitz" <s.seitz at netz-haut.de>
To: <patrik.nilsson at mrgreen.com>
Cc: <xymon at xymon.com>
Date: Thu, 13 Oct 2011 16:30:36 +0200
Subject: Re: [Xymon] 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20111013/a0c0f204/attachment.html>


More information about the Xymon mailing list