安装RAC执行root.sh时报错:error while loading shared libraries: libcap.so.1: cannot open shared object file:
来源:互联网 发布:天刀男性捏脸数据导入 编辑:程序博客网 时间:2024/06/05 05:11
本次安装Oracle Rac执行root.sh脚本时,出现如下报错:
Installing Trace File AnalyzerFailed to create keys in the OLR, rc = 127, Message: /u01/grid/11.2.0/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 /u01/grid/11.2.0/crs/install/crsconfig_lib.pm line 7660./u01/grid/11.2.0/perl/bin/perl -I/u01/grid/11.2.0/perl/lib -I/u01/grid/11.2.0/crs/install /u01/grid/11.2.0/crs/install/rootcrs.pl execution failed
报错明显显示找不到libcap.so.1,但是在安装前进行检测发现所有的包其实都已经安装完毕了。
与这个文件相关的包为compat-libcap1-1.10-1.x86_64.rpm
此时我们只需要做如下操作即可:
cd /lib64[root@gwdb1 lib64]# ll libcap.so*lrwxrwxrwx. 1 root root 11 Jan 3 11:26 libcap.so -> libcap.so.2lrwxrwxrwx. 1 root root 14 Jan 3 11:14 libcap.so.2 -> libcap.so.2.16-rwxr-xr-x. 1 root root 19016 Aug 23 2011 libcap.so.2.16[root@gwdb1 lib64]# ln -s libcap.so.2libcap.so.2 libcap.so.2.16 [root@gwdb1 lib64]# ln -s libcap.so.2.16 libcap.so.1
然后执行下如下脚本,删除之前执行root.sh所做的配置$GRID_HOME/crs/install/rootcrs.pl -verbose -deconfig -force需要注意的是,以上脚本其实可以不用执行,因为oracle 11g执行root.sh时,会记录上次执行的检查点,故做完链接库文件后可以直接执行root.sh脚本
此时,执行root.sh脚本,成功通过。
0 0
- 安装RAC执行root.sh时报错:error while loading shared libraries: 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
- ls: error while loading shared libraries: libcap.so.2: cannot open shared object file: No such file
- 执行root.sh,报clscfg.bin: error while loading shared libraries: libcap.so.1
- clscfg.bin: error while loading shared libraries: libcap.so.1: cannot open shared
- postgresql报错Error while loading shared libraries: libpq.so.5: cannot open shared object file
- db2start: error while loading shared libraries: libnuma.so.1: cannot open shared object file: No suc
- ./server: error while loading shared libraries: libzmq.so.1: cannot open shared object file: No such
- error while loading shared libraries: libpcre.so.1: cannot open shared object file
- error while loading shared libraries: libz.so.1: cannot open shared object file
- error while loading shared libraries: libevent-1.3.so.1: cannot open shared object file
- error while loading shared libraries: libz.so.1: cannot open shared object file: No such
- mecab: error while loading shared libraries: libmecab.so.1: cannot open shared object file: No such
- 解决 error while loading shared libraries: libghttp.so.1: cannot open shared object file
- 解决aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: Nosuchfile
- error while loading shared libraries:libboost_system.so.1.46.1:cannot open shared object file
- [atom] error while loading shared libraries: libXss.so.1: cannot open shared object file:
- spring mvc RedirectAttributes 重定向 + redis缓存
- php、java 实现享元模式
- maven使用deploy发布到本地仓库
- 深入理解php $this 变量是一个到主叫对象的引用
- python切片
- 安装RAC执行root.sh时报错:error while loading shared libraries: libcap.so.1: cannot open shared object file:
- Storm linux单机版安装
- 配准小问题
- plsql无“连接到”,plsql的database下拉空白,plsql报 Could not load ... oci.dll 找不到,plsql 报 系统缺失MSVCR71.dll
- python笔记
- 怎么用指针操作二维数组
- java__if从大到小排列
- JAVA中的GC机制详解 (一)
- android手机分辨率,xDpi,yDpi,尺寸等各种相关物理参数