安装MHA manager节点缺少rpm问题解决

redhat 5.5安装mha


安装manager节点 依赖包:
shell> yum install perl-DBD-MySQL
shell> yum install perl-Config-Tiny
shell> yum install perl-Log-Dispatch
shell> yum install perl-Parallel-ForkManager



安装perl-Log-Dispatch的时候报错:
# rpm -ivh perl-Log-Dispatch-2.26-1.el5.rf.noarch.rpm
warning: perl-Log-Dispatch-2.26-1.el5.rf.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
error: Failed dependencies:
        perl(Params::Validate) >= 0.15 is needed by perl-Log-Dispatch-2.26-1.el5.rf.noarch


缺少perl-perl-Params-Validate-*


常用的搜索、下载rpm的网站:
http://apt.sw.be/
http://rpm.pbone.net/  


下载perl-Params-Validate-0.95-5.1.x86_64.rpm,安装:

warning: perl-Params-Validate-0.95-5.1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID d91ca522
error: Failed dependencies:
        perl(Attribute::Handlers) >= 0.79 is needed by perl-Params-Validate-0.95-5.1.x86_64


这是因为安装了旧版本的GPG keys造成的,解决办法就是
rpm --import /etc/pki/rpm-gpg/RPM*
加上安装参数,重新安装:
[root@bssnusb04 ~]# rpm -ivh perl-Params-Validate-0.95-5.1.x86_64.rpm --force --nodeps
warning: perl-Params-Validate-0.95-5.1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID d91ca522
Preparing...                ########################################### [100%]
   1:perl-Params-Validate   ########################################### [100%]


安装成功


[root@bssnusb04 ~]# rpm -ivh perl-Time-HiRes-1.9724-1.el5.rf.x86_64.rpm --force --nodeps
warning: perl-Time-HiRes-1.9724-1.el5.rf.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
Preparing...                ########################################### [100%]
   1:perl-Time-HiRes        ########################################### [100%]


[root@bssnusb04 rpm]# rpm -ivh perl-Log-Dispatch-2.26-1.el5.rf.noarch.rpm
warning: perl-Log-Dispatch-2.26-1.el5.rf.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
Preparing...                ########################################### [100%]
   1:perl-Log-Dispatch      ########################################### [100%]


[root@bssnusb04 setup]# rpm -ivh mha4mysql-manager-0.55-1.el5.noarch.rpm
Preparing...                ########################################### [100%]
   1:mha4mysql-manager      ########################################### [100%]


mha manager节点安装成功。

你可能感兴趣的:(mysql)