诊断:CLSRSC-400: A system reboot is required to continue installing.
Linux7.5安装Grid Infrastructure 12.2.0.1时,在root.sh时会报错
2019/1021 09:19:28 CLSRSC-330: Adding Clusterware entries to file ‘oracle-ohasd.service’
2019/1021 09:21:03 CLSRSC-400: A system reboot is required to continue installing.
The command ‘/app/grid/product/12.2.0.1/grid/perl/bin/perl -I/app/grid/product/12.2.0.1/grid/perl/lib -I/app/grid/product/12.2.0.1/grid/crs/install /app/grid/product/12.2.0.1/grid/crs/install/roothas.pl ‘ execution failed
极具欺骗性,重启并没什么用处。
细看日志
> ACFS-9308: Loading installed ADVM/ACFS drivers.
> ACFS-9321: Creating udev for ADVM/ACFS.
> ACFS-9323: Creating module dependencies - this may take some time.
> ACFS-9176: Entering ‘ld usm drvs‘
> ACFS-9154: Loading ‘oracleoks.ko‘ driver.
> modprobe: FATAL: Module oracleoks not found.
> ACFS-9109: oracleoks.ko driver failed to load.
> ACFS-9178: Return code = USM_FAIL
> ACFS-9177: Return from ‘ld usm drvs‘
> ACFS-9428: Failed to load ADVM/ACFS drivers. A system reboot is recommended.
> ACFS-9310: ADVM/ACFS installation failed.
> ACFS-9178: Return code = USM_REBOOT_RECOMMENDED
> ACFS-9177: Return from ‘install‘
> ACFS-9176: Entering ‘acroot ex‘
> ACFS-9178: Return code = 3
> ACFS-9177: Return from ‘acroot ex‘
再查找资料,发现
Bug 26247490 - LINUX: Add ACFS support for OL7 update 4 using RHCK (文档 ID 26247490.8)
ACFS and AFD report "Not Supported" after installing appropriate Oracle Grid Infrastructure Patches on RedHat (文档 ID 2303388.1)
也给出了Workaround
For OL7, use UEK kernel instead
替换内核,好吧,动作略大。
其实官方也提供了补丁26247490,最新的GI的PSU已经包含了该bug的补丁。
使用补丁进行安装。
oneoff补丁:
25078431 – is for 7.3.
26247490 – is for 7.4.
PSU:
28714316
本次的环境7.5。
解决方案:
1、因为安装不完全,直接清除
rm -fr /oracle/product/18c/grid/*
rm -fr /etc/oraInst.loc
rm -fr /etc/oracle
2、解压grid home到指定目录
unzip -d /oracle/product/18c/grid/ linuxx64_12201_grid_home.zip
3、部署最新的OPatch
unzip -d /oracle/product/18c/grid/ p6880880_122010_Linux-x86-64.zip
4、解压最新的PSU
unzip p28714316_122010_Linux-x86-64.zip
5、检查opatch
/oracle/product/18c/grid/OPatch/opatch version
OPatch Version: 12.2.0.1.13
6、运行gridSetup.sh
./gridSetup.sh -applyPSU /software/28714316/
该命令会首先给grid home打补丁,然后才启动配置。
7、重新运行root.sh