Centos 6.4安裝rac,執行root.sh時報錯

like052629發表於2014-12-15

在安裝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部落格 ” ,連結:http://blog.itpub.net/28258625/viewspace-1367911/,如需轉載,請註明出處,否則將追究法律責任。

相關文章