Oracle 11g RAC ins-06006 passwordless SSH connectivity not set up between the following node (s) Solution

Source: Internet
Author: User

 

I. Problem Description

Install RAC of Oracle 11.2.0.1 on vbox. An error is reported during SSH Configuration:

INS-06006: passwordless sshconnectivity not set up between the following node (s)

 

 

 

Note:

The strange result here is that setup is successful, but test fails.

 

 

Ii. Test 1

Try to manually execute the test command on two nodes:

[Oracle @ Rac1 ~] $ SSH rac2 date

Tue Junn 26 19:48:01 CST 2012

[Oracle @ Rac1 ~] $ SSH Rac1 date

Tue Junn 26 19:48:11 CST 2012

 

[Oracle @ rac2 ~] $ SSH Rac1 date

Tue Junn 26 19:48:27 CST 2012

[Oracle @ rac2 ~] $ SSH rac2 date

Tue Junn 26 19:48:30 CST 2012

 

SSH is normal, that is to say, the configuration here is valid, but it is displayed as a failure, but the installation will not continue.

 

Iii. Test 3

SSH configuration needs to be manually configured in Oracle 10g RAC, and can be automatically configured in Oui in 11g.

 

Manual configuration reference:

RedHat 5.4 + ASM + raw + Oracle 10g RAC installation documentation

Http://blog.csdn.net/tianlesoftware/article/details/5872593

 

Try to manually remove the SSH configuration file:

[Oracle @ Rac1 ~] $ CD $ home/. SSH

[Oracle @ Rac1. Ssh] $ pwd

/Home/Oracle/. SSH

[Oracle @ Rac1. Ssh] $ LL

Total 100

-RW-r --. 1 Oracle oinstall 8542 Jun 26 authorized_keys

-RW -------. 1 Oracle oinstall 667 Nov 22 2011 authorized_keys2

-RW-r -- 1 Oracle oinstall 7879 Jun 2619: 46 authorized_keys.ri.bak

-RW-r -- 1 Oracle oinstall 22 jun 2619: 46 config

-RW-r -- 1 Oracle oinstall 22 jun 2619: 33 config. Ri. Bak

-RW -------. 1 Oracle oinstall 887 Jun 26 identity

-RW-r --. 1 Oracle oinstall 221 Jun 26 identity. Pub

-RW ------- 1 Oracle oinstall 887 Jun 2619: 46 id_rsa

-RW-r -- 1 Oracle oinstall 221 Jun 2619: 46 id_rsa.pub

-RW-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 --. 1 Oracle oinstall 20981 Jun 2619: 49 known_hosts

-RW-r -- 1 Oracle oinstall 14248 Jun 26 known_hosts.ri.bak

[Oracle @ Rac1. Ssh] $ Rm-RF *

 

 

[Oracle @ rac2 ~] $ CD $ home/. SSH

[Oracle @ rac2. Ssh] $ LL

Total 68

-RW-r --. 1 Oracle oinstall 8542 Jun 26 authorized_keys

-RW -------. 1 Oracle oinstall 667 Nov 22 2011 authorized_keys2

-RW-r -- 1 Oracle oinstall 7658 Jun 2619: 42 authorized_keys.ri.bak

-RW -------. 1 Oracle oinstall 883 Jun 26 identity

-RW-r --. 1 Oracle oinstall 221 Jun 26 identity. Pub

-RW ------- 1 Oracle oinstall 883 Jun 2619: 46 id_rsa

-RW-r -- 1 Oracle oinstall 221 Jun 2619: 46 id_rsa.pub

-RW-r --. 1 Oracle oinstall 20981 Jun 2619: 49 known_hosts

[Oracle @ rac2. Ssh] $ Rm-RF *

 

 

Again SSH, the same error is returned.

 

Iv. Test 4

I searched on MOS and found an article:

Top Note: Solutions for typical 11gr2 gridinfrastructure/RAC database runinstaller issues [ID 1056713.1]

 

In the face of this problem:

 

[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

Possible causes:

(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 shocould 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

 

 

5. Test 5

The problem here is different from that mentioned in MOS. First, we can test it in the new SSH window. We cannot test it in the installation window.

Before installation, I only modified the environment variable, that is, the/home/Oracle/. bash_profile file, so I tried the source file and logged in again to install it:

[Oracle @ Rac1 ~] $ Source ~ /. Bash_profile

 

 

 

After this verification, we can see that the environment variable may also cause the INS-06006 error.

 

 

 

 

 

Bytes -------------------------------------------------------------------------------------------------------

All rights reserved. reprinted articles are allowed, but source addresses must be indicated by links. Otherwise, the documents will be held legally responsible!

Skype: tianlesoftware

QQ: tianlesoftware@gmail.com

Email: tianlesoftware@gmail.com

Blog: http://www.tianlesoftware.com

WEAVER: http://weibo.com/tianlesoftware

Twitter: http://twitter.com/tianlesoftware

Facebook: http://www.facebook.com/tianlesoftware

LinkedIn: http://cn.linkedin.com/in/tianlesoftware

 

 

------- Add a group to describe the relationship between Oracle tablespace and data files in the remarks section. Otherwise, reject the application ----

Dba1 group: 62697716 (full); dba2 group: 62697977 (full) dba3 group: 62697850 (full)

Super DBA group: 63306533 (full); dba4 group: 83829929 dba5 group: 142216823

Dba6 group: 158654907 dba7 group: 172855474 DBA group: 104207940

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.