Sunday, June 16, 2019

Grid Infrastructure root.sh Fail With Error "Failed to create keys in the OLR"


During the installation of Grid Infrastructure Clusterware 12.1.0.2 on OEL 6.6 root.sh failed with the following error:

[root]# /u01/12.1.0/grid/root.sh 
Performing root user operation. 

The following environment variables are set as: 
ORACLE_OWNER= grid 
ORACLE_HOME= /u01/12.1.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 script. 
Now product-specific root actions will be performed. 
Using configuration parameter file: /u01/12.1.0/grid/crs/install/crsconfig_params 
/u01/12.1.0/grid/bin/crsctl query crs releaseversion ... failed rc=1 with message: 
/u01/12.1.0/grid/bin/crsctl: line 307: /u01/12.1.0/grid/bin/crsctl.bin: Success 

Failed to create keys in the OLR, rc = 1, Message: 
/u01/12.1.0/grid/bin/clscfg: line 307: /u01/12.1.0/grid/bin/clscfg.bin: Success 

Died at /u01/12.1.0/grid/crs/install/crsutils.pm line 7705. 
The command '/u01/12.1.0/grid/perl/bin/perl -I/u01/12.1.0/grid/perl/lib -I/u01/12.1.0/grid/crs/install /u01/12.1.0/grid/crs/install/rootcrs.pl ' execution failed 

Analysis:
At the first glance, I thought there is a problem with writing to the ASM disk group where the OCR will be created, after a long analysis and research, I finally figured out that the Grid binary source files where I'm installing the Clusterware from are missing some files!

Fix:
I re-downloaded the Grid Infrastructure source binaries and managed to install the Grid Infrastructure successfully.

Reference: Doc ID 1909073.1

No comments:

Post a Comment