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

_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to