oracle 12.2R2 安裝GI跑root.sh遇到CLSRSC-400
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
以下內容學習自大張哥
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
概述
環境:
OS:redhat 7.6
Oracle:12.2.0.1 R2
在安裝GI,跑root.sh腳本的時候遇到“CLSRSC-400: A system reboot is required to continue installing.”錯誤,在重啓以後仍然安裝失敗。
參考MOS文檔:ID 26247490.8,ID 2303388.1
[22:35:test][root@test1 ~]# /u01/app/oraInventory/orainstRoot.sh
[22:35:test]Changing permissions of /u01/app/oraInventory.
[22:35:test]Adding read,write permissions for group.
[22:35:test]Removing read,write,execute permissions for world.
[22:35:test]
[22:35:test]Changing groupname of /u01/app/oraInventory to oinstall.
[22:35:test]The execution of the script is complete.
[22:36:test][root@test1 ~]# /u01/app/12.2.0/grid/root.sh
[22:36:test]Performing root user operation.
[22:36:test]
[22:36:test]The following environment variables are set as:
[22:36:test] ORACLE_OWNER= grid
[22:36:test] ORACLE_HOME= /u01/app/12.2.0/grid
[22:36:test]
[22:36:test]Enter the full pathname of the local bin directory: [/usr/local/bin]:
[22:36:test] Copying dbhome to /usr/local/bin ...
[22:36:test] Copying oraenv to /usr/local/bin ...
[22:36:test] Copying coraenv to /usr/local/bin ...
[22:36:test]
[22:36:test]
[22:36:test]Creating /etc/oratab file...
[22:36:test]Entries will be added to the /etc/oratab file as needed by
[22:36:test]Database Configuration Assistant when a database is created
[22:36:test]Finished running generic part of root script.
[22:36:test]Now product-specific root actions will be performed.
[22:36:test]Relinking oracle with rac_on option
[22:36:test]Using configuration parameter file: /u01/app/12.2.0/grid/crs/install/crsconfig_params
[22:36:test]The log of current session can be found at:
[22:36:test] /u01/app/grid/crsdata/test1/crsconfig/rootcrs_test1_2020-04-27_10-36-14PM.log
[22:36:test]2020/04/27 22:36:16 CLSRSC-594: Executing installation step 1 of 19: 'SetupTFA'.
[22:36:test]2020/04/27 22:36:16 CLSRSC-4001: Installing Oracle Trace File Analyzer (TFA) Collector.
[22:36:test]2020/04/27 22:36:43 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.
[22:36:test]2020/04/27 22:36:43 CLSRSC-594: Executing installation step 2 of 19: 'ValidateEnv'.
[22:36:test]2020/04/27 22:36:45 CLSRSC-363: User ignored prerequisites during installation
[22:36:test]2020/04/27 22:36:45 CLSRSC-594: Executing installation step 3 of 19: 'CheckFirstNode'.
[22:36:test]2020/04/27 22:36:47 CLSRSC-594: Executing installation step 4 of 19: 'GenSiteGUIDs'.
[22:36:test]2020/04/27 22:36:47 CLSRSC-594: Executing installation step 5 of 19: 'SaveParamFile'.
[22:36:test]2020/04/27 22:36:52 CLSRSC-594: Executing installation step 6 of 19: 'SetupOSD'.
[22:37:test]2020/04/27 22:37:08 CLSRSC-594: Executing installation step 7 of 19: 'CheckCRSConfig'.
[22:37:test]2020/04/27 22:37:08 CLSRSC-594: Executing installation step 8 of 19: 'SetupLocalGPNP'.
[22:37:test]2020/04/27 22:37:37 CLSRSC-594: Executing installation step 9 of 19: 'ConfigOLR'.
[22:37:test]2020/04/27 22:37:42 CLSRSC-594: Executing installation step 10 of 19: 'ConfigCHMOS'.
[22:37:test]2020/04/27 22:37:42 CLSRSC-594: Executing installation step 11 of 19: 'CreateOHASD'.
[22:37:test]2020/04/27 22:37:45 CLSRSC-594: Executing installation step 12 of 19: 'ConfigOHASD'.
[22:38:test]2020/04/27 22:38:00 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service'
[22:38:test]2020/04/27 22:38:33 CLSRSC-594: Executing installation step 13 of 19: 'InstallAFD'.
[22:38:test]2020/04/27 22:38:36 CLSRSC-594: Executing installation step 14 of 19: 'InstallACFS'.
[22:38:test]CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'test1'
[22:38:test]CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'test1' has completed
[22:38:test]CRS-4133: Oracle High Availability Services has been stopped.
[22:39:test]CRS-4123: Oracle High Availability Services has been started.
[22:39:test]2020/04/27 22:39:38 CLSRSC-400: A system reboot is required to continue installing.
[22:39:test]The command '/u01/app/12.2.0/grid/perl/bin/perl -I/u01/app/12.2.0/grid/perl/lib -I/u01/app/12.2.0/grid/crs/install /u01/app/12.2.0/grid/crs/install/rootcrs.pl ' execution failed
[22:39:test][root@test1 ~]# /u01/app/12.2.0/grid/perl/bin/perl -I/u01/app/12.2.0/grid/perl/lib -I/u01/app/12.2.0/grid/crs/install /u01/app/12.2.0/grid/crs/install/rootcrs.pl
[22:39:test]Using configuration parameter file: /u01/app/12.2.0/grid/crs/install/crsconfig_params
[22:39:test]The log of current session can be found at:
[22:39:test] /u01/app/grid/crsdata/test1/crsconfig/rootcrs_test1_2020-04-27_10-39-59PM.log
[22:40:test]2020/04/27 22:40:02 CLSRSC-594: Executing installation step 1 of 19: 'SetupTFA'.
[22:40:test]2020/04/27 22:40:02 CLSRSC-4001: Installing Oracle Trace File Analyzer (TFA) Collector.
[22:40:test]2020/04/27 22:40:03 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.
[22:40:test]2020/04/27 22:40:03 CLSRSC-594: Executing installation step 2 of 19: 'ValidateEnv'.
[22:40:test]2020/04/27 22:40:05 CLSRSC-363: User ignored prerequisites during installation
[22:40:test]2020/04/27 22:40:05 CLSRSC-594: Executing installation step 3 of 19: 'CheckFirstNode'.
[22:40:test]2020/04/27 22:40:07 CLSRSC-594: Executing installation step 4 of 19: 'GenSiteGUIDs'.
[22:40:test]2020/04/27 22:40:07 CLSRSC-594: Executing installation step 5 of 19: 'SaveParamFile'.
[22:40:test]2020/04/27 22:40:09 CLSRSC-594: Executing installation step 6 of 19: 'SetupOSD'.
[22:40:test]2020/04/27 22:40:26 CLSRSC-594: Executing installation step 7 of 19: 'CheckCRSConfig'.
[22:40:test]2020/04/27 22:40:26 CLSRSC-594: Executing installation step 8 of 19: 'SetupLocalGPNP'.
[22:40:test]2020/04/27 22:40:29 CLSRSC-594: Executing installation step 9 of 19: 'ConfigOLR'.
[22:40:test]2020/04/27 22:40:30 CLSRSC-594: Executing installation step 10 of 19: 'ConfigCHMOS'.
[22:41:test]2020/04/27 22:41:17 CLSRSC-594: Executing installation step 11 of 19: 'CreateOHASD'.
[22:41:test]2020/04/27 22:41:18 CLSRSC-594: Executing installation step 12 of 19: 'ConfigOHASD'.
[22:41:test]2020/04/27 22:41:19 CLSRSC-594: Executing installation step 13 of 19: 'InstallAFD'.
[22:41:test]2020/04/27 22:41:21 CLSRSC-594: Executing installation step 14 of 19: 'InstallACFS'.
[22:41:test]CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'test1'
[22:41:test]CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'test1' has completed
[22:41:test]CRS-4133: Oracle High Availability Services has been stopped.
[22:41:test]CRS-4123: Oracle High Availability Services has been started.
[22:42:test]2020/04/27 22:42:43 CLSRSC-400: A system reboot is required to continue installing.
|
處理流程
官方也提供了補丁26247490,最新的GI的PSU已經包含了該bug的補丁。
在安裝GI之前將最新補丁應用上。
1、更新opatch版本
unzip p6880880_122010_Linux-x86-64.zip -d $ORACLE_HOME |
檢查opatch版本是否更新
$ORACLE_HOME/OPatch/opatch version |
2、運行gridSetup.sh
./gridSetup.sh -applyPSU /u01/app/soft/30920127 |
該命令會首先給grid home打補丁,然後才啓動安裝部署,之後就不用給GI打補丁了
3、成功完成GI安裝(包括運行root.sh)