RedHat 6.4安装Oracle11.2.0.2 RAC,运行root.sh报错:“libcap.so.1:cann
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
本文永久更新链接地址:
,
热AI工具

Undresser.AI Undress
人工智能驱动的应用程序,用于创建逼真的裸体照片

AI Clothes Remover
用于从照片中去除衣服的在线人工智能工具。

Undress AI Tool
免费脱衣服图片

Clothoff.io
AI脱衣机

AI Hentai Generator
免费生成ai无尽的。

热门文章

热工具

记事本++7.3.1
好用且免费的代码编辑器

SublimeText3汉化版
中文版,非常好用

禅工作室 13.0.1
功能强大的PHP集成开发环境

Dreamweaver CS6
视觉化网页开发工具

SublimeText3 Mac版
神级代码编辑软件(SublimeText3)

热门话题

本文讨论了使用MySQL的Alter Table语句修改表,包括添加/删除列,重命名表/列以及更改列数据类型。

文章讨论了为MySQL配置SSL/TLS加密,包括证书生成和验证。主要问题是使用自签名证书的安全含义。[角色计数:159]

文章讨论了流行的MySQL GUI工具,例如MySQL Workbench和PhpMyAdmin,比较了它们对初学者和高级用户的功能和适合性。[159个字符]

本文讨论了使用Drop Table语句在MySQL中放下表,并强调了预防措施和风险。它强调,没有备份,该动作是不可逆转的,详细介绍了恢复方法和潜在的生产环境危害。

本文讨论了在PostgreSQL,MySQL和MongoDB等各个数据库中的JSON列上创建索引,以增强查询性能。它解释了索引特定的JSON路径的语法和好处,并列出了支持的数据库系统。

文章讨论了使用准备好的语句,输入验证和强密码策略确保针对SQL注入和蛮力攻击的MySQL。(159个字符)
