运维开发网

安装mha0.58报错的问题处理

运维开发网 https://www.qedev.com 2020-01-30 14:58 出处:网络 作者:dengwang123
报错信息如下:"NI_NUMERICHOST" is not exported by the Socket module "getaddrinfo" is not exported by the Socket module "getnameinfo" is not exported by the Socket moduleCan't continue after import errors at

报错信息如下:

"NI_NUMERICHOST" is not exported by the Socket module

 "getaddrinfo" is not exported by the Socket module

 "getnameinfo" is not exported by the Socket module

Can't continue after import errors at /usr/local/share/perl5/MHA/NodeUtil.pm line 29

BEGIN failed--compilation aborted at /usr/local/share/perl5/MHA/NodeUtil.pm line 29.

Compilation failed in require at /usr/local/share/perl5/MHA/SlaveUtil.pm line 28.

BEGIN failed--compilation aborted at /usr/local/share/perl5/MHA/SlaveUtil.pm line 28.

Compilation failed in require at /usr/local/share/perl5/MHA/DBHelper.pm line 26.

BEGIN failed--compilation aborted at /usr/local/share/perl5/MHA/DBHelper.pm line 26.

Compilation failed in require at /usr/local/share/perl5/MHA/HealthCheck.pm line 30.

BEGIN failed--compilation aborted at /usr/local/share/perl5/MHA/HealthCheck.pm line 30.

Compilation failed in require at /usr/local/share/perl5/MHA/Server.pm line 28.

BEGIN failed--compilation aborted at /usr/local/share/perl5/MHA/Server.pm line 28.

Compilation failed in require at /usr/local/share/perl5/MHA/Config.pm line 29.

BEGIN failed--compilation aborted at /usr/local/share/perl5/MHA/Config.pm line 29.

Compilation failed in require at /usr/local/share/perl5/MHA/MasterMonitor.pm line 30.

BEGIN failed--compilation aborted at /usr/local/share/perl5/MHA/MasterMonitor.pm line 30.

Compilation failed in require at /usr/local/bin/masterha_manager line 26.

BEGIN failed--compilation aborted at /usr/local/bin/masterha_manager line 26.

处理方式:

yum  -y  install http://repo.openfusion.net/centos6-x86_64/perl-Socket-2.009-1.of.el6.x86_64.rpm

0

精彩评论

暂无评论...
验证码 换一张
取 消