[rrd-users] log2rrd migrated mrtg: 14all gives "Error: Cannot create graph"

j.halifax2 at seznam.cz j.halifax2 at seznam.cz
Sat Oct 15 13:19:01 CEST 2011


Hi All,

I migrated mrtg from log to rrd files, everything seems to work ok, but I get
"Error: Cannot create graph" on the screen for the all targets (no error in the
Apache error_log).

I searched a bit about it and saw that 14all checks the following reasons of
of the error state returned by RRD::errors() :

if (!-w $pngdir) { $errstr = "cannot write to graph dir $pngdir\nrrdtool error: $e";
} elsif (-e $pngfile and !-w _) { $errstr = "cannot write $pngfile\nrrdtool error: $e";
} elsif (-e $pngfile ...) { ... $errstr = "cannot delete file $pngfile: $!"; 
} else { $errstr = "cannot create graph\nrrdtool error: $e";
}

In other words, the Error message is not given due to an access right problem
but for "else" reasons.

I am using the last 14all version under Fedora 14 w/ SELinux enabled.

Could you please advise a way of how to find that reason or resolve it?

Thank you so much !!
Leos



More information about the rrd-users mailing list