Oracle Rac root.sh報錯 Failed to create keys in the OLR, rc = 127 libcap.so.1
環境
[root@web1 lib64]#[root@web1 lib64]#[root@web1 /]# cd /lib64
Linux 6.4
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]#[root@web1 lib64]#[root@web1 /]# cd /lib64
[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
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29802484/viewspace-2090735/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Failed to create or upgrade OLRAI
- BUG:Failed to create or upgrade OLRAI
- 11.2.0.4 RAC grid 執行root.sh 報錯libcap.so.1找不到
- RHEL 7 安裝oracle rac 11.2.0.4執行root.sh報錯ohasd failed to startOracleAI
- Rancher 系列文章-K3s Traefik MiddleWare 報錯-Failed to create middleware keysAI
- RAC執行root.sh報libcap.so.1: cannot open shared object fileObject
- 【rac故障】root.sh報錯Unable to get VIP info for new node
- Oracle RAC root.sh 報錯 Timed out waiting for the CRS stack to start 解決方法OracleAI
- 10g rac安裝crs,執行root.sh報錯
- ORACLE 19C RAC FOR RHEL7 打補丁報錯OPatchException: Unable to create patchObjectOracleExceptionObject
- 執行root.sh 時報錯Failed to upgrade Oracle Cluster Registry configurationAIOracle
- oracle之 安裝 11G RAC 報 NTP failedOracleAI
- PyCharm啟動報錯:Failed to create JVM.解決辦法之一PyCharmAIJVM
- 安裝RAC 執行root.sh指令碼報錯,解決辦法指令碼
- Oracle RAC重新執行root.sh指令碼Oracle指令碼
- RAC 11.2.0.3 管理OLR檔案
- Zabbix 2.2安裝MySQL MPM外掛報錯'Connection to zabbix server failed (rc=1305)'MySqlServerAI
- Oracle Enterprise Linux 5.6下安裝Oracle 10g RAC執行root.sh報錯問題解決LinuxOracle 10g
- MySQL建立使用者報錯 ERROR 1396 (HY000): Operation CREATE USER failed for 'afei'@'%'MySqlErrorAI
- CRS-2101:The OLR was formatted using version 3 ORACLE單機ASM報錯ORMOracleASM
- Oracle RAC 安裝 執行 root.sh時報Failed to upgrade Oracle Cluster Registry configuration問題的解決OracleAI
- Centos 6.4安裝rac,執行root.sh時報錯CentOS
- oracle 10g rac安裝報錯Oracle 10g
- 11G RAC OLR維護命令
- Root.sh failed at Failure at final check of Oracle CRS stack 10 問題AIOracle
- oracle10g rac on solaris 10 x86 clusterware_執行root.sh出錯Oracle
- asm報錯一例-support 報錯rename failedASMAI
- Oracle 10.2.0.5 emca配置報錯-ssl Open wallet failed, ret = 28750OracleAI
- IDEA啟動時報Failed to create JVM錯誤的解決IdeaAIJVM
- ftp 報錯 550 Failed to open fileFTPAI
- zabbix報錯fping failed:no outputAI
- Windows 啟動 Idea 報錯 if you already hava a 64-bit JDK ... 以及 failed to create jvm...WindowsIdeaJDKAIJVM
- pg_basebackup 報錯could not create directory
- rac 命令 srvctl 報錯
- ubuntu下pig報錯ERROR 2999: Unexpected internal error. Failed to create DataStorage的解決UbuntuErrorAIAST
- Create RAC Standby Database for RAC Primary DatabaseDatabase
- OGG Director報錯 Connection FAILEDAI
- PHP composer 報錯 certificate verify failedPHPAI