masterha_check_ssh --conf=/etc/mha/mysql_mha.cnf出现如下错误:

来源:5-17 MHA架构实例演示(2)

慕容8545679

2019-09-02

Can’t locate Log/Dispatch.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/share/perl5/vendor_perl/MHA/SSHCheck.pm line 29.
BEGIN failed–compilation aborted at /usr/share/perl5/vendor_perl/MHA/SSHCheck.pm line 29.
Compilation failed in require at /usr/bin/masterha_check_ssh line 25.
BEGIN failed–compilation aborted at /usr/bin/masterha_check_ssh line 25.

写回答

1回答

sqlercn

2019-09-03

这因该是应为缺少Dispatch这个perl这个包

1
2
慕婉清8389218
回复
慕容8545679
Dispatch这个包你怎么安装的?
2020-02-25
共2条回复

MySQL提升课程 全面讲解MySQL架构设计

面面俱到讲解影响MySQL性能的各个因素,让MySQL架构了然于胸。

4419 学习 · 547 问题

查看课程