oracle 12.2R2 安装GI跑root.sh遇到CLSRSC-400

  • Post author:
  • Post category:其他


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)



版权声明:本文为lyp13696402570原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。