[转载] Failed to create keys in the OLR, rc = 127, Message:

问题描述:

部署Oracle RAC环境安装grid软件在到最后两个节点执行脚本时,第二个节点执行root.sh报错提示如下:

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: /app/grid/11.2.0/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:
  /app/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 /app/grid/11.2.0/crs/install/crsconfig_lib.pm line 7660.
/app/grid/11.2.0/perl/bin/perl -I/app/grid/11.2.0/perl/lib -I/app/grid/11.2.0/crs/install /app/grid/11.2.0/crs/install/rootcrs.pl execution failed

问题分析:

说是找不到  libcap.so.1 这个包,创建链接文件进行处理

问题处理:

创建链接文件

$ cd /lib64
$ ls -ltr libcap*
-rwxr-xr-x. 1 root root 18672 Nov  5  2010 libcap-ng.so.0.0.0
-rwxr-xr-x  1 root root 19016 Aug 23  2011 libcap.so.2.16
lrwxrwxrwx. 1 root root    14 Aug 15 10:36 libcap.so.2 -> libcap.so.2.16
lrwxrwxrwx. 1 root root    18 Aug 15 10:36 libcap-ng.so.0 -> libcap-ng.so.0.0.0
$ ls -ltr libcap.so.2
lrwxrwxrwx. 1 root root 14 Aug 15 10:36 libcap.so.2 -> libcap.so.2.16
$ sudo ln -s libcap.so.2.16 libcap.so.1
[sudo] password for deployer:
$ ls -ltr libcap*
-rwxr-xr-x. 1 root root 18672 Nov  5  2010 libcap-ng.so.0.0.0
-rwxr-xr-x  1 root root 19016 Aug 23  2011 libcap.so.2.16
lrwxrwxrwx. 1 root root    14 Aug 15 10:36 libcap.so.2 -> libcap.so.2.16
lrwxrwxrwx. 1 root root    18 Aug 15 10:36 libcap-ng.so.0 -> libcap-ng.so.0.0.0
lrwxrwxrwx  1 root root    14 Aug 18 18:19 libcap.so.1 -> libcap.so.2.16

继续在第二个节点执行root.sh,执行成功

$ sudo sh /app/grid/11.2.0/root.sh
[sudo] password for deployer:
Performing root user operation for Oracle 11g 

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /app/grid/11.2.0

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: /app/grid/11.2.0/crs/install/crsconfig_params
User ignored Prerequisites during installation
Installing Trace File Analyzer
OLR initialization - successful
Adding Clusterware entries to upstart
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node oss-zygl-337, number 1, and is terminating
An active cluster was found during exclusive startup, restarting to join the cluster
Configure Oracle Grid Infrastructure for a Cluster ... succeeded
时间: 2024-11-19 11:24:10

[转载] Failed to create keys in the OLR, rc = 127, Message:的相关文章

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

环境交待: Linux 6.3 Oracle Rac 11.2.0.4 [[email protected] 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 f

搭建RAC 遇到 Failed to create keys in the OLR

解决方法: 因缺少一个包而引起: yum install compat-libcap1-*  OK 了

Oracle Study之--Oracle 11g RAC故障(Failed to create or upgrade OLR)

Oracle Study之--Oracle 11g RAC故障(Failed to create or upgrade OLR) 系统环境:       操作系统: RedHat EL5.5       Cluster:   Oracle Grid 11.2.0.1.0       Oracle:     Oracle 11g  11.2.0.1.0 故障现象:             在Oracle 11gR2  RAC添加新节点的过程中,在new node上运行root.sh时出现以下故障:

win10安装Anaconda3出现failed to create anacoda menue错误的解决方案

其他描述:[Anaconda Prompt找不到][开始菜单没有Anaconda Prompt][Anaconda failed to create anacoda menue][IPython找不到] 环境:windows10, Anaconda3 ( python3.6, 64-bit ) 错误:failed to create anacoda menue 解决思路: 从错误信息看是添加开始菜单的快捷方式失败,因此新建几个快捷方式即可. 解决方案: 重新安装Anaconda,报错后忽略,忽略

eclipse failed to create the java virtual

发生这个的背景:昨天能启动,今天启动不了. 发生的原因:系统内存不足,被其他软件吃的差不多了. 解决方案:如何害怕复制以下内容会改变你的配置,自己手工修改内存值.256 改成128 512改成256 方法如下: 找到eclipse目录下的eclipse.ini,可以看到如下内容: -startup plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar --launcher.library plugins/org.eclipse.equi

phpStorm打开提示 failed to create JVM 的解决办法

phpStorm 软件打开运行提示 failed to create JVM的解决办法. 修改文件 D:\Program Files (x86)\JetBrains\PhpStorm 7.1.3\bin\PhpStorm.exe.vmoptions 把内存值改成标准值,文件全部内容如下: -server -Xms128m -Xmx512m -XX:MaxPermSize=250m -XX:ReservedCodeCacheSize=64m -ea -Dsun.io.useCanonCaches=

VirtualBox Host-only Adapter,Failed to create the host-only adapter 转

不用重装VirtualBox,安装虚拟网卡 今天使用VirtualBox的host-only模式,因为之前把网络连接卸载,这次出现的各种错误. Failed to create the host-only adapter Could not find Host Interface Networking driver! Please reinstall How to reinstall the host-only network adapter in VirtualBox 1 2 3 4 Fail

php错误:Uncaught exception com_exception with message Failed to create COM object

本文为大家讲解的是php错误:Uncaught exception com_exception with message Failed to create COM object,感兴趣的同学参考下. 错误: Fatal error: Uncaught exception 'com_exception' with message 'Failed to create COM object `InternetExplorer.Application': 拒绝访问 在PHP中调用IE使用如下代码: br

启动Myeclipse报错“Failed to create the Java Virtual Machine”的解决办法

我安装的是Myeclipse 10.7.1.装上好久没用,今天启动突然报错:Failed to create the Java Virtual Machine. 检查Myeclipse安装好使用时好的啊,近期也没用,可能是近期升级了本地单独安装的jre版本导致的吧(Myeclipse使用自己的jre的). 整理了如下2个解决办法,可以选择一个使用,我选择的是第2个.经测试都ok. 方法一: 找到Myeclpise路径下的myeclipse.ini文件: 编辑将Xmx(JVM Heap最大允许的尺