Oracle Rac root.sh報錯 Failed to create keys in the OLR, rc = 127 libcap.so.1,root.sholr

來源:互聯網
上載者:User

Oracle Rac root.sh報錯 Failed to create keys in the OLR, rc = 127 libcap.so.1,root.sholr
環境交待:Linux 6.3Oracle Rac 11.2.0.4
[root@web1 grid]# /u01/app/11.2.0/grid/root.shPerforming root user operation for Oracle 11g 
The following environment variables are set as:    ORACLE_OWNER= grid    ORACLE_HOME=  /u01/app/11.2.0/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]:    Copying dbhome to /usr/local/bin ...   Copying oraenv to /usr/local/bin ...   Copying coraenv to /usr/local/bin ...

Creating /etc/oratab file...Entries will be added to the /etc/oratab file as needed byDatabase Configuration Assistant when a database is createdFinished running generic part of root script.Now product-specific root actions will be performed.Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_paramsCreating trace directoryUser ignored Prerequisites during installationInstalling Trace File AnalyzerFailed to create keys in the OLR, rc = 127, Message:  /u01/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 
Failed to create keys in the OLR at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 7660./u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/rootcrs.pl execution failed

[root@web1 lib64]# ls -lrt libcaplibcap-ng.so.0      libcap-ng.so.0.0.0  libcap.so.2         libcap.so.2.16      [root@web1 lib64]# ls -lrt libcap.so.2lrwxrwxrwx. 1 root root 14 12月 23 21:21 libcap.so.2 -> libcap.so.2.16[root@web1 lib64]# ln -s libcap.so.2.16 libcap.so.1

[root@web1 grid]# ./root.sh Performing root user operation for Oracle 11g 
The following environment variables are set as:    ORACLE_OWNER= grid    ORACLE_HOME=  /u01/app/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.
Entries will be added to the /etc/oratab file as needed byDatabase Configuration Assistant when a database is createdFinished running generic part of root script.Now product-specific root actions will be performed.Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_paramsUser ignored Prerequisites during installationInstalling Trace File AnalyzerOLR initialization - successful  root wallet  root wallet cert  root cert export  peer wallet  profile reader wallet  pa wallet  peer wallet keys  pa wallet keys  peer cert request  pa cert request  peer cert  pa cert  peer root cert TP  profile reader root cert TP  pa root cert TP  peer pa cert TP  pa peer cert TP  profile reader pa cert TP  profile reader peer cert TP  peer user cert  pa user certAdding Clusterware entries to upstartCRS-2672: Attempting to start 'ora.mdnsd' on 'web1'CRS-2676: Start of 'ora.mdnsd' on 'web1' succeededCRS-2672: Attempting to start 'ora.gpnpd' on 'web1'CRS-2676: Start of 'ora.gpnpd' on 'web1' succeededCRS-2672: Attempting to start 'ora.cssdmonitor' on 'web1'CRS-2672: Attempting to start 'ora.gipcd' on 'web1'CRS-2676: Start of 'ora.cssdmonitor' on 'web1' succeededCRS-2676: Start of 'ora.gipcd' on 'web1' succeededCRS-2672: Attempting to start 'ora.cssd' on 'web1'CRS-2672: Attempting to start 'ora.diskmon' on 'web1'CRS-2676: Start of 'ora.diskmon' on 'web1' succeededCRS-2676: Start of 'ora.cssd' on 'web1' succeeded-----已成功建立並啟動 ASM。-----已成功建立磁碟組OCRDG。clscfg: -install mode specifiedSuccessfully accumulated necessary OCR keys.Creating OCR keys for user 'root', privgrp 'root'..Operation successful.CRS-4256: Updating the profileSuccessful addition of voting disk a6fa4ff25bfd4f45bf16d5bbc23a13c7.Successfully replaced voting disk group with +OCRDG.CRS-4256: Updating the profileCRS-4266: Voting file(s) successfully replaced##  STATE    File Universal Id                File Name Disk group--  -----    -----------------                --------- --------- 1. ONLINE   a6fa4ff25bfd4f45bf16d5bbc23a13c7 (/dev/emcpowerb) [OCRDG]Located 1 voting disk(s).
CRS-2672: Attempting to start 'ora.asm' on 'web1'CRS-2676: Start of 'ora.asm' on 'web1' succeededCRS-2672: Attempting to start 'ora.OCRDG.dg' on 'web1'CRS-2676: Start of 'ora.OCRDG.dg' on 'web1' succeededConfigure Oracle Grid Infrastructure for a Cluster ... succeeded

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.