[INS-06006] Passwordless SSH connectivity not set up
一、環境說明:
DB版本:Oracle 11.2.0.4
OS版本:Redhat 6.4
二、處理方法
1、使用ssh驗證等效性
[grid@jzh03 ~]$ date;ssh jzh03 date
Wed Dec 10 17:06:23 CST 2014
Wed Dec 10 17:06:24 CST 2014
[grid@jzh03 ~]$ date;ssh jzh04 date
Wed Dec 10 17:06:51 CST 2014
Wed Dec 10 17:06:51 CST 2014
結果依然報錯。
2、修改grid使用者密碼
[root@jzh03 Desktop]# passwd grid
Changing password for user grid.
New password:
BAD PASSWORD: it is too short
BAD PASSWORD: is too simple
Retype new password:
passwd: all authentication tokens updated successfully.
結果依然報錯。
3、修改.ssh目錄
[root@jzh03 grid]# chmod 700 .ssh
[root@jzh03 grid]# ls -la
total 44
drwxr-xr-x 5 grid oinstall 4096 Dec 11 10:48 .
drwxr-xr-x. 4 root root 4096 Dec 11 10:21 ..
-rw------- 1 grid oinstall 66 Dec 11 10:59 .bash_history
-rw-r--r-- 1 grid oinstall 18 Aug 29 2012 .bash_logout
-rw-r--r-- 1 grid oinstall 472 Dec 11 10:37 .bash_profile
-rw-r--r-- 1 grid oinstall 124 Aug 29 2012 .bashrc
drwxr-xr-x 2 grid oinstall 4096 Jul 14 2010 .gnome2
-rw-r--r-- 1 grid oinstall 124 Jun 28 2011 .mkshrc
drwxr-xr-x 4 grid oinstall 4096 Nov 13 06:37 .mozilla
drwx------ 2 grid oinstall 4096 Dec 11 10:55 .ssh
-rw------- 1 grid oinstall 646 Dec 11 10:37 .viminfo
結果依然報錯。
4、刪除手工配置的ssh,採用grid infrastructure配置--->依然報錯。
5、上MOS查詢相關文章,發現11.2.0.4 runInstaller: [INS-06006] Passwordless SSH connectivity not set up between the following nodes(s) (文件 ID 1597212.1),描述如下:
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<timestamp>.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<timestamp>.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)
10.0.0.101 RACNODE1.US.ORACLE.COM RACNODE1
10.0.0.102 RACNODE2.US.ORACLE.COM RACNODE2
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:
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:
Note in above command it's racnode1,racnode2 in lower case despite the hostname is upper case.
原來是個bug,想不到第一次安裝11.2.0.4就遇到bug,將主機名全部改為小寫之後就順利安裝成功了。來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/25462274/viewspace-2139184/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 11.2.0.4 runInstaller: [INS-06006] Passwordless SSH connectivity not_1597212.1
- How to set up printers for GUI?GUI
- Set up the Android SDKAndroid
- set up the appropriate environmentAPP
- Get Set Up to Help With Python Core DevelopmentPythondev
- set up different data screen(masterial master) for different userAST
- JPDA and Set up Tomcat for Remote DebuggingTomcatREM
- India Karnataka Government is prepared to set up textile parks in each districtGo
- 安裝Oracle 12.1.0.2 RAC建立ssh連線成功,測試報錯INS-06006Oracle
- Oracle12c - ORA-65093: container database not set up properlyOracleAIDatabase
- How to set up Software raid1 configuration on a running systemAI
- Detect Changes in Network Connectivity
- SEVERE:OUI-10037:Unable to set up inventory錯誤處理UI
- pytorch 轉 tensorRT 踩的幾個小坑_tensorrt engine set up failedPyTorchAI
- Kyma Application Connectivity 特性介紹APP
- wake up
- Level Up
- ORACLE使用Generic Connectivity訪問INFORMIXOracleORM
- 飛利浦案例研究: Building Connectivity with Kotlin MultiplatformUIKotlinPlatform
- Dynamics CRM Connectivity and Firewall Port Requirements——CRM安裝UIREM
- day day up
- 在 Swift 中使用 Watch Connectivity — Application ContextSwiftAPPContext
- Xamarin Essentials教程檢查網路連通性Connectivity
- How to Troubleshoot Connectivity Issue with 11gR2 SCAN Name
- Backing up the tailAI
- Incremental checkpoint up to RBAREM
- Gross up by wage typeROS
- E. Level Up
- Speed Up Your WordPress Site
- UP還是敏捷方法?敏捷
- look up the sql_textSQL
- Set
- set /?
- 【SSH】--SSH框架簡介框架
- lombok get/set 與 JavaBean get/setLombokJavaBean
- ssh埠轉發(ssh隧道)
- How to Troubleshoot Connectivity Issue with 11gR2 SCAN Name (Doc ID 975457.1)
- Clean up a failed CRS installAI