>From that error I can say: The cgi should print a header first.
something like:

Content-type: image/gif\nPragma: no-cache\n\n 
or
Content-type: image/png\nPragma: no-cache\n\n 

Where \n is a newline.

Serge Maandag.

-----Original Message-----
From: Dulac, Daniel (Dan) [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 17, 2002 9:26 PM
To: '[email protected] '
Subject: [rrd-users] Drraw front-end for RRD

Has anyone used the simple RRD front-end tool called Drraw?  I
downloaded,
configured, and ran in with no problem.  However, it seems to be VERY
finicky with the number of datasources you graph and start/end
times...When
I manually run the "rrdtool graph" command using the exact same
parameters
that Drraw generates, the graph builds fine.  I can't figure out what
Drraw
is choking on....Here is the error that I get in the apache/error.log
file:

[Tue Dec 17 14:59:13 2002] [error] [client 192.168.166.165] malformed
header
from script. Bad header=?PNG: c:/program files/apache
group/apache/cgi-bin/drraw3a.cgi

When I simply change the file type selectiong to GIF, I get a similar
error:

[Tue Dec 17 15:02:36 2002] [error] [client 192.168.166.165] malformed
header
from script. Bad header=GIF87aSA: c:/program files/apache
group/apache/cgi-bin/drraw3a.cgi

No other errors are generated anywhere....Let me know if any of you have
seen this problem....

Thanks!

-Dan

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to