[rrd-users] Re: rrdgraph cgi script fails under mod_perl: UPDATE

Chris Wilson chris at aidworld.org
Thu Feb 23 11:40:31 MET 2006


Hi Nick,

On Thu, 2006-02-23 at 18:32 +1100, Nick Sharp wrote:
> It still fails to generate the graph, and the httpd error log
> EVENTUALLY still shows:
> 
> libpng error: write error
> 
> but only, as before, after the httpd has been stopped.

With mod_perl, STDOUT does not necessarily go to the browser. It's
better to use the perl "print" function, which at least with the old
mod_perl under apache 1, was overridden by mod_perl to go somewhere
useful (i.e. to the browser).

Can you get RRDs::graph to return the image data in a variable that you
can print, instead of sending it directly to STDOUT?

Cheers, Chris.
-- 
(aidworld) chris wilson | chief engineer (chris at aidworld.org)

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list