Translate

Search This Blog

installation errors in RAC root.sh CRS-1013:The OCR location in an ASM disk group is inaccessible, clscfg.bin: error while loading shared libraries: libcap.so.1


Error 1:

 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

Remedy
 root@node1 ~]# cd /rhel6.4_media/Packages/
[root@node1 Packages]# ls -ltrh compat-libcap1-1.10-1.x86_64.rpm
-r--r--r--. 1 root root 18K Aug  9 14:19 compat-libcap1-1.10-1.x86_64.rpm
1.  install the required package
[root@node1 Packages]# rpm -ivh compat-libcap1-1.10-1.x86_64.rpm
warning: compat-libcap1-1.10-1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing...                ########################################### [100%]
   1:compat-libcap1         ########################################### [100%]
2. clean the run of root.sh
$GRID_HOME/crs/install/rootcrs.pl -verbose -deconfig -force

if it is the last node run following
$GRID_HOME/crs/install/rootcrs.pl -verbose -deconfig -force -lastnode

Error 2:

 [client(13005)]CRS-2317:Fatal error: cannot get local GPnP security keys (wallet).
2013-08-10 13:43:10.896
[client(13005)]CRS-2316:Fatal error: cannot initialize GPnP, CLSGPNP_ERR (Generic GPnP error).
2013-08-10 13:43:10.907
[client(13005)]CRS-1013:The OCR location in an ASM disk group is inaccessible. Details in /u01/11.2.0/grid/log/node1/client/clscfg.log.

[root@node2 grid]# cat /u01/11.2.0/grid/log/node2/client/clscfg.log
Oracle Database 11g Clusterware Release 11.2.0.2.0 - Production Copyright 1996, 2010 Oracle. All rights reserved.
2013-08-10 14:08:17.318: [  CLSCFG][326362880]clscfg_main: Configuration type [4]

remedy - that is probably due bug, it was fixed by installing the upgraded version of cluster after cleaning from above script roocrs.pl and removing grid installation files