trend/histogram.cgi produce malformed header

ice ice at ford.com
Thu Jan 23 13:34:17 CET 2003


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.
-- 
Mit freundlichen Gruessen | with kind regards | Met vriendelijke groeten
--
Norbert Bressem                                             Dept          
D-E/FD-1S
UNIX System Administrator                               Int   +49-221-9021148
Ford Werke AG (Pilot Plant Cologne)                 Fax +49-221-9014045



-------------------------------------------------------
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