CRS-4046: Invalid Oracle Clusterware configuration. – 11gR2

After failed installation of 11gR2 Clusterware (due to wrong cluster_interconnect IP), during the second attempt, i received the below error while running the “root.sh” script on the first node.

[root@node1 11.2.0.2]# sh root.sh
Running Oracle 11g root script...

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /u01/app/grid/11.2.0.2

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

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 script.
Now product-specific root actions will be performed.
Using configuration parameter file: /u01/app/grid/11.2.0.2/crs/install/crsconfig_params
CRS-4046: Invalid Oracle Clusterware configuration.
CRS-4000: Command Create failed, or completed with errors.
Failure initializing entries in /etc/oracle/scls_scr/node1
/u01/app/grid/11.2.0.2/perl/bin/perl -I/u01/app/grid/11.2.0.2/perl/lib -I/u01/app/grid/11.2.0.2/crs/install /u01/app/grid/11.2.0.2/crs/install/rootcrs.pl execution failed
[root@node1 11.2.0.2]#

Doing a search on MOS , pointed to Doc Id mentioning it as a Bug 9397418.During the installation of the clusterware a folder “Clusterware” is created inside the ORACLE_BASE on all the nodes. The folder contains ckptGridHA_.xml which is called check point file.The file contains information about the node name,ocr and voting disk location, GRID_HOME,ORCALE_HOME, private interconnect, public and vip IP addresses etc.

|?xml version="1.0" standalone="yes" ?|
|!-- Copyright (c) 1999, 2010, Oracle. All rights reserved. --|
|!-- Do not modify the contents of this file by hand. --|
|CHECKPOINTS|
   |CHECKPOINT LEVEL="MAJOR" NAME="ROOTCRS_STACK" DESC="ROOTCRS_STACK" STATE="START"/|
   |CHECKPOINT LEVEL="MAJOR" NAME="ROOTCRS_PARAM" DESC="ROOTCRS_PARAM" STATE="SUCCESS"|
      |PROPERTY_LIST|
         |PROPERTY NAME="NODE_NAME_LIST" TYPE="STRING" VAL="node1,node2"/|
         |PROPERTY NAME="ISROLLING" TYPE="STRING" VAL="true "/|
         |PROPERTY NAME="ORACLE_BASE" TYPE="STRING" VAL="/u01/app/oracle"/|
         |PROPERTY NAME="GNS_CONF" TYPE="STRING" VAL="false"/|
         |PROPERTY NAME="VOTING_DISKS" TYPE="STRING" VAL="/u01/oraadmin/matrix/CRS_DISK1/vdsk"/|
         |PROPERTY NAME="OCR_LOCATIONS" TYPE="STRING" VAL="/u01/oraadmin/matrix/CRS_DISK1/ocr"/|
         |PROPERTY NAME="JLIBDIR" TYPE="STRING" VAL="/u01/app/grid/11.2.0.2/jlib"/|
         |PROPERTY NAME="ORA_ASM_GROUP" TYPE="STRING" VAL="dba"/|
         |PROPERTY NAME="CRS_NODEVIPS" TYPE="STRING" VAL="'node1-vip/XXX.XXX.XXX.XXX/eth0,node2-vip/XXX.XXX.XXX.XXX/eth0'"/|
         |PROPERTY NAME="ORACLE_HOME" TYPE="STRING" VAL="/u01/app/grid/11.2.0.2"/|
         |PROPERTY NAME="NEW_NODEVIPS" TYPE="STRING" VAL="'node1-vip/XXX.XXX.XXX.XXX/eth0,node2-vip/XXX.XXX.XXX.XXX/eth0'"/|
         |PROPERTY NAME="SILENT" TYPE="STRING" VAL="false"/|
         |PROPERTY NAME="GPNPCONFIGDIR" TYPE="STRING" VAL="$ORACLE_HOME"/|
         |PROPERTY NAME="CRFHOME" TYPE="STRING" VAL=""/u01/app/grid/11.2.0.2""/|
         |PROPERTY NAME="HOST_NAME_LIST" TYPE="STRING" VAL="node1,node2"/|
         |PROPERTY NAME="LANGUAGE_ID" TYPE="STRING" VAL="AMERICAN_AMERICA.AL32UTF8"/|
         |PROPERTY NAME="CSS_LEASEDURATION" TYPE="NUMBER" VAL="400"/|
         |PROPERTY NAME="ORA_DBA_GROUP" TYPE="STRING" VAL="dba"/|
         |PROPERTY NAME="NETWORKS" TYPE="STRING" VAL=""eth0"/XXX.XX.XXX.XXX:public,"eth1"/XXX.XX.XXX.X:cluster_interconnect"/|
         |PROPERTY NAME="GPNPGCONFIGDIR" TYPE="STRING" VAL="$ORACLE_HOME"/|
         |PROPERTY NAME="SCAN_PORT" TYPE="NUMBER" VAL="1521"/|
         |PROPERTY NAME="TZ" TYPE="STRING" VAL="America/Los_Angeles"/|
         |PROPERTY NAME="ASM_UPGRADE" TYPE="STRING" VAL="false"/|
         |PROPERTY NAME="SCAN_NAME" TYPE="STRING" VAL="matrix-scan"/|
         |PROPERTY NAME="VNDR_CLUSTER" TYPE="STRING" VAL="false"/|
         |PROPERTY NAME="NODELIST" TYPE="STRING" VAL="node1,node2"/|
         |PROPERTY NAME="CRS_STORAGE_OPTION" TYPE="NUMBER" VAL="2"/|
         |PROPERTY NAME="JREDIR" TYPE="STRING" VAL="/u01/app/grid/11.2.0.2/jdk/jre/"/|
         |PROPERTY NAME="CLUSTER_NAME" TYPE="STRING" VAL="matrix-scan"/|
         |PROPERTY NAME="ORACLE_OWNER" TYPE="STRING" VAL="oracle"/|
         |PROPERTY NAME="ASM_REDUNDANCY" TYPE="STRING" VAL=" "/|
      |/PROPERTY_LIST|
   |/CHECKPOINT|
  .......................
|/CHECKPOINTS|

Renamed the ckptGridHA_node1.xml and started the root.sh

[root@node1 node1]# cd /u01/app/oracle
[root@node1 oracle]# ls -lrt
total 5
drwxr-xr-x 2 oracle dba 3 Aug 23 06:24 Clusterware
drwxr-xr-x 3 oracle dba 3 Aug 23 06:24 node1
drwxr-xr-x 3 oracle dba 3 Aug 23 08:27 checkpoints
[root@node1 oracle]# cd Clusterware/
[root@node1 Clusterware]# ls -lrt
total 5
-rw-r--r-- 1 oracle dba 3866 Aug 23 06:30 ckptGridHA_node1.xml
[root@node1 Clusterware]# mv ckptGridHA_node1.xml ckptGridHA_node1.bkp.xml
[root@node1 Clusterware]# ls -lrt
total 5
-rw-r--r-- 1 oracle dba 3866 Aug 23 06:30 ckptGridHA_node1.bkp.xml
[root@node1 11.2.0.2]# sh root.sh
Running Oracle 11g root script...

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /u01/app/grid/11.2.0.2

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

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 script.
Now product-specific root actions will be performed.
Using configuration parameter file: /u01/app/grid/11.2.0.2/crs/install/crsconfig_params
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
OLR initialization - successful
  root wallet
  root wallet cert
  root cert export
............................
............................
Configure Oracle Grid Infrastructure for a Cluster ... succeeded
[root@node1 11.2.0.2]#

4 thoughts on “CRS-4046: Invalid Oracle Clusterware configuration. – 11gR2

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s