Centos Munin节点不会启动Cent OS 5.7
我刚刚通过yum在我的新cent os 5.7 64位机器上安装了munin node 安装进行得很顺利,过去我在许多机器上安装了munin和munin节点,但这次我无法启动它 当我尝试使用以下命令重新启动时,会发生这种情况:Centos Munin节点不会启动Cent OS 5.7,centos,munin,Centos,Munin,我刚刚通过yum在我的新cent os 5.7 64位机器上安装了munin node 安装进行得很顺利,过去我在许多机器上安装了munin和munin节点,但这次我无法启动它 当我尝试使用以下命令重新启动时,会发生这种情况: [root@Server2 munin]# service munin-node restart Stopping Munin Node agents: kill: usage: kill [-s sigspec | -n signum | -sigspec] pid |
[root@Server2 munin]# service munin-node restart
Stopping Munin Node agents: kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
[FAILED]
Starting Munin Node: Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.8.8/Net/Server/Daemonize.pm line 61.
Couldn't find pid in existing pid_file at /usr/lib/perl5/vendor_perl/5.8.8/Net/Server/Daemonize.pm line 61.
[ OK ]
它最后用绿色写着“OK”,但我看不到它在任何地方运行
这也是munin-node.log的输出
[root@Server2 munin]# tail -n 100 munin-node.log
2011/12/04-03:10:44 Couldn't find pid in existing pid_file at /usr/lib/perl5/vendor_perl/5.8.8/Net/Server/Daemonize.pm line 61.
at line 276 in file /usr/lib/perl5/vendor_perl/5.8.8/Net/Server.pm
2011/12/04-03:10:44 Server closing!
2011/12/04-03:10:54 Couldn't find pid in existing pid_file at /usr/lib/perl5/vendor_perl/5.8.8/Net/Server/Daemonize.pm line 61.
at line 276 in file /usr/lib/perl5/vendor_perl/5.8.8/Net/Server.pm
2011/12/04-03:10:54 Server closing!
我在Daemonize.pm中查找了第61行,它是:
my $current_pid = $_current_pid =~ /^(\d{1,10})/ ? $1 : die "Couldn't find pid in existing pid_file";
我试图重命名/etc/munin/munin-node.conf中的pid文件,但这也没有改变任何东西
产出:
[root@Server2插件]sudo/usr/sbin/munin节点配置-建议
我觉得这一切都很完美
知道我可以尝试什么吗?删除原始PID文件修复了问题。可以试试这个Q吗?