今天在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