被兔兔吃掉的红红 2021-05-29 11:03 采纳率: 0%
浏览 41

MHA报错[error][/usr/sh

具体如下  

 

at May 29 11:01:43 2021 - [info]   Executing command: save_binary_logs --command=test --start_pos=4 --binlog_dir=/data/mysql/binlog/ --output_file=/var/tmp/save_binary_logs_test --manager_version=0.56 --start_file=mysql-bin.000010 
Sat May 29 11:01:43 2021 - [info]   Connecting to root@192.168.200.158(192.168.200.158:22).. 
Failed to save binary log: Binlog not found from /data/mysql/binlog/! If you got this error at MHA Manager, please set "master_binlog_dir=/path/to/binlog_directory_of_the_master" correctly in the MHA Manager's configuration file and try again.
 at /usr/bin/save_binary_logs line 123.
    eval {...} called at /usr/bin/save_binary_logs line 70
    main::main() called at /usr/bin/save_binary_logs line 66
Sat May 29 11:01:43 2021 - [error][/usr/share/perl5/vendor_perl/MHA/MasterMonitor.pm, ln158] Binlog setting check failed!
Sat May 29 11:01:43 2021 - [error][/usr/share/perl5/vendor_perl/MHA/MasterMonitor.pm, ln264] Binlog server configuration failed.
Sat May 29 11:01:43 2021 - [error][/usr/share/perl5/vendor_perl/MHA/MasterMonitor.pm, ln424] Error happened on checking configurations.  at /usr/bin/masterha_check_repl line 48.
Sat May 29 11:01:43 2021 - [error][/usr/share/perl5/vendor_perl/MHA/MasterMonitor.pm, ln523] Error happened on monitoring servers.
Sat May 29 11:01:43 2021 - [info] Got exit code 1 (Not master dead).

MySQL Replication Health is NOT OK!
 

 

救救孩子吧

  • 写回答

1条回答 默认 最新

  • 关注

    Failed to save binary log: Binlog not found from /data/mysql/binlog/! If you got this error at MHA Manager, please set "master_binlog_dir=/path/to/binlog_directory_of_the_master" correctly in the MHA Manager's configuration file and try again.
    at /usr/bin/save_binary_logs line 123.
    这已经提示啦,需要正确设置master_binlog_dir=/path/to/binlog_directory_of_the_master,设置完了在重新试试

    评论

报告相同问题?

悬赏问题

  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器