码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2017-08-18 20:14:29      阅读:156      评论:0      收藏:0      [点我收藏+]

标签:director   nal   css   cti   environ   eric   bho   ssi   starting   

问题描述:

部署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

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

标签:director   nal   css   cti   environ   eric   bho   ssi   starting   

原文地址:http://www.cnblogs.com/secdata/p/7391202.html

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