Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I just installed munin on a fresh ubuntu system, munin node throwing the following errors:

2013/01/30-21:10:02 CONNECT TCP Peer: "[::ffff:127.0.0.1]:39316" Local: "[::ffff:127.0.0.1]:4949"
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Net/Server.pm line 600.

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

Do you have idea whats the problem? Here are the configuration files:

http://pastebin.com/sU8dVY1N - plugin-conf.d/munin-node

http://pastebin.com/NRHXn8it - munin-node.conf

pastebin.com/HMdiBfTh - munin.conf

Thank you very much!

share|improve this question
    
could you post the contents around server.pm line 600 and munin-graph line 74? –  Eric Fossum Jan 30 '13 at 22:10
    
I didn't modified these files, all are original. pastebin.com/tkrP4YQr –  user156646 Jan 30 '13 at 23:37
    
This is a wild guess, but "Use of uninitialized value in pattern match" indicates to me that you miss something, maybe related to configuration. Is host_name set in munin-node.conf? –  pkhamre Feb 11 '13 at 8:13

2 Answers 2

Regarding this warning Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Net/Server.pm line 600. take a look here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693320. Seems it is fixed in version 2.007-1 of libnet-server-perl package.

share|improve this answer

Make sure that the domain you have set in host_name in munin-node.conf resolves.

If localhost.localdomain does not resolve on your system, try to change it to localhost or add an entry to /etc/hosts.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.