安装cacti时出错

回复 收藏

[root@CentOS05 ~]# yum install -y cacti net-snmp net-snmp-utils rrdtool 

出现错误

Error: Package: cacti-0.8.8h-1.el6.noarch (epel)

          Requires: php-snmp

You could try using --skip-broken to work around the problem

You could try running: rpm -Va --nofiles --nodigest

epel扩展源也没有问题,

[root@CentOS05 local]# yum search php-snmp

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

Warning: No matches found for: php-snmp

No Matches found

安装的cacti是cacti-0.8.8h-1.el6.noarch (epel)

有没有遇到同样问题的童鞋,求助

2016-10-11 18:21 举报
已邀请:
0

xpp295

赞同来自:

已解决

此故障是因为安装的cacti包太新导致的,安装最新epel源即可

下面提供两个最新的epel源地址

Centos 5.x

wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
sudo rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm

Centos 6.x

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm

回复帖子,请先登录注册

退出全屏模式 全屏模式 回复
评分
可选评分理由: