合 [FATAL] [INS-06006] Passwordless SSH connectivity not set up between the following node(s): [rac2]
Tags: Oracle故障处理高可用racssh互信安全组INS-06006
现象
CentOS 7.6 安装Oracle 11.2.0.4 rac,静默安装grid集群软件报错:
1 2 3 | [FATAL] [INS-06006] Passwordless SSH connectivity not set up between the following node(s): [oarac2]. CAUSE: Either passwordless SSH connectivity is not setup between specified node(s) or they are not reachable. Refer to the logs for more details. ACTION: Refer to the logs for more details or contact Oracle Support Services. |
其它现象:
1、用以下命令已经配置过互信了,而且可以确定互信是配置成功的:
1 2 | /soft/database/sshsetup/sshUserSetup.sh -user oracle -hosts "oarac1 oarac2" -advanced exverify –confirm /soft/database/sshsetup/sshUserSetup.sh -user grid -hosts "oarac1 oarac2" -advanced exverify –confirm |
因为以下命令可以不输入密码就可以返回日期的:
1 2 3 4 5 | ssh oracle@rac2 date ssh grid@rac2 date ssh oracle@rac1 date ssh grid@rac1 date |
2、奇怪的地方是,用ssh互相连接的时候不能连接
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ssh oracle@rac2 ssh oracle@rac2 ssh root@rac2 [root@oarac1 ~]# ssh root@oarac2 ssh: connect to host oarac2 port 22: Connection timed out [oracle@oarac1 ~]$ ssh oracle@oarac2 -vvvv OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017 debug1: Reading configuration data /home/oracle/.ssh/config debug1: /home/oracle/.ssh/config line 1: Applying options for * debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 58: Applying options for * debug2: resolving "oarac2" port 22 debug2: ssh_connect_direct: needpriv 0 debug1: Connecting to oarac2 [172.20.7.82] port 22. debug1: connect to address 172.20.7.82 port 22: Connection timed out ssh: connect to host oarac2 port 22: Connection timed out |
防火墙和selinux都已关闭!!!