Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Can't use an undefined value as an ARRAY reference at /usr/lib64/perl5/vendor_perl/5.20.2/Munin/Master/HTMLOld.pm line 695. #430
On Fri, Apr 10, 2015 at 07:06:04AM -0700, Stig Sandbeck Mathisen wrote:
I get the following at munin/index.html, then munin-cgi-html crashes:
Can't use an undefined value as an ARRAY reference at /usr/lib64/perl5/vendor_perl/5.20.2/Munin/Master/HTMLOld.pm line 695.
For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.
() ascii ribbon campaign - against html mail
I just ran into this problem on a fresh install of net-analyzer/munin-2.0.19-r1 on gentoo. I tracked the issue down to
The default gentoo apache config serves the static content directly from
Does munin-html die? Check
Also, my long-term fix for this issue was to add
I had this error for a while while setting up the Debian Jessie Munin package, but then it went away at some point, sorry not to have been very methodical regarding documenting what exact steps I followed, I can share the working config I have if that helps anyone, I'm using
I have also been getting this error for ages. I decided to debug it today. (Gentoo with net-analyzer/munin-2.0.25-r1like most of you guys(!)).
munin is configured as FastCGI. This means the same process will serve several requests. If I press F5 in a loop, every other request fails. I think the process is terminated on error, giving me a fresh working process for the next request.
The only place I can find that generates htmlconf.storable is the following lines
The bug seems to be in HTMLConfig.pm:generate_config. ( https://github.com/munin-monitoring/munin/blob/stable-2.0/master/lib/Munin/Master/HTMLConfig.pm#L34-L64 )
Changing the first line to