11.2.0.4 runInstaller: [INS-06006] Passwordless SSH connectivity not_1597212.1

rongshiyuan發表於2014-10-09

11.2.0.4 runInstaller: [INS-06006] Passwordless SSH connectivity not set up between the following nodes(s) (文件 ID 1597212.1)

In this Document

Symptoms
Cause
Solution
References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 and later
Information in this document applies to any platform.

Symptoms

Installing 11.2.0.4 Grid Infrastructure patch set, runInstaller reports error: [INS-06006] Passwordless SSH connectivity not set up between the following nodes(s): [racnode1].

 

  • installActions.log 

INFO: Preparing to check passwordless SSH Connectivity between nodes: [RACNODE1, RACNODE2]                               ====>> "hostname" command returns upper case hostname
INFO: Testing passwordless SSH connectivity between the selected nodes. This may take several minutes, please wait...
INFO: OverallStatus of User Equivalence check using CVU is SUCCESSFUL
FINEST: oracle.install.driver.oui.OUISSHSupportManager:Checking whether RACNODE1 is a local node or not.
FINEST: oracle.install.driver.oui.OUISSHSupportManager:Identified RACNODE1 as the local node.
INFO: Finding passwordless SSH connectivity setup on remote nodes
INFO: Preparing remote commands to check passwordless SSH connectivity setup on remote nodes
INFO: Total number of remote commands to be executed is 4
WARNING: Failed while executing remote commands to check SSH connectivity to other nodes..
Refer associated stacktrace #oracle.install.driver.oui.OUISSHSupportManager:964
INFO: Source Node: racnode1 Target Node: racnode1
INFO: Exception: null
INFO: Status log: oracle.install.driver.oui.OUISSHSupportManager$SSHSetupVerificationCommand: 0|ssh: Could not resolve hostname -o FallBackToRsh=no : Temporary failure in name resolution :failed

....

INFO: Remote node(s) not configured for passwordless SSH connectivity : [racnode1]
INFO: Details about the list of remote node(s), not configured for passwordless SSH connectivity
---------------------------------
NODE REMOTE NODES
---------------------------------
racnode1 [racnode1, racnode2]                       ====>> converted to lower case in the code
---------------------------------

 

  • oraInstall.err 

---# Begin Stacktrace #---------------------------
ID: oracle.install.driver.oui.OUISSHSupportManager:569
oracle.ops.mgmt.cluster.ClusterException: ssh: -o FallBackToRsh=no : Name or service not known :failedssh: -o FallBackToRsh=no : Name or service not known :failed :successful :successful
at oracle.ops.mgmt.cluster.ClusterConfig.submit(ClusterConfig.java:578)
at oracle.ops.mgmt.cluster.ClusterCmd.submit(ClusterCmd.java:269)
at oracle.ops.mgmt.cluster.ClusterCmd.submit(ClusterCmd.java:294)
at oracle.install.driver.oui.OUISSHSupportManager.getUnconfiguredRemoteNodes(OUISSHSupportManager.java:428)
at oracle.install.driver.oui.OUISSHSupportManager.getSSHConnectivityDetails(OUISSHSupportManager.java:378)
at oracle.install.commons.net.support.SSHSupportManager.getSSHConnectivityDetails(SSHSupportManager.java:181)
at oracle.install.ivw.common.view.SSHSetupPane$8.perform(SSHSetupPane.java:305)
at oracle.install.ivw.common.view.SSHSetupPane$SSHOperation.run(SSHSetupPane.java:336)

---# End Stacktrace #-----------------------------

 

  • hostname is in mixed case (in this example upper case)
$ grep RACNODE /etc/hosts
10.0.0.101 RACNODE1.US.ORACLE.COM RACNODE1
10.0.0.102 RACNODE2.US.ORACLE.COM RACNODE2

 

  

Cause

Upper or mixed case hostname being used, this is being investigated in bug 17580744

Duplicates:

BUG 17666448 - INS-06006 OCCURS IF HOSTNAME IS IN CAPITAL LETTERS FOR GI INSTALLATION

BUG 17675476 - PASSWORDLESS SSH CONNECTIVITY NOT SET UP BETWEEN THE FOLLOWING NODES


 

Solution

The bug is fixed in 12.1.0.2

The workaround is to either allow OUI or manually (note 300548.1) setup ssh user equivalence for the installing user, then in command line window, ensure ssh doesn't prompt for password for both real hostname and lower case hostname. 

For example:

$ ssh RACNODE1 date                    ====>> real hostname for node1
Fri Nov 8 10:01:03 PST 2013      
$ ssh racnode1 date                    ====>> lower case hostname for node1
Fri Nov 8 10:01:04 PST 2013
$ ssh RACNODE2 date
Fri Nov 8 10:01:05 PST 2013
$ ssh racnode2 date
Fri Nov 8 10:01:06 PST 2013

 

In the case of upgrade, the alternate workaround is to update inventory to set to lower case nodename instead of real hostname:

$ /oui/bin/runInstaller -updateNodelist ORACLE_HOME= "CLUSTER_NODES={racnode1,racnode2}" CRS=true

Note in above command it's racnode1,racnode2 in lower case despite the hostname is upper case. 

 

 


 

 

 

文件詳細資訊

 
     
 

相關產品

 
     
 

資訊中心

 
     
 

文件引用

 
     
 

最近檢視

 
     





來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-1293316/,如需轉載,請註明出處,否則將追究法律責任。

相關文章