[INS-06006] Passwordless SSH connectivity not set up between the following node(s)

简介: [INS-06006] Passwordless SSH connectivity not set up between the following node(s)

现象

CentOS 7.6 安装Oracle 11.2.0.4 rac,静默安装grid集群软件报错:

[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、用以下命令已经配置过互信了,而且可以确定互信是配置成功的:

/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

因为以下命令可以不输入密码就可以返回日期的:

ssh oracle@rac2 date
ssh grid@rac2 date

ssh oracle@rac1 date
ssh grid@rac1 date

2、奇怪的地方是,用ssh互相连接的时候不能连接

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都已关闭!!!

原因

华为云服务器的安全组拒绝了22端口:

解决

修改该安全组问题得到解决。

其它可能的原因

1、主机名不能大写,需要改为小写,请参考:https://blog.csdn.net/m0_37625564/article/details/115242416 和 MOS:11.2.0.4 runInstaller: [INS-06006] Passwordless SSH connectivity not set up between the following nodes(s) (Doc ID 1597212.1)

2、需要删除虚拟机自带的虚拟网卡virbr0

1、ifconfig virbr0 down
2、brctl delbr virbr0
3、systemctl disable libvirtd
4、重启虚拟机
5、将原来的rm -rf /home/grid/.ssh文件删除,重新Setup,Test即可

3、若是AIX系统,则可以如下解决:

ln -s /usr/bin/ksh /bin/bash
mkdir -p /usr/local/bin
ln -s /usr/bin/ssh-keygen /usr/local/bin/ssh-keygen
ln -s /usr/bin/ssh /usr/local/bin/ssh
ln -s /usr/bin/scp /usr/local/bin/scp

4、用户密码错误

5、环境变量配置错误

目录
相关文章
|
2月前
|
安全 JavaScript 测试技术
命令行 set NODE_TLS_REJECT_UNAUTHORIZED =0 的含义介绍
命令行 set NODE_TLS_REJECT_UNAUTHORIZED =0 的含义介绍
|
Java 数据库连接 网络安全
【SSH错误整理】node to traverse cannot be null!
【SSH错误整理】node to traverse cannot be null!
|
Kubernetes Cloud Native 安全
Kubernetes CKS 2021【5】---Cluster Setup - Node Metadata
Kubernetes CKS 2021【5】---Cluster Setup - Node Metadata
Kubernetes CKS 2021【5】---Cluster Setup - Node Metadata
|
2月前
|
JSON JavaScript 前端开发
❤Nodejs 第九章(token身份认证和express-jwt的安装认识)
【4月更文挑战第9天】Node.js第九章介绍了Token身份认证,特别是JWT(JSON Web Token)作为跨域认证的解决方案。JWT由Header、Payload和Signature三部分组成,用于在客户端和服务器间安全传输用户信息。前端收到JWT后存储在localStorage或sessionStorage中,并在请求头中发送。Express-JWT是一个中间件,用于解析JWT。基本用法包括设置secret和algorithms。注意安全问题,避免混合使用不同算法以防止降级攻击。
64 0
|
29天前
|
前端开发
windows10 安装node npm 等前端环境 并配置国内源
windows10 安装node npm 等前端环境 并配置国内源
46 3
|
2月前
|
移动开发 JavaScript 前端开发
为了学习vue3,安装nvm进行node的多版本管理
为了学习vue3,安装nvm进行node的多版本管理
88 2
|
2月前
|
资源调度 jenkins 持续交付
jenkins 自动安装nodejs16.16.0版本报错处理
jenkins 自动安装nodejs16.16.0版本报错处理
103 0
|
6天前
|
Dart JavaScript 前端开发
npm install node-sass 安装失败的解决方案:利用国内镜像加速安装
npm install node-sass 安装失败的解决方案:利用国内镜像加速安装
27 1
|
8天前
|
JavaScript Linux
Linux安装nodejs
Linux安装nodejs
17 2
|
9天前
|
JavaScript Ubuntu Linux
蓝易云 - linux中安装nodejs,卸载nodejs,更新nodejs,git
请根据自己的Linux发行版和版本选择合适的命令。
15 2