• 欢迎访问开心洋葱网站,在线教程,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站,欢迎加入开心洋葱 QQ群
  • 为方便开心洋葱网用户,开心洋葱官网已经开启复制功能!
  • 欢迎访问开心洋葱网站,手机也能访问哦~欢迎加入开心洋葱多维思维学习平台 QQ群
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏开心洋葱吧~~~~~~~~~~~~~!
  • 由于近期流量激增,小站的ECS没能经的起亲们的访问,本站依然没有盈利,如果各位看如果觉着文字不错,还请看官给小站打个赏~~~~~~~~~~~~~!

【已解决】 [error][/usr/share/perl5/vendor_perl/MHA/SSHCheck.pm, ln63]

服务器 开心洋葱 2717次浏览 9个评论

[root@vm-centos7-64 ~]# masterha_check_ssh –conf=/etc/masterha/app01.conf
Thu Mar 18 20:49:45 2021 – [warning] Global configuration file /etc/masterha_default.cnf not found. Skipping.
Thu Mar 18 20:49:45 2021 – [info] Reading application default configuration from /etc/masterha/app01.conf..
Thu Mar 18 20:49:45 2021 – [info] Reading server configuration from /etc/masterha/app01.conf..
Thu Mar 18 20:49:45 2021 – [info] Starting SSH connection tests..
Thu Mar 18 20:49:50 2021 – [error][/usr/share/perl5/vendor_perl/MHA/SSHCheck.pm, ln63]
Thu Mar 18 20:49:45 2021 – [debug] Connecting via SSH from root@192.168.4.132(192.168.4.132:22) to root@192.168.4.131(192.168.4.131:22)..
ssh: connect to host 192.168.4.132 port 22: Connection timed out
Thu Mar 18 20:49:50 2021 – [error][/usr/share/perl5/vendor_perl/MHA/SSHCheck.pm, ln111] SSH connection from root@192.168.4.132(192.168.4.132:22) to root@192.168.4.131(192.168.4.131:22) failed!
Thu Mar 18 20:49:51 2021 – [error][/usr/share/perl5/vendor_perl/MHA/SSHCheck.pm, ln63]
Thu Mar 18 20:49:46 2021 – [debug] Connecting via SSH from root@192.168.4.130(192.168.4.130:22) to root@192.168.4.132(192.168.4.132:22)..
ssh: connect to host 192.168.4.130 port 22: Connection timed out
Thu Mar 18 20:49:51 2021 – [error][/usr/share/perl5/vendor_perl/MHA/SSHCheck.pm, ln111] SSH connection from root@192.168.4.130(192.168.4.130:22) to root@192.168.4.132(192.168.4.132:22) failed!
Thu Mar 18 20:49:51 2021 – [error][/usr/share/perl5/vendor_perl/MHA/SSHCheck.pm, ln63]
Thu Mar 18 20:49:45 2021 – [debug] Connecting via SSH from root@192.168.4.131(192.168.4.131:22) to root@192.168.4.132(192.168.4.132:22)..
ssh: connect to host 192.168.4.131 port 22: Connection timed out
Thu Mar 18 20:49:50 2021 – [error][/usr/share/perl5/vendor_perl/MHA/SSHCheck.pm, ln111] SSH connection from root@192.168.4.131(192.168.4.131:22) to root@192.168.4.132(192.168.4.132:22) failed!
SSH Configuration Check Failed!
at /usr/bin/masterha_check_ssh line 44.

注意:本段内容须成功“回复本文”后“刷新本页”方可查看!

成功后会显示:

[root@vm-centos7-64 ~]# masterha_check_ssh –conf=/etc/masterha/app01.conf
Thu Mar 18 20:52:15 2021 – [warning] Global configuration file /etc/masterha_default.cnf not found. Skipping.
Thu Mar 18 20:52:15 2021 – [info] Reading application default configuration from /etc/masterha/app01.conf..
Thu Mar 18 20:52:15 2021 – [info] Reading server configuration from /etc/masterha/app01.conf..
Thu Mar 18 20:52:15 2021 – [info] Starting SSH connection tests..
Thu Mar 18 20:52:19 2021 – [debug]
Thu Mar 18 20:52:15 2021 – [debug] Connecting via SSH from root@192.168.94.132(192.168.94.132:22) to root@192.168.94.131(192.168.94.131:22)..
Warning: Permanently added ‘192.168.94.132’ (ECDSA) to the list of known hosts.
Thu Mar 18 20:52:17 2021 – [debug] ok.
Thu Mar 18 20:52:17 2021 – [debug] Connecting via SSH from root@192.168.94.132(192.168.94.132:22) to root@192.168.94.130(192.168.94.130:22)..
Thu Mar 18 20:52:18 2021 – [debug] ok.
Thu Mar 18 20:52:20 2021 – [debug]
Thu Mar 18 20:52:16 2021 – [debug] Connecting via SSH from root@192.168.94.130(192.168.94.130:22) to root@192.168.94.132(192.168.94.132:22)..
Warning: Permanently added ‘192.168.94.130’ (ECDSA) to the list of known hosts.
Warning: Permanently added ‘192.168.94.132’ (ECDSA) to the list of known hosts.
Thu Mar 18 20:52:18 2021 – [debug] ok.
Thu Mar 18 20:52:18 2021 – [debug] Connecting via SSH from root@192.168.94.130(192.168.94.130:22) to root@192.168.94.131(192.168.94.131:22)..
Warning: Permanently added ‘192.168.94.131’ (ECDSA) to the list of known hosts.
Thu Mar 18 20:52:20 2021 – [debug] ok.
Thu Mar 18 20:52:20 2021 – [debug]
Thu Mar 18 20:52:16 2021 – [debug] Connecting via SSH from root@192.168.94.131(192.168.94.131:22) to root@192.168.94.132(192.168.94.132:22)..
Warning: Permanently added ‘192.168.94.131’ (ECDSA) to the list of known hosts.
Warning: Permanently added ‘192.168.94.132’ (ECDSA) to the list of known hosts.
Thu Mar 18 20:52:18 2021 – [debug] ok.
Thu Mar 18 20:52:18 2021 – [debug] Connecting via SSH from root@192.168.94.131(192.168.94.131:22) to root@192.168.94.130(192.168.94.130:22)..
Warning: Permanently added ‘192.168.94.130’ (ECDSA) to the list of known hosts.
Thu Mar 18 20:52:19 2021 – [debug] ok.
Thu Mar 18 20:52:20 2021 – [info] All SSH connection tests passed successfully.


开心洋葱 , 版权所有丨如未注明 , 均为原创丨未经授权请勿修改 , 转载请注明【已解决】 [error][/usr/share/perl5/vendor_perl/MHA/SSHCheck.pm, ln63]
喜欢 (0)

您必须 登录 才能发表评论!

(9)个小伙伴在吐槽
  1. ...................
    13994591827@163.com2023-04-25 16:45
  2. 1
    13994591827@163.com2023-04-25 16:44
  3. kankan
    zp9099983642023-03-31 11:23
  4. dfg
    zp9099983642023-03-31 11:20
  5. g
    xiaodi2023-01-04 18:22
  6. 还他妈要注册,真恶心
    爱我别走2022-01-08 20:54
  7. 注释掉的话 后续切换启动vip还是会报错
    Mhadada2021-06-22 18:14
  8. ...
    jiangzl10242021-04-17 21:16
  9. ?????
    27839648202021-04-16 17:57
加载中……