oracle rac 12.2 执行root.sh报CLSRSC-400

今天在rhel7.6安装oracle 12.2 rac的时候,遇到以下报错

CLSRSC-400: A system reboot is required to continue installing.

主要原因由于12c gi开始,acfs默认是安装的,由于acfs在redhat 7.6中不支持导致上述的错误信息.
处理方案一:
大神 惜纷飞 提供了一种解决方案 如链接:
http://www.xifenfei.com/2017/06/rac-12-2-root-sh-clsrsc-400.html

主要报错信息:
2017/06/11 09:55:15 CLSRSC-400: A system reboot is required to continue installing.
The command ‘/u01/app/grid/product/12.2.0/grid/perl/bin/perl -I/u01/app/grid/product/12.2.0/grid/perl/lib -I/u01/app/grid/product/12.2.0/grid/crs/install /u01/app/grid/product/12.2.0/grid/crs/install/rootcrs.pl ‘ execution failed
查询mos发下:ACFS Drivers Install reports CLSRSC-400: A system reboot is required to continue installing (Doc ID 2025056.1),主要是由于12c gi开始,acfs默认是安装的,由于acfs在redhat 7.3中不支持导致上述的错误信息.
[grid@xifenfei01 ~]$ acfsdriverstate -orahome $ORACLE_HOME supported
ACFS-9459: ADVM/ACFS is not supported on this OS version: '3.10.0-514.el7.x86_64'
ACFS-9201: Not Supported

处理方法
停掉crs,kill 进程(如果有不能停掉的,通过kill处理),执行root.sh
[root@xifenfei01 ~]# /u01/app/grid/product/12.2.0/grid/bin/crsctl stop crs -f
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'xifenfei01'
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'xifenfei02' has completed
CRS-4133: Oracle High Availability Services has been stopped.
[root@xifenfei02 ~]# ps -ef|grep d.bin
root      29155  11754  0 10:46 pts/0    00:00:00 grep --color=auto d.bin
 
[root@xifenfei01 ~]# /u01/app/grid/product/12.2.0/grid/root.sh
Performing root user operation.


处理方案二
通过查找文档,发现这是一个oracle acfs bug

  • ACFS Support On OS Platforms (Certification Matrix). (Doc ID 1369107.1)
  • 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)

在这里插入图片描述具体psu、spu、bundle patch、ru、rur 的信息请查看mos文档
这是一个oneoff补丁

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

1.先解压最新的OPatch工具

 unzip p6880880_12.2.0.1.13_Linux-x86-64.zip  -d  \$ORACLE_HOME

2.安装补丁

 [grid@jla-rac1 grid]$ ./gridSetup.sh -applyOneOffs /data/RU/26247490/26247490/
Preparing the home to patch...
Applying the patch /data/RU/26247490/26247490/...
Successfully applied the patch.
The log can be found at: /opt/u01/app/oraInventory/logs/GridSetupActions2019-11-06_10-48-01AM/installerPatchActions_2019-11-06_10-48-01AM.log
Launching Oracle Grid Infrastructure Setup Wizard...

You can find the log of this install session at:
 /opt/u01/app/oraInventory/logs/GridSetupActions2019-11-06_10-48-01AM /gridSetupActions2019-11-06_10-48-01AM.log

3.执行root.sh无报错

[root@jla-rac1 data]# /opt/u01/12.2.0/grid/root.sh
Performing root user operation.

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /opt/u01/12.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.


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.
Relinking oracle with rac_on option
Using configuration parameter file: /opt/u01/12.2.0/grid/crs/install/crsconfig_params
The log of current session can be found at:
  /opt/u01/app/grid/crsdata/jla-rac1/crsconfig/rootcrs_jla-rac1_2019-11-06_11-08-43AM.log
2019/11/06 11:08:54 CLSRSC-594: Executing installation step 1 of 19: 'SetupTFA'.
2019/11/06 11:08:54 CLSRSC-4001: Installing Oracle Trace File Analyzer (TFA) Collector.
2019/11/06 11:09:16 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.
2019/11/06 11:09:16 CLSRSC-594: Executing installation step 2 of 19: 'ValidateEnv'.
2019/11/06 11:09:20 CLSRSC-363: User ignored prerequisites during installation
2019/11/06 11:09:20 CLSRSC-594: Executing installation step 3 of 19: 'CheckFirstNode'.
2019/11/06 11:09:22 CLSRSC-594: Executing installation step 4 of 19: 'GenSiteGUIDs'.
2019/11/06 11:09:23 CLSRSC-594: Executing installation step 5 of 19: 'SaveParamFile'.
2019/11/06 11:09:27 CLSRSC-594: Executing installation step 6 of 19: 'SetupOSD'.
2019/11/06 11:09:41 CLSRSC-594: Executing installation step 7 of 19: 'CheckCRSConfig'.
2019/11/06 11:09:41 CLSRSC-594: Executing installation step 8 of 19: 'SetupLocalGPNP'.
2019/11/06 11:09:55 CLSRSC-594: Executing installation step 9 of 19: 'ConfigOLR'.
2019/11/06 11:10:02 CLSRSC-594: Executing installation step 10 of 19: 'ConfigCHMOS'.
2019/11/06 11:10:02 CLSRSC-594: Executing installation step 11 of 19: 'CreateOHASD'.
2019/11/06 11:10:06 CLSRSC-594: Executing installation step 12 of 19: 'ConfigOHASD'.
2019/11/06 11:10:21 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service'
2019/11/06 11:11:08 CLSRSC-594: Executing installation step 13 of 19: 'InstallAFD'.
2019/11/06 11:11:56 CLSRSC-594: Executing installation step 14 of 19: 'InstallACFS'.
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'jla-rac1'
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'jla-rac1' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
2019/11/06 11:12:45 CLSRSC-594: Executing installation step 15 of 19: 'InstallKA'.
2019/11/06 11:12:48 CLSRSC-594: Executing installation step 16 of 19: 'InitConfig'.
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'jla-rac1'
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'jla-rac1' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
CRS-2672: Attempting to start 'ora.driver.afd' on 'jla-rac1'
CRS-2672: Attempting to start 'ora.evmd' on 'jla-rac1'
CRS-2672: Attempting to start 'ora.mdnsd' on 'jla-rac1'
CRS-2676: Start of 'ora.driver.afd' on 'jla-rac1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'jla-rac1'
CRS-2676: Start of 'ora.cssdmonitor' on 'jla-rac1' succeeded
CRS-2676: Start of 'ora.mdnsd' on 'jla-rac1' succeeded
CRS-2676: Start of 'ora.evmd' on 'jla-rac1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'jla-rac1'
CRS-2676: Start of 'ora.gpnpd' on 'jla-rac1' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'jla-rac1'
CRS-2676: Start of 'ora.gipcd' on 'jla-rac1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'jla-rac1'
CRS-2672: Attempting to start 'ora.diskmon' on 'jla-rac1'
CRS-2676: Start of 'ora.diskmon' on 'jla-rac1' succeeded
CRS-2676: Start of 'ora.cssd' on 'jla-rac1' succeeded

Disk label(s) created successfully. Check /opt/u01/app/grid/cfgtoollogs/asmca/asmca-191106AM111334.log for details.
Disk groups created successfully. Check /opt/u01/app/grid/cfgtoollogs/asmca/asmca-191106AM111334.log for details.


2019/11/06 11:14:55 CLSRSC-482: Running command: '/opt/u01/12.2.0/grid/bin/ocrconfig -upgrade grid oinstall'
CRS-2672: Attempting to start 'ora.crf' on 'jla-rac1'
CRS-2672: Attempting to start 'ora.storage' on 'jla-rac1'
CRS-2676: Start of 'ora.storage' on 'jla-rac1' succeeded
CRS-2676: Start of 'ora.crf' on 'jla-rac1' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'jla-rac1'
CRS-2676: Start of 'ora.crsd' on 'jla-rac1' succeeded
CRS-4256: Updating the profile
Successful addition of voting disk 319d6dcea3534fc0bf244abd1bfc2a94.
Successfully replaced voting disk group with +VGJLRAC01.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
\##  STATE    File Universal Id                File Name Disk group
\--  -----    -----------------                --------- ---------
\1. ONLINE   319d6dcea3534fc0bf244abd1bfc2a94 (AFD:VGJLRAC011) [VGJLRAC01]
Located 1 voting disk(s).
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'jla-rac1'
CRS-2673: Attempting to stop 'ora.crsd' on 'jla-rac1'
CRS-2677: Stop of 'ora.crsd' on 'jla-rac1' succeeded
CRS-2673: Attempting to stop 'ora.storage' on 'jla-rac1'
CRS-2673: Attempting to stop 'ora.crf' on 'jla-rac1'
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'jla-rac1'
CRS-2673: Attempting to stop 'ora.gpnpd' on 'jla-rac1'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'jla-rac1'
CRS-2677: Stop of 'ora.drivers.acfs' on 'jla-rac1' succeeded
CRS-2677: Stop of 'ora.crf' on 'jla-rac1' succeeded
CRS-2677: Stop of 'ora.gpnpd' on 'jla-rac1' succeeded
CRS-2677: Stop of 'ora.storage' on 'jla-rac1' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'jla-rac1'
CRS-2677: Stop of 'ora.mdnsd' on 'jla-rac1' succeeded
CRS-2677: Stop of 'ora.asm' on 'jla-rac1' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'jla-rac1'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'jla-rac1' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'jla-rac1'
CRS-2673: Attempting to stop 'ora.evmd' on 'jla-rac1'
CRS-2677: Stop of 'ora.ctssd' on 'jla-rac1' succeeded
CRS-2677: Stop of 'ora.evmd' on 'jla-rac1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'jla-rac1'
CRS-2677: Stop of 'ora.cssd' on 'jla-rac1' succeeded
CRS-2673: Attempting to stop 'ora.driver.afd' on 'jla-rac1'
CRS-2673: Attempting to stop 'ora.gipcd' on 'jla-rac1'
CRS-2677: Stop of 'ora.driver.afd' on 'jla-rac1' succeeded
CRS-2677: Stop of 'ora.gipcd' on 'jla-rac1' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'jla-rac1' has completed
CRS-4133: Oracle High Availability Services has been stopped.
2019/11/06 11:16:12 CLSRSC-594: Executing installation step 17 of 19: 'StartCluster'.
CRS-4123: Starting Oracle High Availability Services-managed resources
CRS-2672: Attempting to start 'ora.mdnsd' on 'jla-rac1'
CRS-2672: Attempting to start 'ora.evmd' on 'jla-rac1'
CRS-2676: Start of 'ora.mdnsd' on 'jla-rac1' succeeded
CRS-2676: Start of 'ora.evmd' on 'jla-rac1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'jla-rac1'
CRS-2676: Start of 'ora.gpnpd' on 'jla-rac1' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'jla-rac1'
CRS-2676: Start of 'ora.gipcd' on 'jla-rac1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'jla-rac1'
CRS-2676: Start of 'ora.cssdmonitor' on 'jla-rac1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'jla-rac1'
CRS-2672: Attempting to start 'ora.diskmon' on 'jla-rac1'
CRS-2676: Start of 'ora.diskmon' on 'jla-rac1' succeeded
CRS-2676: Start of 'ora.cssd' on 'jla-rac1' succeeded
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'jla-rac1'
CRS-2672: Attempting to start 'ora.ctssd' on 'jla-rac1'
CRS-2676: Start of 'ora.ctssd' on 'jla-rac1' succeeded
CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'jla-rac1' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'jla-rac1'
CRS-2676: Start of 'ora.asm' on 'jla-rac1' succeeded
CRS-2672: Attempting to start 'ora.storage' on 'jla-rac1'
CRS-2676: Start of 'ora.storage' on 'jla-rac1' succeeded
CRS-2672: Attempting to start 'ora.crf' on 'jla-rac1'
CRS-2676: Start of 'ora.crf' on 'jla-rac1' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'jla-rac1'
CRS-2676: Start of 'ora.crsd' on 'jla-rac1' succeeded
CRS-6023: Starting Oracle Cluster Ready Services-managed resources
CRS-6017: Processing resource auto-start for servers: jla-rac1
CRS-6016: Resource auto-start has completed for server jla-rac1
CRS-6024: Completed start of Oracle Cluster Ready Services-managed resources
CRS-4123: Oracle High Availability Services has been started.
2019/11/06 11:18:03 CLSRSC-343: Successfully started Oracle Clusterware stack
2019/11/06 11:18:03 CLSRSC-594: Executing installation step 18 of 19: 'ConfigNode'.
CRS-2672: Attempting to start 'ora.ASMNET1LSNR_ASM.lsnr' on 'jla-rac1'
CRS-2676: Start of 'ora.ASMNET1LSNR_ASM.lsnr' on 'jla-rac1' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'jla-rac1'
CRS-2676: Start of 'ora.asm' on 'jla-rac1' succeeded
CRS-2672: Attempting to start 'ora.VGJLRAC01.dg' on 'jla-rac1'
CRS-2676: Start of 'ora.VGJLRAC01.dg' on 'jla-rac1' succeeded
2019/11/06 11:19:34 CLSRSC-594: Executing installation step 19 of 19: 'PostConfig'.
2019/11/06 11:20:43 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster ... succeeded
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值