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.


最常见的就是第一种错误


猜你喜欢

转载自blog.csdn.net/tan88881111/article/details/80407620