Failed to start MySQL Monitor.

Failed to start MySQL Monitor.

** Failed to start MySQL MMM Monitor.**

[root@monitor ~]# tail -f /var/log/mysql-mmm/mmm_mond.log

** 2022/10/18 21:17:07 INFO STARTING...

2022/10/18 21:17:07 INFO Waiting for network connection...

2022/10/18 21:17:07 INFO Spawning checker 'ping_ip'...

2022/10/18 21:17:07 INFO Shutting down checker 'ping_ip'...

2022/10/18 21:17:07 INFO Network connection is available.

2022/10/18 21:17:07 INFO Performing initial checks...

2022/10/18 21:17:07 INFO Spawning checker 'mysql'...

2022/10/18 21:17:07 INFO Shutting down checker 'mysql'...

2022/10/18 21:17:07 INFO Spawning checker 'ping'...

2022/10/18 21:17:07 INFO Shutting down checker 'ping'...

2022/10/18 21:17:07 INFO Spawning checker 'rep_backlog'...

2022/10/18 21:17:07 INFO Shutting down checker 'rep_backlog'...

2022/10/18 21:17:07 INFO Spawning checker 'rep_threads'...

2022/10/18 21:17:07 INFO Shutting down checker 'rep_threads'...

2022/10/18 21:17:07 WARN No binary found for killing hosts (/usr/libexec/mysql-mmm/monitor/kill_host).** 2022/10/18 21:17:08 INFO Startup status:

Roles: Role Host Stored System Agent writer(192.168.0.21) master1 Yes Yes Yes reader(192.168.0.23) slave1 Yes Yes Yes reader(192.168.0.22) slave2 Yes Yes Yes reader(192.168.0.24) master2 Yes Yes Yes reader(192.168.0.25) master1 Yes Yes Yes

Hosts: Host Master Writable Stored state Agent state master1 - Yes ONLINE ONLINE slave1 master1 No ONLINE ONLINE master2 - No ONLINE ONLINE slave2 master1 No ONLINE ONLINE 2022/10/18 21:17:09 INFO Monitor started in active mode. 2022/10/18 21:17:12 INFO Spawning checker 'ping_ip'... 2022/10/18 21:17:12 INFO Spawning checker 'mysql'... 2022/10/18 21:17:12 INFO Spawning checker 'ping'... 2022/10/18 21:17:13 INFO Spawning checker 'rep_backlog'... 2022/10/18 21:17:13 INFO Spawning checker 'rep_threads'... 2022/10/18 21:17:13 INFO Check 'mysql' on 'master1' is ok! 2022/10/18 21:17:13 INFO Check 'mysql' on 'slave1' is ok! 2022/10/18 21:17:13 INFO Check 'mysql' on 'master2' is ok! 2022/10/18 21:17:13 INFO Check 'mysql' on 'slave2' is ok! 2022/10/18 21:17:13 INFO Check 'ping' on 'master1' is ok! 2022/10/18 21:17:13 INFO Check 'ping' on 'slave1' is ok! 2022/10/18 21:17:13 INFO Check 'ping' on 'master2' is ok! 2022/10/18 21:17:13 INFO Check 'ping' on 'slave2' is ok! 2022/10/18 21:17:13 INFO Check 'rep_backlog' on 'master1' is ok! 2022/10/18 21:17:13 INFO Check 'rep_backlog' on 'slave1' is ok! 2022/10/18 21:17:13 INFO Check 'rep_backlog' on 'master2' is ok! 2022/10/18 21:17:13 INFO Check 'rep_backlog' on 'slave2' is ok! 2022/10/18 21:17:13 INFO Check 'rep_threads' on 'master1' is ok! 2022/10/18 21:17:13 INFO Check 'rep_threads' on 'slave1' is ok! 2022/10/18 21:17:13 INFO Check 'rep_threads' on 'master2' is ok! 2022/10/18 21:17:13 INFO Check 'rep_threads' on 'slave2' is ok! 2022/10/18 21:18:37 INFO Signal received: exiting...

2022/10/18 21:18:37 INFO Shutting down checker 'rep_threads'...

2022/10/18 21:18:37 INFO Shutting down checker 'ping'...

2022/10/18 21:18:37 INFO Shutting down checker 'rep_backlog'...

2022/10/18 21:18:37 INFO Shutting down checker 'ping_ip'...

2022/10/18 21:18:37 INFO Shutting down checker 'mysql'...

2022/10/18 21:18:40 INFO END


**[root@monitor ~]# tail -f /var/log/messages **

2022/10/18 21:18:40 INFO END Oct 18 21:18:40 localhost mmm_mond:

2022/10/18 21:18:40 INFO Child exited normally (with exitcode 0), shutting down

Oct 18 21:18:40 localhost systemd: Failed to start MySQL MMM Monitor.

Oct 18 21:18:40 localhost systemd: Unit mysql-mmm-monitor.service entered failed state.

Oct 18 21:18:40 localhost systemd: mysql-mmm-monitor.service failed.


虚拟Ip:0.21----0.25 0.21 为写,其他为read

# master1 ip: 0.12

[root@localhost ~]# ip addr | grep ens32 2: ens32: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 inet 192.168.0.12/24 brd 192.168.0.255 scope global noprefixroute ens32 inet 192.168.0.25/32 scope global ens32 inet 192.168.0.21/32 scope global ens32

# master2 ip: 0.13

[root@localhost ~]# ip addr | grep ens32 2: ens32: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 inet 192.168.0.13/24 brd 192.168.0.255 scope global noprefixroute ens32 inet 192.168.0.24/32 scope global ens32

# slave1 ip:0.14

[root@localhost ~]# ip addr | grep ens32 2: ens32: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 inet 192.168.0.14/24 brd 192.168.0.255 scope global noprefixroute ens32 inet 192.168.0.23/32 scope global ens32

# slave ip:0.15

[root@localhost ~]# ip addr | grep ens32 2: ens32: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 inet 192.168.0.15/24 brd 192.168.0.255 scope global noprefixroute ens32 inet 192.168.0.22/32 scope global ens32 —————————————————————————————————————————————————

问题:systemctl restart mysql-mmm-monitor Job for mysql-mmm-monitor.service failed because a timeout was exceeded. See "systemctl status mysql-mmm-monitor.service" and "journalctl -xe" for details.

求解决思路:

Failed to start
MySQL MMM Monito
journalctl -xe
2022-10-18 22:09:14
浏览
收藏 0
回答 2
待解决
回答 2
按赞同
/
按时间
suncomeby
2

半个月了没有找到答案

分享
微博
QQ
微信
回复
2022-10-21 16:51:23
wx63bf7acf0ecfd

咱俩是不是一样的问题

朋友你的解决了吗

分享
微博
QQ
微信
回复
2023-01-12 11:14:19
相关问题
安装MySQL为什么要创建MySQL用户?
720浏览 • 1回复 待解决
Failure[INSTALL_FAILED_BUNDLE_INFO_NOT_CONFIG]
2900浏览 • 1回复 待解决
RDS MySQL8.0如何升级到PolarDB MySQL?
1593浏览 • 1回复 待解决
previewer 一直loading failed怎么回事?
660浏览 • 1回复 待解决
ERROR_GET_BUNDLE_INSTALLER_FAILED
1548浏览 • 1回复 待解决
OpenHarmony提示同步失败:sync Failed
458浏览 • 1回复 待解决
Error: Install eTS 3.1.0.0 failed.
2122浏览 • 1回复 待解决