1
我試圖使用memcached插件,當我使用命令「munin-run」來測試它們時出現錯誤。
返回的錯誤是:我有困難發現了一個解決方案
$ip =~ s/_/./g;
my $address = "$ip:$port";
:
Use of uninitialized value $ip in substitution (s///) at /etc/munin/plugins/memcached_hits line 28.
Use of uninitialized value $ip in concatenation (.) or string at /etc/munin/plugins/memcached_hits line 29.
Use of uninitialized value $port in concatenation (.) or string at /etc/munin/plugins/memcached_hits line 29.
Use of uninitialized value $ip in hash element at /usr/share/perl5/Cache/Memcached.pm line 253.
Use of uninitialized value $ip in index at /usr/share/perl5/Cache/Memcached.pm line 279.
Use of uninitialized value in subroutine entry at /usr/share/perl5/Cache/Memcached.pm line 288.
Bad arg length for Socket::pack_sockaddr_in, length is 0, should be 4 at /usr/lib/perl/5.14/Socket.pm line 260.
的線28和memcached_hits插件29,請參考下面的各個碼。有人能幫助我嗎?
謝謝。
嗨,任何人都可以幫助我嗎? – hdegenaro 2013-03-05 20:17:48