[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)
有没有遇到同样问题的童鞋,求助
已解决
此故障是因为安装的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
编辑回复