You are installing 11gR2 11.2.0.1 Grid Infrastructure on Red Hat 6, CentOS 6 or similar Linux operating system, and right at the very end of the process, the root.sh script blows up with a really odd error:
[root@localhost oraInventory]# cd /u01/app/oracle/product/11.2.0/db_1 [root@localhost db_1]# ./root.sh Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/11.2.0/db_1
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.
2012-11-05 18:13:18: Checking for super user privileges
2012-11-05 18:13:18: User has super user privileges
2012-11-05 18:13:18: Parsing the host name
Using configuration parameter file: /u01/app/oracle/product/11.2.0/db_1/crs/install/crsconfig_params
Creating trace directory
/u01/app/oracle/product/11.2.0/db_1/bin/clscfg.bin: error while loading shared libraries: libcap.so.1: cannot open shared object file: No such file or directory
Failed to create keys in the OLR, rc = 32512, 32512
OLR configuration failed
Turns out there are a couple more RPMs we needed to load that the installer forgot to mention. Specifically they are:
- libcap-2.16-5.5.el6.i686.rpm
- compat-libcap1-1.10-1.i686.rpm
- compat-libcap1-1.10-1.x86_64.rpm
On CentOS 6.3 we can load all these RPMs and required dependencies with the following command:
rpm -ivh libcap-2.16-5.5.el6.i686.rpm \
libattr-2.4.44-7.el6.i686.rpm \
compat-libcap1-1.10-1.*.rpm
And we can find these on the install media, this example again from CentOS 6.3 shows them being loaded:
[root@localhost ~]# cd "/media/CentOS_6.3_Final/Packages/" [root@localhost Packages]# rpm -ivh libcap-2.16-5.5.el6.i686.rpm \ > libattr-2.4.44-7.el6.i686.rpm \ > compat-libcap1-1.10-1.*.rpm warning: libcap-2.16-5.5.el6.i686.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY Preparing... ########################################### [100%] 1:libattr ########################################### [ 25%] 2:compat-libcap1 ########################################### [ 50%] 3:libcap ########################################### [ 75%] 4:compat-libcap1 ########################################### [100%] [root@localhost Packages]#
If you encounter this problem during the install, you will need to use the rootcrs.pl script to de-configure the Grid before you can run root.sh again.
The rootcrs.pl script is found in the Grid home under crs/install
[root@localhost install]# pwd /u01/app/oracle/product/11.2.0/db_1/crs/install [root@localhost install]# ./rootcrs.pl -deconfig -force -verbose 2012-11-05 18:52:33: Parsing the host name 2012-11-05 18:52:33: Checking for super user privileges 2012-11-05 18:52:33: User has super user privileges Using configuration parameter file: ./crsconfig_params
Once the script completes you can execute root.sh again

I am facing below issue..
Initially i got OLR configuration failed.. so as per the below link i had deconfigured Oracle clusterware and run again root.sh but the same error again.
Help me to resolve these issue.
logbash-4.2# ./rootcrs.pl -deconfig -force -verbose
2014-07-09 11:46:58: Parsing the host name
2014-07-09 11:46:58: Checking for super user privileges
2014-07-09 11:46:58: User has super user privileges
Using configuration parameter file: ./crsconfig_params
PRCR-1035 : Failed to look up CRS resource ora.cluster_vip.type for 1
PRCR-1068 : Failed to query resources
Cannot communicate with crsd
PRCR-1070 : Failed to check if resource ora.gsd is registered
Cannot communicate with crsd
PRCR-1070 : Failed to check if resource ora.ons is registered
Cannot communicate with crsd
PRCR-1070 : Failed to check if resource ora.eons is registered
Cannot communicate with crsd
ADVM/ACFS is not supported on redhat-release-server-6Server-6.5.0.1.el6.x86_64
ACFS-9201: Not Supported
Failure at scls_scr_setval with code 8
Internal Error Information:
Category: -2
Operation: failed
Location: scrsearch3
Other: id doesnt exist scls_scr_setval
System Dependent Information: 2
CRS-4544: Unable to connect to OHAS
CRS-4000: Command Stop failed, or completed with errors.
error: package cvuqdisk is not installed
Successfully deconfigured Oracle clusterware stack on this node
logbash-4.2# /u01/app/11.2.0/grid/root.sh
Running Oracle 11g root.sh script…
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/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)
[n]:
The file “oraenv” already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying oraenv to /usr/local/bin …
The file “coraenv” already exists in /usr/local/bin. Overwrite it? (y/n)
[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-09 11:48:02: Parsing the host name
2014-07-09 11:48:02: Checking for super user privileges
2014-07-09 11:48:02: User has super user privileges
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
/u01/app/11.2.0/grid/bin/clscfg.bin: error while loading shared libraries: libcap.so.1: cannot open shared object file: No such file or directory
Failed to create keys in the OLR, rc = 127, 32512
OLR configuration failed
Looks like you are trying to install 11gR2 on RHEL 6.5 which I don’t think is a supported configuration.
My guess is you are missing the libcap.x86_64 RPMs.
Check you have all required RPMs before installing.
Gruff
Thanks! Helped a Lot!!