安装完smokeping,执行debug语句: ./bin/smokeping --debug-daemon ,提示如下错误:
Can‘t locate RRDs.pm in @INC (@INC contains: /usr/local/smokeping/lib /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/auto/RRDs /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/local/smokeping/lib/Smokeping.pm line 13.
BEGIN failed--compilation aborted at /usr/local/smokeping/lib/Smokeping.pm line 13.
网上介绍了很多麻烦的办法,其实找到出问题的原因后,直接 yum install perl-rrdtool 即可解决!
smokeping报错Can't locate RRDs.pm in @INC (@INC contains
时间: 2024-12-30 03:18:06