尝试手工移除SSH的相关配置文件:
[oracle@rac1 ~]$ cd $HOME/.ssh
[oracle@rac1 .ssh]$ pwd
/home/oracle/.ssh
[oracle@rac1 .ssh]$ ll
total 100
-rw-r--r--. 1 oracle oinstall 8542 Jun 26 19:46 authorized_keys
-rw-------. 1 oracle oinstall 667 Nov 222011 authorized_keys2
-rw-r--r--1 oracle oinstall 7879 Jun 2619:46 authorized_keys.ri.bak
-rw-r--r--1 oracle oinstall 22 Jun 2619:46 config
-rw-r--r--1 oracle oinstall 22 Jun 2619:33 config.ri.bak
-rw-------. 1 oracle oinstall 887 Jun 26 19:46 identity
-rw-r--r--. 1 oracle oinstall 221 Jun 26 19:46 identity.pub
-rw-------1 oracle oinstall 887 Jun 2619:46 id_rsa
-rw-r--r--1 oracle oinstall 221 Jun 2619:46 id_rsa.pub
-rw-r--r--1 oracle oinstall 221 Jun 2619:34 id_rsa.pub.ri.bak
-rw-------1 oracle oinstall 887 Jun 2619:34 id_rsa.ri.bak
-rw-r--r--. 1 oracle oinstall 20981 Jun 2619:49 known_hosts
-rw-r--r--1 oracle oinstall 14248 Jun 26 19:34 known_hosts.ri.bak
[oracle@rac1 .ssh]$ rm -rf *
[oracle@rac2 ~]$ cd $HOME/.ssh
[oracle@rac2 .ssh]$ ll
total 68
-rw-r--r--. 1 oracle oinstall 8542 Jun 26 19:46 authorized_keys
-rw-------. 1 oracle oinstall 667 Nov 222011 authorized_keys2
-rw-r--r--1 oracle oinstall 7658 Jun 2619:42 authorized_keys.ri.bak
-rw-------. 1 oracle oinstall 883 Jun 26 19:46 identity
-rw-r--r--. 1 oracle oinstall 221 Jun 26 19:46 identity.pub
-rw-------1 oracle oinstall 883 Jun 2619:46 id_rsa
-rw-r--r--1 oracle oinstall 221 Jun 2619:46 id_rsa.pub
-rw-r--r--. 1 oracle oinstall 20981 Jun 2619:49 known_hosts
[oracle@rac2 .ssh]$ rm -rf *
再次SSH,还是同样的错误。
四.测试四
在MOS上搜了一下,有一篇文章:
TOP Note: Solutions for Typical 11gR2 GridInfrastructure/RAC Database runInstaller Issues [ID 1056713.1]
里面对这个问题的说明:
[INS-06006]Passwordless SSH connectivity not set up between the following node(s): [node1,node2]. CVU may reports "PRVF-4007 : User equivalence check failed foruser "user"" for same error
可能的原因:
(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