Failed to create keys in the OLR, rc = 127, Message:
Posted Secdata Share Blog
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了 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
以上是关于 Failed to create keys in the OLR, rc = 127, Message:的主要内容,如果未能解决你的问题,请参考以下文章
pip错误-failed to create process/fatal error in launcher
Failed to create maven project:'.../pom. xml"already exists in VFS
创建maven项目报错“Failed to create a Maven project: ‘XXX/SpringBootDemo/pom.xml‘ already exists in VFS“
重启idea项目,报failed to create mbean for naming resource null
Kubernetes Kubelete 报错 ctr: failed to create shim task: OCI runtime create failed
Android Studio 3.0预览版本 Error:Gradle: failed to create directory 解决方案