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
相关问题
HarmonyOS @Monitor没有响应
11浏览 • 1回复 待解决
HarmonyOS aa start跳转问题
41浏览 • 1回复 待解决
如何使用hdc shell aa start的参数
1029浏览 • 1回复 待解决
HarmonyOS customScan.start扫码报错1000500001
117浏览 • 1回复 待解决
linear-gradient不支持start,end属性
852浏览 • 1回复 待解决
安装MySQL为什么要创建MySQL用户?
2219浏览 • 1回复 待解决