Oracle Rac root.sh報錯 Failed to create keys in the OLR, rc = 127 libcap.so.1,root.sholr
環境交待:Linux 6.3Oracle Rac 11.2.0.4
[root@web1 grid]# /u01/app/11.2.0/grid/root.shPerforming root user operation for Oracle 11g
The following environment variables are set as: ORACLE_OWNER= grid ORACLE_HOME= /u01/app/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 byDatabase Configuration Assistant when a database is createdFinished running generic part of root script.Now product-specific root actions will be performed.Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_paramsCreating trace directoryUser ignored Prerequisites during installationInstalling Trace File AnalyzerFailed to create keys in the OLR, rc = 127, Message: /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 at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 7660./u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/rootcrs.pl execution failed
[root@web1 lib64]# ls -lrt libcaplibcap-ng.so.0 libcap-ng.so.0.0.0 libcap.so.2 libcap.so.2.16 [root@web1 lib64]# ls -lrt libcap.so.2lrwxrwxrwx. 1 root root 14 12月 23 21:21 libcap.so.2 -> libcap.so.2.16[root@web1 lib64]# ln -s libcap.so.2.16 libcap.so.1
[root@web1 grid]# ./root.sh Performing root user operation for Oracle 11g
The following environment variables are set as: ORACLE_OWNER= grid ORACLE_HOME= /u01/app/11.2.0/grid
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 byDatabase Configuration Assistant when a database is createdFinished running generic part of root script.Now product-specific root actions will be performed.Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_paramsUser ignored Prerequisites during installationInstalling Trace File AnalyzerOLR initialization - successful root wallet root wallet cert root cert export peer wallet profile reader wallet pa wallet peer wallet keys pa wallet keys peer cert request pa cert request peer cert pa cert peer root cert TP profile reader root cert TP pa root cert TP peer pa cert TP pa peer cert TP profile reader pa cert TP profile reader peer cert TP peer user cert pa user certAdding Clusterware entries to upstartCRS-2672: Attempting to start 'ora.mdnsd' on 'web1'CRS-2676: Start of 'ora.mdnsd' on 'web1' succeededCRS-2672: Attempting to start 'ora.gpnpd' on 'web1'CRS-2676: Start of 'ora.gpnpd' on 'web1' succeededCRS-2672: Attempting to start 'ora.cssdmonitor' on 'web1'CRS-2672: Attempting to start 'ora.gipcd' on 'web1'CRS-2676: Start of 'ora.cssdmonitor' on 'web1' succeededCRS-2676: Start of 'ora.gipcd' on 'web1' succeededCRS-2672: Attempting to start 'ora.cssd' on 'web1'CRS-2672: Attempting to start 'ora.diskmon' on 'web1'CRS-2676: Start of 'ora.diskmon' on 'web1' succeededCRS-2676: Start of 'ora.cssd' on 'web1' succeeded-----已成功建立並啟動 ASM。-----已成功建立磁碟組OCRDG。clscfg: -install mode specifiedSuccessfully accumulated necessary OCR keys.Creating OCR keys for user 'root', privgrp 'root'..Operation successful.CRS-4256: Updating the profileSuccessful addition of voting disk a6fa4ff25bfd4f45bf16d5bbc23a13c7.Successfully replaced voting disk group with +OCRDG.CRS-4256: Updating the profileCRS-4266: Voting file(s) successfully replaced## STATE File Universal Id File Name Disk group-- ----- ----------------- --------- --------- 1. ONLINE a6fa4ff25bfd4f45bf16d5bbc23a13c7 (/dev/emcpowerb) [OCRDG]Located 1 voting disk(s).
CRS-2672: Attempting to start 'ora.asm' on 'web1'CRS-2676: Start of 'ora.asm' on 'web1' succeededCRS-2672: Attempting to start 'ora.OCRDG.dg' on 'web1'CRS-2676: Start of 'ora.OCRDG.dg' on 'web1' succeededConfigure Oracle Grid Infrastructure for a Cluster ... succeeded