Cron graph generating fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
munin (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I can see following in /var/log/
2013/01/16 07:20:09 [PERL WARNING] Use of uninitialized value in concatenation (.) or string at /usr/share/
2013/01/16 07:20:09 [PERL WARNING] Use of uninitialized value $graph_fh in <HANDLE> at /usr/share/
2013/01/16 07:20:09 [PERL WARNING] readline() on unopened filehandle at /usr/share/
Description: Ubuntu 12.10
Release: 12.10
munin:
Installed: 2.0.2-1ubuntu2.2
Candidate: 2.0.2-1ubuntu2.2
Version table:
*** 2.0.2-1ubuntu2.2 0
500 http://
500 http://
100 /var/lib/
2.0.2-1ubuntu2 0
500 http://
Changed in munin (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
I changed the line
! #my $graph_fh = new IO::File( $config- >{'libdir' } . "/graphs"); "/var/lib/ munin/graphs" );
! my $graph_fh = new IO::File(
seems like $config->{libdir} is not responding with the correct path (or any at all)
worked for me and graphs are generating again