I got ” CRS-6706: Oracle Clusterware Release patch level (‘X’) does not match Software patch level (‘X’). Oracle Clusterware cannot be started. ” error When I apply the latest PSU of Oracle.
CRS-6706: Oracle Clusterware Release patch level (‘X’) does not match Software patch level (‘X’). Oracle Clusterware cannot be started.
Details of error are as follows.
[[email protected] ~]# opatchauto apply /u01/patch/33509923 -oh /u01/app/19.0.0/grid OPatchauto session is initiated at Thu Feb 3 19:45:57 2022 System initialization log file is /u01/app/19.0.0/grid/cfgtoollogs/opatchautodb/systemconfig2022-02-03_07-46-06PM.log. Session log file is /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/opatchauto2022-02-03_07-46-12PM.log The id for this session is RLUI Executing OPatch prereq operations to verify patch applicability on home /u01/app/19.0.0/grid Patch applicability verified successfully on home /u01/app/19.0.0/grid Executing patch validation checks on home /u01/app/19.0.0/grid Patch validation checks successfully completed on home /u01/app/19.0.0/grid Checking shared status of home..... Performing prepatch operations on CRS - bringing down CRS service on home /u01/app/19.0.0/grid Prepatch operation log file location: /u01/app/grid/crsdata/msdbadm01/crsconfig/crs_prepatch_apply_inplace_msdbadm01_2022-02-03_07-47-48PM.log Failed to bring down CRS service on home /u01/app/19.0.0/grid Execution of [GIShutDownAction] patch action failed, check log for more details. Failures: Patch Target : msdbadm01->/u01/app/19.0.0/grid Type[crs] Details: [ ---------------------------Patching Failed--------------------------------- Command execution failed during patching in home: /u01/app/19.0.0/grid, host: msdbadm01. Command failed: /u01/app/19.0.0/grid/perl/bin/perl -I/u01/app/19.0.0/grid/perl/lib -I/u01/app/19.0.0/grid/opatchautocfg/db/dbtmp/bootstrap_msdbadm01/patchwork/crs/install -I/u01/app/19.0.0/grid/opatchautocfg/db/dbtmp/bootstrap_msdbadm01/patchwork/xag /u01/app/19.0.0/grid/opatchautocfg/db/dbtmp/bootstrap_msdbadm01/patchwork/crs/install/rootcrs.pl -prepatch Command failure output: Using configuration parameter file: /u01/app/19.0.0/grid/opatchautocfg/db/dbtmp/bootstrap_msdbadm01/patchwork/crs/install/crsconfig_params The log of current session can be found at: /u01/app/grid/crsdata/msdbadm01/crsconfig/crs_prepatch_apply_inplace_msdbadm01_2022-02-03_07-47-48PM.log CRS-6706: Oracle Clusterware Release patch level ('2699380708') does not match Software patch level ('3513452061'). Oracle Clusterware cannot be started. CRS-4000: Command Start failed, or completed with errors. 2022/02/03 19:48:00 CLSRSC-117: Failed to start Oracle Clusterware stack from the Grid Infrastructure home /u01/app/19.0.0/grid After fixing the cause of failure Run opatchauto resume ] OPATCHAUTO-68061: The orchestration engine failed. OPATCHAUTO-68061: The orchestration engine failed with return code 1 OPATCHAUTO-68061: Check the log for more details. OPatchAuto failed. OPatchauto session completed at Thu Feb 3 19:48:03 2022 Time taken to complete the session 2 minutes, 6 seconds opatchauto failed with error code 42 [[email protected] ~]#
This CRS-6706 error is related with the rootcrs.sh -prepatch not run successfully before patching. The user ran rootcrs.sh -unlock because rootcrs.sh -prepatch failed, and then applied the patch manually.
To solve this error, perform the following steps.
1. Run the following command as the root user to complete the patching set up behind the scenes:
Run under #GI_HOME/bin directory.
[[email protected] bin]# ./clscfg -localpatch clscfg: EXISTING configuration version 0 detected. Creating OCR keys for user 'root', privgrp 'root'.. Operation successful. [[email protected] bin]#
2. Run the following command as the root user to lock the GI home:
Run under #GI_HOME/bin directory.
[[email protected] install]# ./rootcrs.sh -lock Using configuration parameter file: /u01/app/19.0.0/grid/crs/install/crsconfig_params The log of current session can be found at: /u01/app/grid/crsdata/msdbadm01/crsconfig/crslock_msdbadm01_2022-02-03_07-49-54PM.log 2022/02/03 19:49:58 CLSRSC-329: Replacing Clusterware entries in file 'oracle-ohasd.service' [[email protected] install]#
3. Run the following command as the root user to start the GI:
#GI_HOME/bin:> ./crsctl start crs
[[email protected] bin]# ./crsctl start crs CRS-4123: Oracle High Availability Services has been started. [[email protected] bin]# [[email protected] bin]#
20,691 views last month, 3 views today