首页 > 其他分享 >Bareword "FIXME_xxx" not allowed while "strict subs" in use at /usr/bin/master_i

Bareword "FIXME_xxx" not allowed while "strict subs" in use at /usr/bin/master_i

时间:2023-01-29 17:44:32浏览次数:107  
标签:bin FIXME 12 subs 04 13 29 Jan 2023

[root@localhost samples]# masterha_check_repl --conf=/etc/app1.cnf
Sun Jan 29 04:13:11 2023 - [warning] Global configuration file /etc/masterha_default.cnf not found. Skipping.
Sun Jan 29 04:13:11 2023 - [info] Reading application default configuration from /etc/app1.cnf..
Sun Jan 29 04:13:11 2023 - [info] Reading server configuration from /etc/app1.cnf..
Sun Jan 29 04:13:11 2023 - [info] MHA::MasterMonitor version 0.58.
Sun Jan 29 04:13:11 2023 - [debug] Connecting to servers..
Sun Jan 29 04:13:12 2023 - [debug] Connected to: 192.168.23.12(192.168.23.12:4306), user=mha
Sun Jan 29 04:13:12 2023 - [debug] Number of slave worker threads on host 192.168.23.12(192.168.23.12:4306): 2
Sun Jan 29 04:13:12 2023 - [debug] Connected to: 192.168.23.11(192.168.23.11:4306), user=mha
Sun Jan 29 04:13:12 2023 - [debug] Number of slave worker threads on host 192.168.23.11(192.168.23.11:4306): 2
Sun Jan 29 04:13:12 2023 - [debug] Comparing MySQL versions..
Sun Jan 29 04:13:12 2023 - [debug] Comparing MySQL versions done.
Sun Jan 29 04:13:12 2023 - [debug] Connecting to servers done.
Sun Jan 29 04:13:12 2023 - [info] GTID failover mode = 1
Sun Jan 29 04:13:12 2023 - [info] Dead Servers:
Sun Jan 29 04:13:12 2023 - [info] Alive Servers:
Sun Jan 29 04:13:12 2023 - [info] 192.168.23.12(192.168.23.12:4306)
Sun Jan 29 04:13:12 2023 - [info] 192.168.23.11(192.168.23.11:4306)
Sun Jan 29 04:13:12 2023 - [info] Alive Slaves:
Sun Jan 29 04:13:12 2023 - [info] 192.168.23.11(192.168.23.11:4306) Version=5.7.40-log (oldest major version between slaves) log-bin:enabled
Sun Jan 29 04:13:12 2023 - [info] GTID ON
Sun Jan 29 04:13:12 2023 - [debug] Relay log info repository: TABLE
Sun Jan 29 04:13:12 2023 - [info] Replicating from 192.168.23.12(192.168.23.12:4306)
Sun Jan 29 04:13:12 2023 - [info] Primary candidate for the new Master (candidate_master is set)
Sun Jan 29 04:13:12 2023 - [info] Current Alive Master: 192.168.23.12(192.168.23.12:4306)
Sun Jan 29 04:13:12 2023 - [info] Checking slave configurations..
Sun Jan 29 04:13:12 2023 - [info] read_only=1 is not set on slave 192.168.23.11(192.168.23.11:4306).
Sun Jan 29 04:13:12 2023 - [info] Checking replication filtering settings..
Sun Jan 29 04:13:12 2023 - [info] binlog_do_db= , binlog_ignore_db=
Sun Jan 29 04:13:12 2023 - [info] Replication filtering check ok.
Sun Jan 29 04:13:12 2023 - [info] GTID (with auto-pos) is supported. Skipping all SSH and Node package checking.
Sun Jan 29 04:13:12 2023 - [info] Checking SSH publickey authentication settings on the current master..
Sun Jan 29 04:13:12 2023 - [debug] SSH connection test to 192.168.23.12, option -o StrictHostKeyChecking=no -o PasswordAuthentication=no -o BatchMode=yes -o ConnectTimeout=5, timeout 5
Sun Jan 29 04:13:12 2023 - [info] HealthCheck: SSH to 192.168.23.12 is reachable.
Sun Jan 29 04:13:12 2023 - [info]
192.168.23.12(192.168.23.12:4306) (current master)
+--192.168.23.11(192.168.23.11:4306)

Sun Jan 29 04:13:12 2023 - [info] Checking replication health on 192.168.23.11..
Sun Jan 29 04:13:12 2023 - [info] ok.
Sun Jan 29 04:13:12 2023 - [info] Checking master_ip_failover_script status:
Sun Jan 29 04:13:12 2023 - [info] /usr/bin/master_ip_failover --interface=ens33 --key=66 --vip=192.168.23.20/24 --ssh_user=root --ssh_port=22 --command=status --ssh_user=root --orig_master_host=192.168.23.12 --orig_master_ip=192.168.23.12 --orig_master_port=4306
Bareword "FIXME_xxx" not allowed while "strict subs" in use at /usr/bin/master_ip_failover line 93.
Execution of /usr/bin/master_ip_failover aborted due to compilation errors.
Sun Jan 29 04:13:12 2023 - [error][/usr/share/perl5/vendor_perl/MHA/MasterMonitor.pm, ln229] Failed to get master_ip_failover_script status with return code 255:0.
Sun Jan 29 04:13:12 2023 - [error][/usr/share/perl5/vendor_perl/MHA/MasterMonitor.pm, ln427] Error happened on checking configurations. at /usr/bin/masterha_check_repl line 48.
Sun Jan 29 04:13:12 2023 - [error][/usr/share/perl5/vendor_perl/MHA/MasterMonitor.pm, ln525] Error happened on monitoring servers.
Sun Jan 29 04:13:12 2023 - [info] Got exit code 1 (Not master dead).

MySQL Replication Health is NOT OK!

 

把93行#FIXME_xxx;  注释掉

refer to:Percona-mysql MHA高可用实战方案 (gxlsystem.com)

标签:bin,FIXME,12,subs,04,13,29,Jan,2023
From: https://www.cnblogs.com/102x/p/17073371.html

相关文章