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

Oracle 11gR2 RAC添加新节点错误之--IP子网掩码

2015-03-31 12:04 423 查看
Oracle 11gR2 RAC添加新节点错误之--IP子网掩码
系统环境:
操作系统:RedHat EL5Cluster: Oracle GI(Grid Infrastructure)Oracle:  Oracle 11.2.0.1.0如图所示:RAC 系统架构


  对于Oracle 11G构建RAC首先需要构建GI(Grid Infrastructure)的架构
案例分析:
   在Oracle 11gR2 RAC在添加新节点时,添加grid,在node3上执行root.sh时,出现以下错误:

[root@lxh3 ~]# /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-10 15:00:36: Parsing the host name
2014-07-10 15:00:36: Checking for super user privileges
2014-07-10 15:00:36: 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 lxh1, 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 'lxh3'
CRS-2676: Start of 'ora.mdnsd' on 'lxh3' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'lxh3'
CRS-2676: Start of 'ora.gipcd' on 'lxh3' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'lxh3'
CRS-2676: Start of 'ora.gpnpd' on 'lxh3' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'lxh3'
CRS-2676: Start of 'ora.cssdmonitor' on 'lxh3' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'lxh3'
CRS-2672: Attempting to start 'ora.diskmon' on 'lxh3'
CRS-2676: Start of 'ora.diskmon' on 'lxh3' succeeded
CRS-2676: Start of 'ora.cssd' on 'lxh3' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'lxh3'
CRS-2676: Start of 'ora.ctssd' on 'lxh3' succeeded
CRS-2672: Attempting to start 'ora.drivers.acfs' on 'lxh3'
CRS-2676: Start of 'ora.drivers.acfs' on 'lxh3' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'lxh3'
CRS-2676: Start of 'ora.asm' on 'lxh3' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'lxh3'
CRS-2676: Start of 'ora.crsd' on 'lxh3' succeeded
CRS-2672: Attempting to start 'ora.evmd' on 'lxh3'
CRS-2676: Start of 'ora.evmd' on 'lxh3' succeeded
Timed out waiting for the CRS stack to start.2014-07-10 15:04:17.954: [    GPnP][3046512336]clsgpnp_Init: [at clsgpnp0.c:837] GPnP client pid=12069, tl=3, f=0
2014-07-10 15:04:17.966: [  OCRAPI][3046512336]clsu_get_private_ip_addresses: no ip addresses found.
2014-07-10 15:04:17.966: [GIPCXCPT][3046512336] gipcShutdownF: skipping shutdown, count 2, from [ clsinet.c : 1732], ret gipcretSuccess (0)
2014-07-10 15:04:17.968: [GIPCXCPT][3046512336] gipcShutdownF: skipping shutdown, count 1, from [ clsgpnp0.c : 1021], ret gipcretSuccess (0)
[  OCRAPI][3046512336]a_init_clsss: failed to call clsu_get_private_ip_addr (7)
2014-07-10 15:04:17.970: [  OCRAPI][3046512336]a_init:13!: Clusterware init unsuccessful : [44]
2014-07-10 15:04:17.970: [  CRSOCR][3046512336] OCR context init failure.  Error: PROC-44: Error in network address and interface operations Network address and interface operations error [7]
2014-07-10 15:04:17.970: [    CRSD][3046512336][PANIC] CRSD exiting: Could not init OCR, code: 44
2014-07-10 15:04:17.970: [    CRSD][3046512336] Done.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]: 
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-10 15:17:53: Parsing the host name
2014-07-10 15:17:53: Checking for super user privileges
2014-07-10 15:17:53: 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 lxh1, 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 'lxh3'
CRS-2676: Start of 'ora.mdnsd' on 'lxh3' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'lxh3'
CRS-2676: Start of 'ora.gipcd' on 'lxh3' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'lxh3'
CRS-2676: Start of 'ora.gpnpd' on 'lxh3' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'lxh3'
CRS-2676: Start of 'ora.cssdmonitor' on 'lxh3' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'lxh3'
CRS-2672: Attempting to start 'ora.diskmon' on 'lxh3'
CRS-2676: Start of 'ora.diskmon' on 'lxh3' succeeded
CRS-2676: Start of 'ora.cssd' on 'lxh3' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'lxh3'
CRS-2676: Start of 'ora.ctssd' on 'lxh3' succeeded
CRS-2672: Attempting to start 'ora.drivers.acfs' on 'lxh3'
CRS-2676: Start of 'ora.drivers.acfs' on 'lxh3' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'lxh3'
CRS-2676: Start of 'ora.asm' on 'lxh3' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'lxh3'
CRS-2676: Start of 'ora.crsd' on 'lxh3' succeeded
CRS-2672: Attempting to start 'ora.evmd' on 'lxh3'
CRS-2676: Start of 'ora.evmd' on 'lxh3' succeeded
clscfg: EXISTING configuration version 5 detected.
clscfg: version 5 is 11g Release 2.
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
lxh3     2014/07/10 15:20:10     /u01/11.2.0/grid/cdata/lxh3/backup_20140710_152010.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 2047 MB    Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/app/oraInventory
'UpdateNodeList' was successful.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: