graphs are not displayed after refresh

Bug #408324 reported by zeisi
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mrtg-rrd (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: mrtg-rrd

Using 9.04, apache 2.2.11-2ubuntu2.2, mrtg 2.16.2-3ubuntu, mrtg-rrd 0.7-1, perl 5.10.0-19ubuntu1.1

Opening the cgi-page once works fine, but when i refresh the page in firefox the graphics disappear. www-data user has write access, but it seems that the script isn't able to overwrite the existing graphs.

I'm not a perl expert, but i think I found possible solution:
delete existing graphs before creating new ones.
I added the line
unlink glob (($tgt->{config})->{imagedir}."/*.png");
after
my ($tgt) = @_;
in the subroutine do_html around line 124.
That solved the problem for me.

zeisi (alkobottle)
summary: - graphs are note displayed after refresh
+ graphs are not displayed after refresh
description: updated
Revision history for this message
FTP-Admin Uni-KL (ftpadm) wrote :

This Bug is caused by librrd, rrd_graph() which returns an image-size of 0x0.
See http://bugs.debian.org/484211

Revision history for this message
Kenyon Ralph (kralph) wrote :

This bug was fixed in Lucid since it has rrdtool 1.3.8, and rrdtool newer than 1.3.7 fixes this bug.

Changed in mrtg-rrd (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.