trend/histogram.cgi produce malformed header

Russell Scibetti russell at quadrix.com
Thu Jan 23 17:11:28 CET 2003


Take a look here and see if that gives you a hint to what the problem is.

http://www.nagios.org/faqs/viewfaq.php?faq_id=119

Russell Scibetti

ice wrote:

>Hi,
>
>after the update from 1.04beta to 1.0 above cgis doesn`t work anylonger.
>And i don`t no why....
>The apache log says: 
>
><log>
>malformed header from script. Bad header=      Value is  NULL: 
>/usr/local/admin/www/web/nagios/svr/cgi-bin/trends.cgi
></log>
>
>If i run the cgi within a shell:
>
><shell>
># ./trends.cgi | grep "Value is NULL" | wc -l
># 24
># ./trends.cgi | grep -v  "Value is NULL" 
># Cache-Control: no-store
>Pragma: no-cache
>Last-Modified: Thu, 23 Jan 2003 12:29:29 GMT
>Expires: Thu, 01 Jan 1970 00:00:00 GMT
>Content-type: text/html
>
><html>
><head>
><title>
>Nagios Trends
></title>
><LINK REL='stylesheet' TYPE='text/css' HREF='/svr/stylesheets/trends.css'>
></head>
><BODY CLASS='trends'>
>---------< snip
></shell>
>
>Any Ideas ???
>P.S. LD_LIBRARY_PATH is set and statusmap.cgi seems to be working.
>

-- 
Russell Scibetti
Quadrix Solutions, Inc.
http://www.quadrix.com
(732) 235-2335, ext. 7038





-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com




More information about the Users mailing list