ITPub博客

首页 > 数据库 > Oracle > Centos 6.4安装rac,执行root.sh时报错

Centos 6.4安装rac,执行root.sh时报错

原创 Oracle 作者:like052629 时间:2014-12-15 09:37:41 0 删除 编辑

在安装grid后,执行root.sh脚本时报错信息如下:

Installing Trace File Analyzer

Failed to create keys in the OLR, rc = 127, Message:

  /home/grid/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 /home/grid/11.2.0/grid/crs/install/crsconfig_lib.pm line 7660.

/home/grid/11.2.0/grid/perl/bin/perl -I/home/grid/11.2.0/grid/perl/lib -I/home/grid/11.2.0/grid/crs/install /home/grid/11.2.0/grid/crs/install/rootcrs.pl execution failed

通过查看发现只有包

[root@ryxr2 bin]# rpm -qa|grep libcap

libcap-ng-0.6.4-3.el6_0.1.x86_64

libcap-2.16-5.5.el6.x86_64

[root@ryxr2 bin]# yum list |grep libcap

compat-libcap1.x86_64                1.10-1                      @base          

libcap.x86_64                        2.16-5.5.el6                @anaconda-CentOS-201303020151.x86_64/6.4

libcap-ng.x86_64                     0.6.4-3.el6_0.1             @anaconda-CentOS-201303020151.x86_64/6.4

compat-libcap1.i686                  1.10-1                      base           

libcap.i686                          2.16-5.5.el6                base           

libcap-devel.i686                    2.16-5.5.el6                base           

libcap-devel.x86_64                  2.16-5.5.el6                base           

libcap-ng.i686                       0.6.4-3.el6_0.1             base           

libcap-ng-devel.i686                 0.6.4-3.el6_0.1             base           

libcap-ng-devel.x86_64               0.6.4-3.el6_0.1             base           

libcap-ng-python.x86_64              0.6.4-3.el6_0.1             base           

libcap-ng-utils.x86_64               0.6.4-3.el6_0.1             base           

Yum安装compat-libcap1包即可(或安装所列出的所有rpm包)。

[root@ryxr1 grid]# yum install compat-libcap1

  Installing : compat-libcap1-1.10-1.x86_64                                                                                                                      

  Verifying  : compat-libcap1-1.10-1.x86_64                                                                                                                        

Installed:

  compat-libcap1.x86_64 0:1.10-1                                                                                                                                       

Complete!

再次执行root.sh前,需要删除配置信息(虽然我没有删除,但是依然成功)

./roothas.pl -deconfig -force

./root.sh

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/28258625/viewspace-1367911/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2014-11-18

  • 博文量
    120
  • 访问量
    551552