Redhat 6.4安装ORACLE11R2 ,运行root.sh报错:“libcap.so.1:cannot open shared object file”
来源:互联网 发布:矩阵的奇异值定义 编辑:程序博客网 时间:2024/05/16 16:00
1、系统环境:
Redhat 6.4 企业版
Oracle11.2.0.2 RAC+ASM
2、报错信息:/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、问题的可能性:
①缺少系统补丁包“libcap"补丁包
libcap-2-32bit-2.11-2.17.1
libcap-2-2.11-2.17.1
②缺少链接文件“libcap.so.1”
#cd /lib64#ll|grep libcap
-rwxr-xr-x 1 root root 14792 Feb 21 2009 libcap.so.1.10
lrwxrwxrwx 1 root root 14 Jul 17 23:53 libcap.so.2 -> libcap.so.2.11
-rwxr-xr-x 1 root root 19016 Nov 5 2011 libcap.so.2.11
4、整体解决办法:
①缺少系统补丁包“libcap"补丁包
libcap2-32bit-2.11-2.17.1
libcap2-2.11-2.17.1
②缺少链接文件“libcap.so.1”
# 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
创建链接文件:
# cd /lib64
# ln -s libcap.so.1.10 libcap.so.1
#ls -al libcap*
lrwxrwxrwx 1 root root 14 Aug 1 17:22 libcap.so.1 -> libcap.so.1.10
-rwxr-xr-x 1 root root 14792 Feb 21 2009 libcap.so.1.10
lrwxrwxrwx 1 root root 14 Jul 17 23:53 libcap.so.2 -> libcap.so.2.11
-rwxr-xr-x 1 root root 19016 Nov 5 2011 libcap.so.2.11
强制重置配置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 contact Oracle High Availability Services
CRS-4000: Command Stop failed, or completed with errors.
CRS-4639: Could 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
重跑root.sh
[root@rac1 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 are 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" 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.
*************************************省略中间弹出的文本*************************************************************
Successfully configured Oracle Grid Infrastructure for a Standalone Server
0 0
- Redhat 6.4安装ORACLE11R2 ,运行root.sh报错:“libcap.so.1:cannot open shared object file”
- RAC执行root.sh报libcap.so.1: cannot open shared object file
- RAC 执行root.sh 报错 libcap.so.1: cannot open shared object file: No such file or directory
- 安装RAC执行root.sh时报错:error while loading shared libraries: libcap.so.1: cannot open shared object file:
- Occur "libcap.so.1: cannot open shared object file" during Install 11g GI when running root.sh
- Redhat 6.3 安装11.2.0.2 grid 运行root.sh报找不到libcap.so.1
- oracle安装报错 /lib/i386/libawt.so:libXt.so.6:cannot open shared object file
- red hat安装oracle报错 libawt.so: libXp.so.6: cannot open shared object file: No such file
- ls: error while loading shared libraries: libcap.so.2: cannot open shared object file: No such file
- ORACLE10g安装报i386/libawt.so: libXp.so.6: cannot open shared object file.....
- postgresql报错Error while loading shared libraries: libpq.so.5: cannot open shared object file
- 执行root.sh,报clscfg.bin: error while loading shared libraries: libcap.so.1
- oracle安装报错:libXp.so.6: cannot open shared object file: No such file or directory
- 启动nginx 报错 error while loading shared libraries: libpcre.so.1: cannot open shared object file
- 启动nginx 报错 error while loading shared libraries: libpcre.so.1: cannot open shared object file
- centos下ffmpeg报错error while loading shared libraries: libXv.so.1: cannot open shared object file: No
- 【报错】ImportError: libcudnn.so.6: cannot open shared object file: No such file or directory
- tensorflow 报错 libcusolver.so.8.0: cannot open shared object file: No such file or directory
- 特殊需求的sql
- 掌握elasticsearch 搜索引擎开发的一般阶段
- Git 常用命令 更新与提交
- 检测edittext中文字的输入状态,清空内容
- 生成验证码
- Redhat 6.4安装ORACLE11R2 ,运行root.sh报错:“libcap.so.1:cannot open shared object file”
- 杨辉三角的前12行图示(阶乘的算法)
- 在CentOS中添加sudo帐户
- Android中的数据存储方式--重点讲SQLite
- MyEclipse中的WebSphere连接器
- HTML5 Canvas基础
- 算法复习--------------一维数组类
- 各类开发工具注册码(持续更新。。。)
- linux下C++开发工具