RHEL7.X安装12.2RAC时root.sh错误CLSRSC-400的解决方案

问题现象:

[root@ora12c ghome]# /opt/oracle/ghome/root.sh
Performing root user operation.
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /opt/oracle/ghome
。。。。。。。。。。。。。。。。。。。。
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
2018/06/13 00:30:42 CLSRSC-400: A system reboot is required to continue installing.
The command '/opt/oracle/ghome/perl/bin/perl -I/opt/oracle/ghome/perl/lib -I/opt/oracle/ghome/crs/install /opt/oracle/ghome/crs/install/rootcrs.pl ' execution failed

[root@ora12c rpm]# uname -a

Linux ora12c 3.10.0-862.el7.x86_64 #1 SMP Wed Mar 21 18:14:51 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux

[root@ora12c rpm]# cat /etc/redhat-release

Red Hat Enterprise Linux Server release 7.5 (Maipo)

[grid@ora12c software]$ acfsdriverstate -orahome $ORACLE_HOME supported

ACFS-9459: ADVM/ACFS is not supported on this OS version: '3.10.0-862.el7.x86_64'

ACFS-9201: Not Supported


Oracle BUG,参考下列文档补丁25078431后未能解决
ALERT: root.sh Fails With "CLSRSC-400" While Installing GI 12.2.0.1 on RHEL or OL with RedHat Compatible Kernel (RHCK) 7.3 (Doc ID 2284463.1)
./gridSetup.sh -applyOneOffs /u01/patch/25078431/

进一步查看文档Doc ID 1369107.1确定ACFS支持的版本
ACFS Support On OS Platforms (Certification Matrix). (Doc ID 1369107.1)

70

根据文档,7.3版本需要补丁25078431,7.4版本需要补丁26247490,官方建议使用OL7 UEK kernel替代,随即找到了下列文档
Bug 26247490 - LINUX: Add ACFS support for OL7 update 4 using RHCK (Doc ID 26247490.8)

12.2.0.1及以上版本gridSetup.sh可以直接进行补丁操作
覆盖最新的OPatch工具
unzip p6880880_122010_Linux-x86-64.zip -d $GI_HOME

To apply only Release Updates:
$GI_HOME/gridSetup.sh -applyPSU patch location

To apply only Non-RU patches:
$GI_HOME/gridSetup.sh -applyOneOffs patch location

To apply Release Updates and Non-RU patches in one command:
$GI_HOME/gridSetup.sh -applyPSU patch location -applyOneOffs patch location

尝试在安装前补丁最新的GIPSU 27468969,下列是操作步骤

[grid@ora12c software]$ unzip p6880880_12.2.0.1.13_Linux-x86-64.zip -d $ORACLE_HOME
[grid@ora12c software]$ /opt/oracle/ghome/gridSetup.sh -applyPSU /opt/software/gipsu/27468969/
26839277/ 27144050/ 27458609/ 27464465/ 27674384/ automation/ bundle.xml README.html README.txt
[grid@ora12c software]$ /opt/oracle/ghome/gridSetup.sh -applyPSU /opt/software/gipsu/27468969/
Preparing the home to patch...
Applying the patch /opt/software/gipsu/27468969/...
Successfully applied the patch.
The log can be found at: /opt/oracle/oraInventory/logs/GridSetupActions2018-06-14_08-21-35PM/installerPatchActions_2018-06-14_08-21-35PM.log
Launching Oracle Grid Infrastructure Setup Wizard...


root脚本执行成功
[root@ora12c rpm]# /opt/oracle/ghome/root.sh
Performing root user operation.
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /opt/oracle/ghome
Enter the full pathname of the local bin directory: [/usr/local/bin]:
。。。。。。。。。。。。。。。。。。。。。。。。。。。
Using configuration parameter file: /opt/oracle/ghome/crs/install/crsconfig_params
The log of current session can be found at:
/opt/oracle/orabase/crsdata/ora12c/crsconfig/rootcrs_ora12c_2018-06-14_08-39-43PM.log
2018/06/14 20:39:46 CLSRSC-594: Executing installation step 1 of 19: 'SetupTFA'.
2018/06/14 20:39:46 CLSRSC-4001: Installing Oracle Trace File Analyzer (TFA) Collector.
2018/06/14 20:40:14 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.
。。。。。。。。。。。。。。。。。。。。。。。。。。。。
2018/06/14 20:41:15 CLSRSC-594: Executing installation step 11 of 19: 'CreateOHASD'.
2018/06/14 20:41:19 CLSRSC-594: Executing installation step 12 of 19: 'ConfigOHASD'.
2018/06/14 20:41:34 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service'
2018/06/14 20:42:24 CLSRSC-594: Executing installation step 13 of 19: 'InstallAFD'.
2018/06/14 20:43:07 CLSRSC-594: Executing installation step 14 of 19: 'InstallACFS'.
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'ora12c'
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'ora12c' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
2018/06/14 20:44:09 CLSRSC-594: Executing installation step 15 of 19: 'InstallKA'.
2018/06/14 20:44:13 CLSRSC-594: Executing installation step 16 of 19: 'InitConfig'.

CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'ora12c'
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'ora12c' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
。。。。。。。。。。。。。。。。。。。
CRS-4256: Updating the profile
Successful addition of voting disk 85e33d5696f14f3bbf1f6d6d2748b4b7.
Successfully replaced voting disk group with +DATA.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE 85e33d5696f14f3bbf1f6d6d2748b4b7 (AFD:DATA1) [DATA]
Located 1 voting disk(s).
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'ora12c'
。。。。。。。。。。。。。。。。。。。
2018/06/14 20:50:47 CLSRSC-343: Successfully started Oracle Clusterware stack
2018/06/14 20:50:47 CLSRSC-594: Executing installation step 18 of 19: 'ConfigNode'.
CRS-2672: Attempting to start 'ora.ASMNET1LSNR_ASM.lsnr' on 'ora12c'
CRS-2676: Start of 'ora.ASMNET1LSNR_ASM.lsnr' on 'ora12c' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'ora12c'
CRS-2676: Start of 'ora.asm' on 'ora12c' succeeded
CRS-2672: Attempting to start 'ora.DATA.dg' on 'ora12c'
CRS-2676: Start of 'ora.DATA.dg' on 'ora12c' succeeded
2018/06/14 20:52:44 CLSRSC-594: Executing installation step 19 of 19: 'PostConfig'.
2018/06/14 20:53:29 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster ... succeeded


问题解决,所以直接在安装前使用gridSetup.sh安装最新GIPSU可保“一路平安”

你可能感兴趣的:(数据库)