RedHat6.4 install Oracle11.2.0.2RAC and run root. sh to report the following error: ldquo; libcap. so.1: cannotopen#dobjectfilerdquo;
RedHat 6.4 install Oracle11.2.0.2 RAC and run root. sh to report the following error: ldquo; libcap. so.1: cannot open shared object filerdquo;
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. Possible problems:
① The system patch package "libcap" patch package is missing
# Rpm-qa | grep libcap
Libcap-2-32bit-2.11-2.17.1
Libcap-2-2.11-2.17.1
② The linked file "libcap. so.1" is missing"
# Cd/lib64
# Ll | grep libcap
-Rwxr-xr-x 1 root 14792 Feb 21 2009 libcap. so.1.10
Lrwxrwxrwx 1 root 14 Jul 17 23:53 libcap. so.2-> libcap. so.2.11
-Rwxr-xr-x 1 root 19016 Nov 5 2011 libcap. so.2.11
4. Overall solution:
① The system patch package "libcap" patch package is missing
# Rpm-ivh | grep libcap
Libcap2-32bit-2.11-2.17.1
Libcap2-2.11-2.17.1
② The linked file "libcap. so.1" is missing"
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
Create a link file:
# Cd/lib64
# Ln-s libcap. so.1.10 libcap. so.1
# Ls-al libcap *
Lrwxrwxrwx 1 root 14 Aug 1 libcap. so.1-> libcap. so.1.10
-Rwxr-xr-x 1 root 14792 Feb 21 2009 libcap. so.1.10
Lrwxrwxrwx 1 root 14 Jul 17 23:53 libcap. so.2-> libcap. so.2.11
-Rwxr-xr-x 1 root 19016 Nov 5 2011 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: cocould not contact Oracle High Availability Services
CRS-4000: Command Stop failed, or completed with errors.
CRS-4639: cocould not contact 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
Rerun root. sh
[Root @ rac1 CVU_11.2.0.3.0_grid] #/oracle/grid/product/11.2.0/grid/root. sh
Padding Ming root user operation for Oracle 11g
The following environment variables are set:
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" 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.
************************************* Omitted the middle pop-up ************************************** ***********************
Successfully configured Oracle Grid Infrastructure for a Standalone Server
This article permanently updates the link address:
,