1. System Environment:
Redhat 6.4 Enterprise Edition
Oracle11.2.0.2 rac+asm
2. Error message: /oracle/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
3, the possibility of the problem:
① Missing System fix Pack "Libcap" Patch Pack
# Rpm-qa|grep Libcap libcap-2-32bit-2.11-2.17.1 libcap-2-2.11-2.17.1 |
② missing link file "libcap.so.1"
#cd/lib64 #ll |grep Libcap -rwxr-xr-x 1 root root 14792 Feb libcap.so.1.10 lrwxrwxrwx 1 root root 23:53 libcap.so.2-libcap.so.2.11 -rwxr-xr-x 1 root root 19016 5 Nov libcap.so.2.11 |
4, the overall solution:
① Missing System fix Pack "Libcap" Patch Pack
# Rpm-ivh|grep Libcap libcap2-32bit-2.11-2.17.1 libcap2-2.11-2.17.1 |
② Missing link file "libcap.so.1"
Find the location of the missing link file: # Find/-name libcap* /lib/libcap.so.2 /lib/libcap.so.2.11 /lib64/libcap.so.2 /lib64/libcap.so.2.11 /lib64/libcap.so.1.10 To create a linked file: # cd/lib64 # ln-s libcap.so.1.10 libcap.so.1 #ls-al libcap* lrwxrwxrwx 1 root root 1 17:22 libcap.so.1-libcap.so.1.10 -rwxr-xr-x 1 root root 14792 Feb libcap.so.1.10 lrwxrwxrwx 1 root root 23:53 libcap.so.2-libcap.so.2.11 -rwxr-xr-x 1 root root 19016 5 Nov libcap.so.2.11 Force reset Configuration 11g GI Ohas #/oracle/grid/product/11.2.0/grid/crs/install/roothas.pl-deconfig-force Using configuration parameter file:/home/grid/product/11.2.0/grid/crs/install/crsconfig_params Crs-4639:could not contacted Oracle high availability Services Crs-4000:command Stop failed, or completed with errors. Crs-4639:could not contacted Oracle high availability Services Crs-4000:command Delete failed, or completed with errors. Crs-4544:unable to connect to Ohas Crs-4000:command Stop failed, or completed with errors. Failure in execution (rc=-1, 0, No such file or directory) for COMMAND/ETC/INIT.D/OHASD deinstall Successfully deconfigured Oracle Restart stack Re-run root.sh [email protected] cvu_11.2.0.3.0_grid]#/oracle/grid/product/11.2.0/grid/root.sh Performing root user operation for Oracle 11g The following environment variables is set as: oracle_owner= Grid Oracle_home=/home/grid/product/11.2.0/grid Enter the full pathname of the local bin directory: [/usr/local/bin]: The contents of "Dbhome" has not changed. No need to overwrite. The contents of "oraenv" has not changed. No need to overwrite. The contents of "coraenv" has not changed. No need to overwrite. Omit the middle popup text ************************************************************* Successfully configured Oracle Grid Infrastructure for a Standalone Server
|
Redhat 6.4 Install ORACLE11R2, run root.sh error: "Libcap.so.1:cannot Open Shared Object File"