1、报错信息如下
[root@rac1 etc]# /oracle/app/grid/18/root.sh
Performing root user operation.
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /oracle/app/grid/18
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.
Relinking oracle with rac_on option
Using configuration parameter file: /oracle/app/grid/18/crs/install/crsconfig_params
The log of current session can be found at:
/oracle/app/grid/crs/crsdata/rac1/crsconfig/rootcrs_rac1_2022-03-10_04-00-35PM.log
2022/03/10 16:00:40 CLSRSC-594: Executing installation step 1 of 20: 'SetupTFA'.
2022/03/10 16:00:40 CLSRSC-4001: Installing Oracle Trace File Analyzer (TFA) Collector.
2022/03/10 16:00:40 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.
2022/03/10 16:00:40 CLSRSC-594: Executing installation step 2 of 20: 'ValidateEnv'.
2022/03/10 16:00:40 CLSRSC-363: User ignored prerequisites during installation
2022/03/10 16:00:40 CLSRSC-594: Executing installation step 3 of 20: 'CheckFirstNode'.
2022/03/10 16:00:43 CLSRSC-594: Executing installation step 4 of 20: 'GenSiteGUIDs'.
2022/03/10 16:00:48 CLSRSC-594: Executing installation step 5 of 20: 'SaveParamFile'.
2022/03/10 16:00:49 CLSRSC-594: Executing installation step 6 of 20: 'SetupOSD'.
2022/03/10 16:00:49 CLSRSC-594: Executing installation step 7 of 20: 'CheckCRSConfig'.
2022/03/10 16:00:50 CLSRSC-594: Executing installation step 8 of 20: 'SetupLocalGPNP'.
2022/03/10 16:00:51 CLSRSC-594: Executing installation step 9 of 20: 'CreateRootCert'.
2022/03/10 16:01:00 CLSRSC-594: Executing installation step 10 of 20: 'ConfigOLR'.
PROTL-4: Failed to retrieve data from the local registry
2022/03/10 16:01:17 CLSRSC-169: Failed to create or upgrade OLR
Died at /oracle/app/grid/18/crs/install/oraolr.pm line 549.
解决办法,参考MOS文档
root.sh was failing due to residual socket files (Doc ID 2542916.1) |
CAUSE
Old residual socket files was not responding and failing while connecting to /var/tmp/.oracle/sprocr_local_conn_0_PROL
SOLUTION
+ Delete failed stack
as root OS user,
<GI_HOME>/crs/install/rootcrs.sh -deconfig -force
+ Then delete all files from /var/tmp/.oracle
cd /var/tmp/.oracle
rm -rf *.*
+ Then rerun root.sh