您的位置:首页 > 数据库 > Oracle

Oracle 11gR2 安装RAC错误之--HOSTS文件错误

2015-03-31 12:04 387 查看
Oracle 11gR2 安装RAC错误之--HOSTS文件错误系统环境:
操作系统:RedHat EL5Cluster: Oracle GI(Grid Infrastructure)Oracle:  Oracle 11.2.0.1.0如图所示:RAC 系统架构


  对于Oracle 11G构建RAC首先需要构建GI(Grid Infrastructure)的架构错误现象:节点2运行root.sh脚本错误:[root@hk2 ~]# /u01/11.2.0/grid/root.sh
[code=jfx;toolbar:false">Running Oracle 11g root.sh script...
The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /u01/11.2.0/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]: 
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...
Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2014-07-07 17:04:37: Parsing the host name
2014-07-07 17:04:37: Checking for super user privileges
2014-07-07 17:04:37: User has super user privileges
Using configuration parameter file: /u01/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE 
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node hk1, number 1, and is terminating
An active cluster was found during exclusive startup, restarting to join the cluster
CRS-2672: Attempting to start 'ora.mdnsd' on 'hk2'
CRS-2676: Start of 'ora.mdnsd' on 'hk2' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'hk2'
CRS-2676: Start of 'ora.gipcd' on 'hk2' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'hk2'
CRS-2676: Start of 'ora.gpnpd' on 'hk2' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'hk2'
CRS-2676: Start of 'ora.cssdmonitor' on 'hk2' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'hk2'
CRS-2672: Attempting to start 'ora.diskmon' on 'hk2'
CRS-2676: Start of 'ora.diskmon' on 'hk2' succeeded
CRS-2676: Start of 'ora.cssd' on 'hk2' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'hk2'
CRS-2676: Start of 'ora.ctssd' on 'hk2' succeeded
CRS-2672: Attempting to start 'ora.drivers.acfs' on 'hk2'
CRS-2676: Start of 'ora.drivers.acfs' on 'hk2' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'hk2'
CRS-2676: Start of 'ora.asm' on 'hk2' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'hk2'
CRS-2676: Start of 'ora.crsd' on 'hk2' succeeded
CRS-2672: Attempting to start 'ora.evmd' on 'hk2'
CRS-2676: Start of 'ora.evmd' on 'hk2' succeeded
Timed out waiting for the CRS stack to start.# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1  localhost
192.168.56.101  hk1
192.168.56.103  hk2
10.10.10.101  hk1-priv
10.10.10.103  hk2-priv
192.168.56.104 hk1-vip
192.168.56.105 hk2-vip
192.168.56.106 hk-scanRunning Oracle 11g root.sh script...
The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /u01/11.2.0/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]: 
The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n) 

: y
   Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) 

: y
   Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) 

: y
   Copying coraenv to /usr/local/bin ...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2014-07-07 18:11:35: Parsing the host name
2014-07-07 18:11:35: Checking for super user privileges
2014-07-07 18:11:35: User has super user privileges
Using configuration parameter file: /u01/11.2.0/grid/crs/install/crsconfig_params
LOCAL ADD MODE 
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node hk1, number 1, and is terminating
An active cluster was found during exclusive startup, restarting to join the cluster
CRS-2672: Attempting to start 'ora.mdnsd' on 'hk2'
CRS-2676: Start of 'ora.mdnsd' on 'hk2' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'hk2'
CRS-2676: Start of 'ora.gipcd' on 'hk2' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'hk2'
CRS-2676: Start of 'ora.gpnpd' on 'hk2' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'hk2'
CRS-2676: Start of 'ora.cssdmonitor' on 'hk2' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'hk2'
CRS-2672: Attempting to start 'ora.diskmon' on 'hk2'
CRS-2676: Start of 'ora.diskmon' on 'hk2' succeeded
CRS-2676: Start of 'ora.cssd' on 'hk2' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'hk2'
CRS-2676: Start of 'ora.ctssd' on 'hk2' succeeded
CRS-2672: Attempting to start 'ora.drivers.acfs' on 'hk2'
CRS-2676: Start of 'ora.drivers.acfs' on 'hk2' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'hk2'
CRS-2676: Start of 'ora.asm' on 'hk2' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'hk2'
CRS-2676: Start of 'ora.crsd' on 'hk2' succeeded
CRS-2672: Attempting to start 'ora.evmd' on 'hk2'
CRS-2676: Start of 'ora.evmd' on 'hk2' succeeded
hk2     2014/07/07 18:13:53     /u01/11.2.0/grid/cdata/hk2/backup_20140707_181353.olr
Preparing packages for installation...
cvuqdisk-1.0.7-1
Configure Oracle Grid Infrastructure for a Cluster ... succeeded
Updating inventory properties for clusterware
Starting Oracle Universal Installer...
Checking swap space: must be greater than 500 MB.   Actual 4095 MB    Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/app/oraInventory
'UpdateNodeList' was successful.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: