Oracle11g RAC安装GI时会遇到INS-06006报错处理过程

来源:这里教程网 时间:2026-03-03 12:53:44 作者:

Oracle11g RAC 安装GI时会遇到以下INS-06006报错,根据提示猜测可能是grid用户之间互信出了问题,排查发现互信正常,但问题依旧。

查看MOS文档,发现了一个bug 17580744,文档编号为1597212.1

根据描述,与报错完全一致,原因为/etc/hosts文件中主机名为大写,或者IP与主机名对应时用的多个名字

下面是错误的写法

$ grep RACNODE /etc/hosts 10.0.0.101 RACNODE1.US.ORACLE.COM RACNODE1 10.0.0.102 RACNODE2.US.ORACLE.COM RACNODE2

该问题会出现在11.2.0.4版本的GI安装时,任意操作系统都会遇到

------------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:

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

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

 

In addition, verify if there is a mismatch in Hostname Definition (Case Sensitivity) between DNS & /etc/hosts. For example: lower case in DNS & upper case in /etc/hosts OR vice-versa etc.

3. 解决过程

1. 将主机名的大写字母改成小写

#hostname xx

#vi /etc/sysconfig/network

更改

HOSTNAME=xx

2. 更改/etc/hosts文件内容

相关推荐