Home > database >  Mysql installation error check mha repl, great god give advice or comments, please
Mysql installation error check mha repl, great god give advice or comments, please

Time:09-26

Environment: centos 7 mysql 5.7.23 mha mha4mysql - manager - 0.56

Install MHA, execute the following error when check repl
[root @ m65 app1] # masterha_check_repl -- the conf=/etc/mastermha. CNF
Wed Sep 12 23:57:28 2018 - [warning] Global configuration file/etc/masterha_default CNF not found. Skipping.
Wed Sep 12 23:57:28 2018 - [info] Reading application default configuration from the/etc/mastermha. CNF..
Wed Sep 12 23:57:28 2018 - [info] Reading server configuration from the/etc/mastermha. CNF..
Wed Sep 12 23:57:28 2018 - [info] MHA: : MasterMonitor version 0.56.
Wed Sep 12 23:57:28 2018 - [error] [/usr/share/perl 5/vendor_perl/MHA./the ServerManager PM, ln301] install_driver (mysql) failed: Attempt to reload DBD/mysql PM aborted.
Compilation failed in the require at 37 (eval) line 3.

The at/usr/share/perl 5/vendor_perl/MHA/DBHelper PM line 205.
The at/usr/share/perl 5/vendor_perl MHA/Server. The PM line 166.
Wed Sep 12 23:57:28 2018 - [error] [/usr/share/perl 5/vendor_perl/MHA./the ServerManager PM, ln301] install_driver (mysql) failed: Attempt to reload DBD/mysql PM aborted.
Compilation failed in the require at 37 (eval) line 3.

The at/usr/share/perl 5/vendor_perl/MHA/DBHelper PM line 205.
The at/usr/share/perl 5/vendor_perl MHA/Server. The PM line 166.
Wed Sep 12 23:57:28 2018 - [error] [/usr/share/perl 5/vendor_perl/MHA./the ServerManager PM, ln301] install_driver (mysql) failed: Attempt to reload DBD/mysql PM aborted.
Compilation failed in the require at 37 (eval) line 3.

The at/usr/share/perl 5/vendor_perl/MHA/DBHelper PM line 205.
The at/usr/share/perl 5/vendor_perl MHA/Server. The PM line 166.
Wed Sep 12 23:57:29 2018 - [error] [/usr/share/perl 5/vendor_perl/MHA./the ServerManager PM, ln309] Got fatal error, stopping operations
Wed Sep 12 23:57:29 2018 - [error] [/usr/share/perl 5/vendor_perl/MHA/MasterMonitor PM, ln424] error happened on checking configurations. The at/usr/share/perl 5/vendor_perl/MHA/MasterMonitor PM line 326.
Wed Sep 12 23:57:29 2018 - [error] [/usr/share/perl 5/vendor_perl/MHA/MasterMonitor PM, ln523] error happened on monitoring the servers.
Wed Sep 12 23:57:29 2018 - [info] Got the exit code 1 (Not master dead).

MySQL Replication Health is NOT OK!
  • Related