我在yum更新后通过yum安装了munin(和munin-node),这一切都在CentOS 6.6 - 64bit上使用directadmin。这一切都很顺利,包括相关的包。
现在,当我尝试启动munin-node服务时,我收到以下错误。
Starting Munin Node: Base class package "Net::Server::Fork" is empty.
(Perhaps you need to 'use' the module which defines that package first,
or make that module available in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5).
at /usr/share/perl5/vendor_perl/Munin/Node/Server.pm line 5
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Munin/Node/Server.pm line 5.
Compilation failed in require at /usr/sbin/munin-node line 36.
BEGIN failed--compilation aborted at /usr/sbin/munin-node line 36.
任何人都可以帮我解决这个错误吗? (我的背景是更多的PHP ...)
答案 0 :(得分:1)
munin-node
包和perl-Net-Server
包(提供Net::Server::Fork
)不同步。更新perl-Net-Server
包来自与munin-node
包相同的存储库应该有助于解决问题。