码迷,mamicode.com
首页 > 数据库 > 详细

Oracle Rac root.sh报错 Failed to create keys in the OLR, rc = 127 libcap.so.1

时间:2015-01-29 22:37:01      阅读:1805      评论:0      收藏:0      [点我收藏+]

标签:

环境交待:
Linux 6.3
Oracle Rac 11.2.0.4

[root@web1 grid]# /u01/app/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=  /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 by
Database Configuration Assistant when a database is created
Finished 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_params
Creating trace directory
User ignored Prerequisites during installation
Installing Trace File Analyzer
Failed 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 libcap
libcap-ng.so.0      libcap-ng.so.0.0.0  libcap.so.2         libcap.so.2.16      
[root@web1 lib64]# ls -lrt libcap.so.2
lrwxrwxrwx. 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 by
Database Configuration Assistant when a database is created
Finished 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_params
User ignored Prerequisites during installation
Installing Trace File Analyzer
OLR 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 cert
Adding Clusterware entries to upstart
CRS-2672: Attempting to start ‘ora.mdnsd‘ on ‘web1‘
CRS-2676: Start of ‘ora.mdnsd‘ on ‘web1‘ succeeded
CRS-2672: Attempting to start ‘ora.gpnpd‘ on ‘web1‘
CRS-2676: Start of ‘ora.gpnpd‘ on ‘web1‘ succeeded
CRS-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‘ succeeded
CRS-2676: Start of ‘ora.gipcd‘ on ‘web1‘ succeeded
CRS-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‘ succeeded
CRS-2676: Start of ‘ora.cssd‘ on ‘web1‘ succeeded
-----已成功创建并启动 ASM。
-----已成功创建磁盘组OCRDG。
clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user ‘root‘, privgrp ‘root‘..
Operation successful.
CRS-4256: Updating the profile
Successful addition of voting disk a6fa4ff25bfd4f45bf16d5bbc23a13c7.
Successfully replaced voting disk group with +OCRDG.
CRS-4256: Updating the profile
CRS-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‘ succeeded
CRS-2672: Attempting to start ‘ora.OCRDG.dg‘ on ‘web1‘
CRS-2676: Start of ‘ora.OCRDG.dg‘ on ‘web1‘ succeeded
Configure Oracle Grid Infrastructure for a Cluster ... succeeded

Oracle Rac root.sh报错 Failed to create keys in the OLR, rc = 127 libcap.so.1

标签:

原文地址:http://blog.csdn.net/sunjiapeng/article/details/43278849

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!