jsnjzlw 发表于 2015-11-22 10:49:14

使用CACTI时出现问题rrd没有,最后发现要安装LWP::UserAgent

看Cacti Graph Debug Mode发现如下报错
RRDTool Says:
ERROR: opening '/data/local/nginx/html/cacti/rra/dns-cnc_ucd_load1min_461.rrd': No such file or directory
图片显示空

网上找是,Perl少了组件,解决方法如下:
命令行下运行
# perl -MCPAN -e shell
之后回车 按提示输入 之后
# cpan> install LWP::UserAgent
安装完成
# cpan> exit
刷新看日志为OK





>遇到问题 LWP not available
>解决方法
cpan > o conf init
cpan > o conf urllist shift
cpan > o conf urllist push http://mirrors.163.com/cpan/
cpan > o conf urllist
cpan > o conf commit (永久保存以上设置)
cpan > install LWP::UserAgent (use LWP to download)


http://www.lishiming.net/thread-886-1-1.html

转自http://lzhrong163.blog.163.com/blog/static/62701255201341644036815/
页: [1]
查看完整版本: 使用CACTI时出现问题rrd没有,最后发现要安装LWP::UserAgent