mha_replication_check Can't exec "mysqlbinlog": No such file or directory
Can't exec "mysqlbinlog": No such file or directory at /usr/share/perl5/vendor_perl/MHA/BinlogManager.pm line 106.
mysqlbinlog version command failed with rc 1:0, please verify PATH, LD_LIBRARY_PATH, and client options
at /usr/bin/apply_diff_relay_logs line 493.
Thu Jan 19 09:59:30 2017 - [error][/usr/lib/perl5/vendor_perl/MHA/MasterMonitor.pm, ln412] Slaves settings check failed!
Thu Jan 19 09:59:30 2017 - [error][/usr/lib/perl5/vendor_perl/MHA/MasterMonitor.pm, ln275] Slave configuration failed.
Thu Jan 19 09:59:30 2017 - [error][/usr/lib/perl5/vendor_perl/MHA/MasterMonitor.pm, ln520] Error happened on checking configurations. at /usr/bin/masterha_check_repl line 48
Thu Jan 19 09:59:30 2017 - [error][/usr/lib/perl5/vendor_perl/MHA/MasterMonitor.pm, ln691] Error happened on monitoring servers.
Thu Jan 19 09:59:30 2017 - [info] Got exit code 1 (Not master dead).
MySQL Replication Health is NOT OK!
修改root 環境變數沒有效果後,軟連結強制呼叫命令:
[root@YRZ-TR-DBM2 ~]# ln -s /home/mysql/mysql/bin/mysqlbinlog /usr/local/bin/mysqlbinlog
Thu Jan 19 09:59:57 2017 - [info] Checking replication health on 10.50.28.96..
Thu Jan 19 09:59:57 2017 - [info] ok.
Thu Jan 19 09:59:57 2017 - [info] Checking replication health on 10.50.28.97..
Thu Jan 19 09:59:57 2017 - [info] ok.
Thu Jan 19 09:59:57 2017 - [info] Checking replication health on 10.50.28.65..
Thu Jan 19 09:59:57 2017 - [info] ok.
Thu Jan 19 09:59:57 2017 - [info] Checking replication health on 10.50.28.66..
Thu Jan 19 09:59:57 2017 - [info] ok.
Thu Jan 19 09:59:57 2017 - [warning] master_ip_failover_script is not defined.
Thu Jan 19 09:59:57 2017 - [warning] shutdown_script is not defined.
Thu Jan 19 09:59:57 2017 - [info] Got exit code 0 (Not master dead).
MySQL Replication Health is OK.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29291882/viewspace-2132665/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- tar (child): bzip2: Cannot exec: No such file or directory 報錯
- MongoDB報錯:"assertion" : "can't map file memory"MongoDB
- can't create PID file問題處理
- 自定義容器啟動指令碼報錯:exec user process caused "no such file or directory"指令碼
- errors in crontab file, can't install. - linux crontabErrorLinux
- mysqld: Can‘t create directory ‘E:\Software\mysql-5.7.24-winx64\data\‘ (Errcode: 2 - NoMySql
- Oracle ASM File DirectoryOracleASM
- Fatal error: can't check configuration file '/home/watt/proxy/dError
- iOS小記--libtool: can't locate file for: -lPods-xxxiOS
- python unix :No such file or directoryPython
- 執行exec dbms_logmnr_d.build('Logminer.ora','file directory'),提示下標超界UI
- docker容器掛載 No such file or directoryDocker
- rman: can't open target
- 【crontab】“bad minute”及“errors in crontab file, can't install”錯誤處理Error
- 啟動infobright的時候遇見Can't find file: './mysql/host.frm'MySql
- gitbook no such file or directory 怎麼解決Git
- mail can't send title on SolarisAI
- Docker 掛載許可權 chcon: can't apply partial context to unlabeled fileDockerAPPContext
- linux操作提示:“Can't open file for writing”或“operation not permitted”的解決辦法LinuxMIT
- MySQL_ERROR 1231 (42000) at line XX in file 'file_name' Variable 'time_zone' can't beMySqlError
- fatal error: openssl/sha.h: No such file or directoryError
- fatal error: sys/cdefs.h: No such file or directoryError
- yum-GPG key retrieval failed: No such file or directoryAI
- Using Create directory & UTL_FILE in OracleOracle
- 【jenkins】/usr/bin/env: php: No such file or directoryJenkinsPHP
- datastage7.5 can't view data?ASTView
- libmysqlclient.so.16: cannot open shared object file: No such file or directoryIBMMySqlclientObject
- libcap.so.1:cannot open shared object file: No such file or directoryObject
- libXext.so.6: cannot open shared object file: No such file or directoryObject
- libz.so.1: cannot open shared object file: No such file or directoryObject
- psql: error: could not connect to server: No such file or directorySQLErrorServer
- fatal error: libmemcached/memcached.h: No such file or directoryErrorIBM
- TypeError: can‘t concat str to bytesError
- Mongoose can't update timestampGo
- [ERROR] Can't open the mysql.plugin tableErrorMySqlPlugin
- mysql遇到Variable can’t be set to the value of ‘NULL’MySqlNull
- Oracle dbconsole can't startOracle
- mysql can't start dues to the disk space is fullMySql