Open GoogleCodeExporter opened 8 years ago
I think maybe it is network problem
Look at this, run masterha_check_ssh --conf=/etc/app1.cnf It's OK
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ops@B5M-D5:/var/log/masterha/app1$ masterha_check_ssh --conf=/etc/app1.cnf
Wed Jan 9 11:21:05 2013 - [warning] Global configuration file
/etc/masterha_default.cnf not found. Skipping.
Wed Jan 9 11:21:05 2013 - [info] Reading application default configurations
from /etc/app1.cnf..
Wed Jan 9 11:21:05 2013 - [info] Reading server configurations from
/etc/app1.cnf..
Wed Jan 9 11:21:05 2013 - [info] Starting SSH connection tests..
Wed Jan 9 11:21:07 2013 - [debug]
Wed Jan 9 11:21:06 2013 - [debug] Connecting via SSH from
ops@10.10.1.193(10.10.1.193:22) to ops@10.10.1.109(10.10.1.109:22)..
Wed Jan 9 11:21:07 2013 - [debug] ok.
Wed Jan 9 11:21:07 2013 - [debug] Connecting via SSH from
ops@10.10.1.193(10.10.1.193:22) to ops@10.10.1.110(10.10.1.110:22)..
Wed Jan 9 11:21:07 2013 - [debug] ok.
Wed Jan 9 11:21:07 2013 - [debug] Connecting via SSH from
ops@10.10.1.193(10.10.1.193:22) to ops@10.10.1.194(10.10.1.194:22)..
Wed Jan 9 11:21:07 2013 - [debug] ok.
Wed Jan 9 11:21:07 2013 - [debug]
Wed Jan 9 11:21:05 2013 - [debug] Connecting via SSH from
ops@10.10.1.109(10.10.1.109:22) to ops@10.10.1.110(10.10.1.110:22)..
Wed Jan 9 11:21:06 2013 - [debug] ok.
Wed Jan 9 11:21:06 2013 - [debug] Connecting via SSH from
ops@10.10.1.109(10.10.1.109:22) to ops@10.10.1.193(10.10.1.193:22)..
Wed Jan 9 11:21:07 2013 - [debug] ok.
Wed Jan 9 11:21:07 2013 - [debug] Connecting via SSH from
ops@10.10.1.109(10.10.1.109:22) to ops@10.10.1.194(10.10.1.194:22)..
Wed Jan 9 11:21:07 2013 - [debug] ok.
Wed Jan 9 11:21:08 2013 - [debug]
Wed Jan 9 11:21:07 2013 - [debug] Connecting via SSH from
ops@10.10.1.194(10.10.1.194:22) to ops@10.10.1.109(10.10.1.109:22)..
Wed Jan 9 11:21:07 2013 - [debug] ok.
Wed Jan 9 11:21:07 2013 - [debug] Connecting via SSH from
ops@10.10.1.194(10.10.1.194:22) to ops@10.10.1.110(10.10.1.110:22)..
Wed Jan 9 11:21:08 2013 - [debug] ok.
Wed Jan 9 11:21:08 2013 - [debug] Connecting via SSH from
ops@10.10.1.194(10.10.1.194:22) to ops@10.10.1.193(10.10.1.193:22)..
Wed Jan 9 11:21:08 2013 - [debug] ok.
Wed Jan 9 11:21:10 2013 - [debug]
Wed Jan 9 11:21:06 2013 - [debug] Connecting via SSH from
ops@10.10.1.110(10.10.1.110:22) to ops@10.10.1.109(10.10.1.109:22)..
Wed Jan 9 11:21:06 2013 - [debug] ok.
Wed Jan 9 11:21:06 2013 - [debug] Connecting via SSH from
ops@10.10.1.110(10.10.1.110:22) to ops@10.10.1.193(10.10.1.193:22)..
Wed Jan 9 11:21:07 2013 - [debug] ok.
Wed Jan 9 11:21:07 2013 - [debug] Connecting via SSH from
ops@10.10.1.110(10.10.1.110:22) to ops@10.10.1.194(10.10.1.194:22)..
Wed Jan 9 11:21:10 2013 - [debug] ok.
Wed Jan 9 11:21:10 2013 - [info] All SSH connection tests passed successfully.
ops@B5M-D5:/var/log/masterha/app1$
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
and,I do it again
ops@B5M-D5:/var/log/masterha/app1$ masterha_check_ssh --conf=/etc/app1.cnf
Wed Jan 9 11:27:54 2013 - [warning] Global configuration file
/etc/masterha_default.cnf not found. Skipping.
Wed Jan 9 11:27:54 2013 - [info] Reading application default configurations
from /etc/app1.cnf..
Wed Jan 9 11:27:54 2013 - [info] Reading server configurations from
/etc/app1.cnf..
Wed Jan 9 11:27:54 2013 - [info] Starting SSH connection tests..
Wed Jan 9 11:27:56 2013 - [debug]
Wed Jan 9 11:27:54 2013 - [debug] Connecting via SSH from
ops@10.10.1.109(10.10.1.109:22) to ops@10.10.1.110(10.10.1.110:22)..
Wed Jan 9 11:27:55 2013 - [debug] ok.
Wed Jan 9 11:27:55 2013 - [debug] Connecting via SSH from
ops@10.10.1.109(10.10.1.109:22) to ops@10.10.1.193(10.10.1.193:22)..
Wed Jan 9 11:27:56 2013 - [debug] ok.
Wed Jan 9 11:27:56 2013 - [debug] Connecting via SSH from
ops@10.10.1.109(10.10.1.109:22) to ops@10.10.1.194(10.10.1.194:22)..
Wed Jan 9 11:27:56 2013 - [debug] ok.
Wed Jan 9 11:27:57 2013 - [debug]
Wed Jan 9 11:27:56 2013 - [debug] Connecting via SSH from
ops@10.10.1.194(10.10.1.194:22) to ops@10.10.1.109(10.10.1.109:22)..
Wed Jan 9 11:27:56 2013 - [debug] ok.
Wed Jan 9 11:27:56 2013 - [debug] Connecting via SSH from
ops@10.10.1.194(10.10.1.194:22) to ops@10.10.1.110(10.10.1.110:22)..
Wed Jan 9 11:27:57 2013 - [debug] ok.
Wed Jan 9 11:27:57 2013 - [debug] Connecting via SSH from
ops@10.10.1.194(10.10.1.194:22) to ops@10.10.1.193(10.10.1.193:22)..
Wed Jan 9 11:27:57 2013 - [debug] ok.
Wed Jan 9 11:27:59 2013 - [debug]
Wed Jan 9 11:27:55 2013 - [debug] Connecting via SSH from
ops@10.10.1.193(10.10.1.193:22) to ops@10.10.1.109(10.10.1.109:22)..
Wed Jan 9 11:27:56 2013 - [debug] ok.
Wed Jan 9 11:27:56 2013 - [debug] Connecting via SSH from
ops@10.10.1.193(10.10.1.193:22) to ops@10.10.1.110(10.10.1.110:22)..
Wed Jan 9 11:27:59 2013 - [debug] ok.
Wed Jan 9 11:27:59 2013 - [debug] Connecting via SSH from
ops@10.10.1.193(10.10.1.193:22) to ops@10.10.1.194(10.10.1.194:22)..
Wed Jan 9 11:27:59 2013 - [debug] ok.
Wed Jan 9 11:28:03 2013 - [error][/usr/share/perl5/MHA/SSHCheck.pm, ln63]
Wed Jan 9 11:27:55 2013 - [debug] Connecting via SSH from
ops@10.10.1.110(10.10.1.110:22) to ops@10.10.1.109(10.10.1.109:22)..
Wed Jan 9 11:27:59 2013 - [debug] ok.
Wed Jan 9 11:27:59 2013 - [debug] Connecting via SSH from
ops@10.10.1.110(10.10.1.110:22) to ops@10.10.1.193(10.10.1.193:22)..
Wed Jan 9 11:27:59 2013 - [debug] ok.
Wed Jan 9 11:27:59 2013 - [debug] Connecting via SSH from
ops@10.10.1.110(10.10.1.110:22) to ops@10.10.1.194(10.10.1.194:22)..
ssh: connect to host 10.10.1.194 port 22: Connection timed out
Wed Jan 9 11:28:03 2013 - [error][/usr/share/perl5/MHA/SSHCheck.pm, ln107] SSH
connection from ops@10.10.1.110(10.10.1.110:22) to
ops@10.10.1.194(10.10.1.194:22) failed!
SSH Configuration Check Failed!
at /usr/bin/masterha_check_ssh line 44
Hi~~~Dear's Yoshinor
Do you think it is a network problem
Original comment by yanq...@b5m.com
on 9 Jan 2013 at 3:29
Network may have problems. Check your network admin.
The latest MHA (0.55) has a parameter to change ssh connection timeout
(http://code.google.com/p/mysql-master-ha/wiki/Parameters). Default is 5
seconds. You may increase timeouts.
Original comment by Yoshinor...@gmail.com
on 9 Jan 2013 at 3:43
Original issue reported on code.google.com by
yanq...@b5m.com
on 9 Jan 2013 at 3:16