执行root.sh,报clscfg.bin: error while loading shared libraries: libcap.so.1
2014-12-03 14:46
381 查看
安装 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)
[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)
相关文章推荐
- /u01/app/grid/11.2.0/bin/clscfg.bin: error while loading shared libraries: libcap.so.1: cannot ope
- clscfg.bin: error while loading shared libraries: libcap.so.1:
- /u01/app/11.2.0/grid/bin/clscfg.bin: error while loading shared libraries: libcap.so.1: cannot open
- clscfg.bin: error while loading shared libraries: libcap.so.1: cannot open shared
- /bin/sh: 1: aeon-gcc: not found & error while loading shared libraries: libgcc_s.so.1问题的原因以及解决办法
- 编译安装postfix, 执行make install时报错: bin/postconf: error while loading shared libraries: libmysqlclient.s
- 执行gm命令时报错:error while loading shared libraries: libjpeg.so.62的解决办法
- 安装ogg时,执行./ggsci报错./ggsci:error while loading shared libraries:libnnz10.so......
- /usr/local/bin/memcached: error while loading shared libraries: libevent-1.3.so.1: cannot open share
- 针对Ubuntu下运行可执行文件出现的error while loading shared libraries: xxx.so的解决办法
- linux执行命令之后显示error while loading shared libraries
- ./bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file:
- linux执行命令之后显示error while loading shared libraries
- 启动Memcached报错:/usr/local/memcached/bin/memcached: error while loading shared libraries: libevent-2.1.so.6: cannot open shared object file: No such file or directory
- bin/mysqld: error while loading shared libraries: libnuma.so.1: 安装mysql
- as: error while loading shared libraries: /usr/lib64/libopcodes-2.20.51.0.2-5.44.el6.so: file too sh
- mysql 初始化报错 /usr/local/mysql/bin/mysqld:error while loading shared libraries :libaio.so.1
- ./bin/logServer: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or dir
- bin/postconf: error while loading shared libraries: libmysqlclient
- error while loading shared libraries: libcap.so.1