Cron graph generating fails

Bug #1100364 reported by vvilhonen
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
munin (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

I can see following in /var/log/munin/munin-graph.log and the generated html is referring to nonexisting files.

2013/01/16 07:20:09 [PERL WARNING] Use of uninitialized value in concatenation (.) or string at /usr/share/munin/munin-graph line 74.
2013/01/16 07:20:09 [PERL WARNING] Use of uninitialized value $graph_fh in <HANDLE> at /usr/share/munin/munin-graph line 75.
2013/01/16 07:20:09 [PERL WARNING] readline() on unopened filehandle at /usr/share/munin/munin-graph line 75.

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://us-east-1.ec2.archive.ubuntu.com/ubuntu/ quantal-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ quantal-security/main amd64 Packages
        100 /var/lib/dpkg/status
     2.0.2-1ubuntu2 0
        500 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ quantal/main amd64 Packages

Changed in munin (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
moesibaer (matthias-laug) wrote :

I changed the line

! #my $graph_fh = new IO::File($config->{'libdir'} . "/graphs");
! my $graph_fh = new IO::File("/var/lib/munin/graphs");

seems like $config->{libdir} is not responding with the correct path (or any at all)

worked for me and graphs are generating again

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.