Oracle 11g RAC INS-06006 Passwordless SSH connectivity not set up between the following node(s)

INS-06006: Passwordless SSHconnectivity not set up between the following node(s)

 

 

 

注意:

这里奇怪的表现是我们setup是成功,仅仅是Test 失败。

解决方法:

1.查看/etc/hosts文件,如下:

    127.0.0.1       itpux1  localhost.localdomain   localhost
    ::1     itpux1  localhost6.localdomain6 localhost6

    192.168.16.241 itpux1
    192.168.16.242 itpux2
    10.10.10.241 itpux1prv
    10.10.10.242 itpux2prv
    192.168.16.243 itpux1vip
    192.168.16.244 itpux2vip

    192.168.16.239 itpuxscan

如果是在安装系统时设置了主机名,会有一行 ”IP 主机名“将此行删除。

2.

可能的原因:

(1)    Grid user does not havepassword on OS level, the fix is to set password with "passwd"command.

(2)    If OUI is able to setuppasswordless SSH connectivity but still shows the error, likely"ping" command is inaccessible - grid user should be able to executeping command.

(3)    OS command ssh or scp are notin expected location, the workaround is to either create symbolic link on allnodes or export the following environment variables before starting OUI

 

ln -s /usr/local/bin/ssh /usr/bin/ssh
ln -s /usr/local/bin/scp /usr/bin/scp

OR

export ORACLE_SRVM_REMOTESHELL=/usr/local/bin/ssh
export ORACLE_SRVM_REMOTECOPY=/usr/local/bin/ssh

Note: /usr/local/bin is the location for ssh and scp, if ssh and scp arelocated in somewhere else, replace it accordingly

3.因为是ssh连接设置有问题,索性删除了两个节点上的 grid 下的 .ssh 目录,重新手工生成, 也报错, 再次删除.ssh,  再次使用OUI生成ssh连接,依然报错。木有办法,只有提SR,  很快SR有了反馈, 提示了一个内部文档 : 
GI runInstaller Fails with INS-6006 in VNC During SSH test even though SSH Setup is successful (文档 ID 2070270.1)

按照文档提示做了如下操作, 这样居然可以, 也是醉了.... (之前删除了整个.ssh,  文章中让删除.ssh 下的文件而已,不知道啥区别)。 

Clean up the files in .ssh directory for grid user in VNC session:
cd $HOME/.ssh
rm -rf *
In the OUI session, click SSH "Setup" again to setup SSH for grid user from scratch,
then click "Test" in OUI,
Now it completes with "SSH for user grid has already been setup".

Click "Next" in the OUI to complete the installation.


最常见的就是第一种错误


评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值