<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.1.92">
</HEAD>
<BODY>
Hi,<BR>
<BR>
"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.<BR>
Anyway, you could verify this issue by simply adding<BR>
<BR>
echo "Content-type: text/html"<BR>
echo ""<BR>
<BR>
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<BR>
read the documentation of your cgi implementation, if (and how) this can be fixed at cgi level.<BR>
<BR>
Cheers,<BR>
Stephan<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>


</PRE>
<BR>
<BR>
</TD>
</TR>
</TABLE>
Am Donnerstag, den 13.10.2011, 15:25 +0200 schrieb Patrik Nilsson:
<BLOCKQUOTE TYPE=CITE>
    No one else seeing this error?
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
     
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    This is on a new 4.3.5 install on openSUSE 11.4 (x86_64) 2.6.37.6-0.7.
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
     
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    Best,
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
     
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    Patrik
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        -----Original Message-----<BR>
        From: "Patrik Nilsson" <patrik.nilsson@mrgreen.com><BR>
        To: <xymon@xymon.com><BR>
        Date: Mon, 10 Oct 2011 15:49:45 +0200<BR>
        Subject: [Xymon] Trends page - Premature end of script headers: svcstatus.sh<BR>
         
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        <BR>
        Hi,
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
         
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        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.
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
         
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        Best regards,
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
         
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        Patrik Nilsson
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
         
    </BLOCKQUOTE>
</BLOCKQUOTE>
</BODY>
</HTML>