RedHat6.4安装Oracle11.2.0.2RAC,运行root.sh报错:“libcap.so.1:cann
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了RedHat6.4安装Oracle11.2.0.2RAC,运行root.sh报错:“libcap.so.1:cann,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含2758字,纯文字阅读大概需要4分钟。
内容图文
RedHat 6.4安装Oracle11.2.0.2 RAC,运行root.sh报错:ldquo;libcap.so.1:cannot open shared object filerdquo;
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"补丁包
# rpm -qa|grep 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"补丁包
# rpm -ivh|grep 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
本文永久更新链接地址:
,内容总结
以上是互联网集市为您收集整理的RedHat6.4安装Oracle11.2.0.2RAC,运行root.sh报错:“libcap.so.1:cann全部内容,希望文章能够帮你解决RedHat6.4安装Oracle11.2.0.2RAC,运行root.sh报错:“libcap.so.1:cann所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。