执行root.sh,报clscfg.bin: error while loading shared libraries: libcap.so.1

安装 oracle 11.2.0.4.0  grid组件,执行root.sh脚本时,遇到下面的错误:


[root~]# /oracle/app/11.2.0/grid/root.sh
Performing root user operation for Oracle 11g 


The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /oracle/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 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: /oracle/app/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
Installing Trace File Analyzer
Failed to create keys in the OLR, rc = 127, 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 


Failed to create keys in the OLR at /oracle/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 7660.
/oracle/app/11.2.0/grid/perl/bin/perl -I/oracle/app/11.2.0/grid/perl/lib -I/oracle/app/11.2.0/grid/crs/install /oracle/app/11.2.0/grid/crs/install/rootcrs.pl execution failed


通过查询metalink,发现是缺少 libcap 这个rpm包,将该rpm包安装即可。


详细参考文档:

Linux: clscfg.bin Error While Loading Shared Libraries: libcap.so.1 (文档 ID 952051.1)

你可能感兴趣的:(Oracle安装)