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

RHEL 7.9+ORACLE RAC 12.2.0.1.0,在运行root.sh脚本时,出现CLSRSC-400: A system reboot is required to continue installing报错

# /u01/app/12.2.0/grid/root.sh
Performing root user operation.

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /u01/app/12.2.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]: 
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...


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: /u01/app/12.2.0/grid/crs/install/crsconfig_params
The log of current session can be found at:
  /u01/app/grid/crsdata/ztdb01/crsconfig/rootcrs_ztdb01_2024-04-18_10-02-36AM.log
2024/04/18 10:02:59 CLSRSC-594: Executing installation step 1 of 19: 'SetupTFA'.
2024/04/18 10:02:59 CLSRSC-4001: Installing Oracle Trace File Analyzer (TFA) Collector.
2024/04/18 10:03:21 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.
2024/04/18 10:03:21 CLSRSC-594: Executing installation step 2 of 19: 'ValidateEnv'.
2024/04/18 10:03:27 CLSRSC-363: User ignored prerequisites during installation
2024/04/18 10:03:27 CLSRSC-594: Executing installation step 3 of 19: 'CheckFirstNode'.
2024/04/18 10:03:28 CLSRSC-594: Executing installation step 4 of 19: 'GenSiteGUIDs'.
2024/04/18 10:03:30 CLSRSC-594: Executing installation step 5 of 19: 'SaveParamFile'.
2024/04/18 10:03:37 CLSRSC-594: Executing installation step 6 of 19: 'SetupOSD'.
2024/04/18 10:03:50 CLSRSC-594: Executing installation step 7 of 19: 'CheckCRSConfig'.
2024/04/18 10:03:50 CLSRSC-594: Executing installation step 8 of 19: 'SetupLocalGPNP'.
2024/04/18 10:04:06 CLSRSC-594: Executing installation step 9 of 19: 'ConfigOLR'.
2024/04/18 10:04:18 CLSRSC-594: Executing installation step 10 of 19: 'ConfigCHMOS'.
2024/04/18 10:04:18 CLSRSC-594: Executing installation step 11 of 19: 'CreateOHASD'.
2024/04/18 10:04:24 CLSRSC-594: Executing installation step 12 of 19: 'ConfigOHASD'.
2024/04/18 10:04:40 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service'
2024/04/18 10:05:29 CLSRSC-594: Executing installation step 13 of 19: 'InstallAFD'.
2024/04/18 10:05:35 CLSRSC-594: Executing installation step 14 of 19: 'InstallACFS'.
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'ztdb01'
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'ztdb01' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
2024/04/18 10:06:20 CLSRSC-400: A system reboot is required to continue installing.
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

参考MOS文档: 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),这是个BUG,12.2.0.1.1软件裸装不行,需要打补丁安装。需要安装的补丁号根据操作系统版本/内核不同而不同,参考MOS文档ACFS and AFD Support On OS Platforms (Certification Matrix). (Doc ID 1369107.1),由于此次环境是RHEL7.9,内核版本是3.10.0,需要更新版本至12.2.0.1.191015,通过MOS连接:Assistant: Download Reference for Oracle Database/GI Update, Revision, PSU, SPU(CPU), Bundle Patches, Patchsets and Base Releases (Doc ID 2118136.2)下载响应的补丁。
在这里插入图片描述参照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)的处理方法,在安装GI的时候采用:/gridSetup.sh -applyOneOffs patch location的方式先更新软件在安装。由于此问题是AFD的BUG,因此只需要先打上AFD补丁,根据补丁集内readme的说明,ACFS的补丁是33116894,因此只需要先打33116894补丁即可。
在这里插入图片描述
执行如下:

[grid@ztdb01 grid]$ ./gridSetup.sh -applyOneOffs /soft/33583921/33116894/
...

后续运行root.sh脚本成功

[root@ztdb01 grid]# /u01/app/12.2.0/grid/root.sh
Performing root user operation.

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /u01/app/12.2.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]: 
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...


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: /u01/app/12.2.0/grid/crs/install/crsconfig_params
The log of current session can be found at:
  /u01/app/grid/crsdata/ztdb01/crsconfig/rootcrs_ztdb01_2024-04-18_02-42-14PM.log
2024/04/18 14:42:30 CLSRSC-594: Executing installation step 1 of 19: 'SetupTFA'.
2024/04/18 14:42:30 CLSRSC-4001: Installing Oracle Trace File Analyzer (TFA) Collector.
2024/04/18 14:42:52 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.
2024/04/18 14:42:52 CLSRSC-594: Executing installation step 2 of 19: 'ValidateEnv'.
2024/04/18 14:42:58 CLSRSC-363: User ignored prerequisites during installation
2024/04/18 14:42:58 CLSRSC-594: Executing installation step 3 of 19: 'CheckFirstNode'.
2024/04/18 14:42:59 CLSRSC-594: Executing installation step 4 of 19: 'GenSiteGUIDs'.
2024/04/18 14:43:01 CLSRSC-594: Executing installation step 5 of 19: 'SaveParamFile'.
2024/04/18 14:43:08 CLSRSC-594: Executing installation step 6 of 19: 'SetupOSD'.
2024/04/18 14:43:21 CLSRSC-594: Executing installation step 7 of 19: 'CheckCRSConfig'.
2024/04/18 14:43:21 CLSRSC-594: Executing installation step 8 of 19: 'SetupLocalGPNP'.
2024/04/18 14:43:38 CLSRSC-594: Executing installation step 9 of 19: 'ConfigOLR'.
2024/04/18 14:43:49 CLSRSC-594: Executing installation step 10 of 19: 'ConfigCHMOS'.
2024/04/18 14:43:49 CLSRSC-594: Executing installation step 11 of 19: 'CreateOHASD'.
2024/04/18 14:43:55 CLSRSC-594: Executing installation step 12 of 19: 'ConfigOHASD'.
2024/04/18 14:44:11 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service'
2024/04/18 14:44:49 CLSRSC-594: Executing installation step 13 of 19: 'InstallAFD'.
2024/04/18 14:44:55 CLSRSC-594: Executing installation step 14 of 19: 'InstallACFS'.
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'ztdb01'
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'ztdb01' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
2024/04/18 14:45:49 CLSRSC-594: Executing installation step 15 of 19: 'InstallKA'.
2024/04/18 14:45:55 CLSRSC-594: Executing installation step 16 of 19: 'InitConfig'.
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'ztdb01'
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'ztdb01' 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.evmd' on 'ztdb01'
CRS-2672: Attempting to start 'ora.mdnsd' on 'ztdb01'
CRS-2676: Start of 'ora.mdnsd' on 'ztdb01' succeeded
CRS-2676: Start of 'ora.evmd' on 'ztdb01' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'ztdb01'
CRS-2676: Start of 'ora.gpnpd' on 'ztdb01' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'ztdb01'
CRS-2672: Attempting to start 'ora.gipcd' on 'ztdb01'
CRS-2676: Start of 'ora.cssdmonitor' on 'ztdb01' succeeded
CRS-2676: Start of 'ora.gipcd' on 'ztdb01' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'ztdb01'
CRS-2672: Attempting to start 'ora.diskmon' on 'ztdb01'
CRS-2676: Start of 'ora.diskmon' on 'ztdb01' succeeded
CRS-2676: Start of 'ora.cssd' on 'ztdb01' succeeded

Disk groups created successfully. Check /u01/app/grid/cfgtoollogs/asmca/asmca-240418PM024634.log for details.


2024/04/18 14:47:30 CLSRSC-482: Running command: '/u01/app/12.2.0/grid/bin/ocrconfig -upgrade grid oinstall'
CRS-2672: Attempting to start 'ora.crf' on 'ztdb01'
CRS-2672: Attempting to start 'ora.storage' on 'ztdb01'
CRS-2676: Start of 'ora.storage' on 'ztdb01' succeeded
CRS-2676: Start of 'ora.crf' on 'ztdb01' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'ztdb01'
CRS-2676: Start of 'ora.crsd' on 'ztdb01' succeeded
CRS-4256: Updating the profile
Successful addition of voting disk cd9a5f2962814fdcbf861ebd2759e1ca.
Successful addition of voting disk 13d0ddc7538a4fecbf4f90dfe9418027.
Successful addition of voting disk 87d64d13bcda4fdcbf42a4ec778b82fc.
Successfully replaced voting disk group with +OCR.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. ONLINE   cd9a5f2962814fdcbf861ebd2759e1ca (/dev/asm-ocr3) [OCR]
 2. ONLINE   13d0ddc7538a4fecbf4f90dfe9418027 (/dev/asm-ocr1) [OCR]
 3. ONLINE   87d64d13bcda4fdcbf42a4ec778b82fc (/dev/asm-ocr2) [OCR]
Located 3 voting disk(s).
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'ztdb01'
CRS-2673: Attempting to stop 'ora.crsd' on 'ztdb01'
CRS-2677: Stop of 'ora.crsd' on 'ztdb01' succeeded
CRS-2673: Attempting to stop 'ora.storage' on 'ztdb01'
CRS-2673: Attempting to stop 'ora.crf' on 'ztdb01'
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'ztdb01'
CRS-2673: Attempting to stop 'ora.gpnpd' on 'ztdb01'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'ztdb01'
CRS-2677: Stop of 'ora.drivers.acfs' on 'ztdb01' succeeded
CRS-2677: Stop of 'ora.crf' on 'ztdb01' succeeded
CRS-2677: Stop of 'ora.gpnpd' on 'ztdb01' succeeded
CRS-2677: Stop of 'ora.storage' on 'ztdb01' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'ztdb01'
CRS-2677: Stop of 'ora.mdnsd' on 'ztdb01' succeeded
CRS-2677: Stop of 'ora.asm' on 'ztdb01' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'ztdb01'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'ztdb01' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'ztdb01'
CRS-2673: Attempting to stop 'ora.evmd' on 'ztdb01'
CRS-2677: Stop of 'ora.ctssd' on 'ztdb01' succeeded
CRS-2677: Stop of 'ora.evmd' on 'ztdb01' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'ztdb01'
CRS-2677: Stop of 'ora.cssd' on 'ztdb01' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'ztdb01'
CRS-2677: Stop of 'ora.gipcd' on 'ztdb01' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'ztdb01' has completed
CRS-4133: Oracle High Availability Services has been stopped.
2024/04/18 14:48:51 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 'ztdb01'
CRS-2672: Attempting to start 'ora.evmd' on 'ztdb01'
CRS-2676: Start of 'ora.mdnsd' on 'ztdb01' succeeded
CRS-2676: Start of 'ora.evmd' on 'ztdb01' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'ztdb01'
CRS-2676: Start of 'ora.gpnpd' on 'ztdb01' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'ztdb01'
CRS-2676: Start of 'ora.gipcd' on 'ztdb01' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'ztdb01'
CRS-2676: Start of 'ora.cssdmonitor' on 'ztdb01' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'ztdb01'
CRS-2672: Attempting to start 'ora.diskmon' on 'ztdb01'
CRS-2676: Start of 'ora.diskmon' on 'ztdb01' succeeded
CRS-2676: Start of 'ora.cssd' on 'ztdb01' succeeded
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'ztdb01'
CRS-2672: Attempting to start 'ora.ctssd' on 'ztdb01'
CRS-2676: Start of 'ora.ctssd' on 'ztdb01' succeeded
CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'ztdb01' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'ztdb01'
CRS-2676: Start of 'ora.asm' on 'ztdb01' succeeded
CRS-2672: Attempting to start 'ora.storage' on 'ztdb01'
CRS-2676: Start of 'ora.storage' on 'ztdb01' succeeded
CRS-2672: Attempting to start 'ora.crf' on 'ztdb01'
CRS-2676: Start of 'ora.crf' on 'ztdb01' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'ztdb01'
CRS-2676: Start of 'ora.crsd' on 'ztdb01' succeeded
CRS-6023: Starting Oracle Cluster Ready Services-managed resources
CRS-6017: Processing resource auto-start for servers: ztdb01
CRS-6016: Resource auto-start has completed for server ztdb01
CRS-6024: Completed start of Oracle Cluster Ready Services-managed resources
CRS-4123: Oracle High Availability Services has been started.
2024/04/18 14:51:18 CLSRSC-343: Successfully started Oracle Clusterware stack
2024/04/18 14:51:18 CLSRSC-594: Executing installation step 18 of 19: 'ConfigNode'.
CRS-2672: Attempting to start 'ora.ASMNET1LSNR_ASM.lsnr' on 'ztdb01'
CRS-2672: Attempting to start 'ora.ASMNET2LSNR_ASM.lsnr' on 'ztdb01'
CRS-2676: Start of 'ora.ASMNET2LSNR_ASM.lsnr' on 'ztdb01' succeeded
CRS-2676: Start of 'ora.ASMNET1LSNR_ASM.lsnr' on 'ztdb01' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'ztdb01'
CRS-2676: Start of 'ora.asm' on 'ztdb01' succeeded
CRS-2672: Attempting to start 'ora.OCR.dg' on 'ztdb01'
CRS-2676: Start of 'ora.OCR.dg' on 'ztdb01' succeeded
2024/04/18 14:52:37 CLSRSC-594: Executing installation step 19 of 19: 'PostConfig'.



2024/04/18 14:53:18 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster ... succeeded


[grid@ztdb01 ~]$ opatch lspatches
33116894;ACFS JUL 2021 RELEASE UPDATE 12.2.0.1.210720 (33116894)

OPatch succeeded.

后续再陆续更新其他补丁集,问题解决!

  • 4
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
如果在 CentOS 系统中,使用 `cgcreate` 命令时提示 `-bash: cgcreate: command not found`,说明 cgroup 工具没有被安装或者没有被正确配置。您可以按照以下步骤进行修复: 1. 安装 cgroup 工具 使用以下命令安装 cgroup 工具: ``` sudo yum install libcgroup-tools ``` 2. 启用 cgroups 在启动时,需要使用 `cgroup_enable=memory swapaccount=1` 内核参数启用 cgroups。您可以按照以下步骤进行配置: - 编辑 `/etc/default/grub` 文件: ``` sudo nano /etc/default/grub ``` - 修改 `GRUB_CMDLINE_LINUX` 行,添加 `cgroup_enable=memory swapaccount=1` 参数: ``` GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1" ``` - 更新 GRUB 配置: ``` sudo grub2-mkconfig -o /boot/grub2/grub.cfg ``` - 重启系统: ``` sudo reboot ``` 3. 检查 cgroup 配置 检查 cgroup 是否正常工作,使用以下命令: ``` sudo systemctl status cgconfig ``` 如果 cgroup 配置正常工作,您应该会看到类似以下输出: ``` cgconfig.service - Control Group configuration service Loaded: loaded (/usr/lib/systemd/system/cgconfig.service; enabled; vendor preset: disabled) Active: active (running) since Fri 2021-10-08 14:37:16 UTC; 2h 13min ago Main PID: 605 (cgconfigparser) Tasks: 1 Memory: 4.7M CPU: 16ms CGroup: /system.slice/cgconfig.service └─605 /usr/sbin/cgconfigparser -l /etc/cgconfig.conf -s 1660 Oct 08 14:37:16 centos cgconfigparser[605]: mount point /sys/fs/cgroup/unified not found or mount point not mounted Oct 08 14:37:16 centos systemd[1]: Started Control Group configuration service. ``` 如果提示未找到 `cgconfig` 或者 `cgconfigparser`,请尝试重新安装 cgroup 工具。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值