CRS-6706: Oracle Clusterware Release Patch Level (‘xxxx’) Does Not Match Software Patch Level
May 6, 2020 2 Comments
Problem:
We have restored OCR from backup, started CRS, and rolled back patch using opatchauto. After restarting CRS we’ve got:
CRS-6706: Oracle Clusterware Release Patch Level ('xxxx') Does Not Match Software Patch Level ('yyyy')
Solution:
1. Unlock GI home from root user:
# cd $GI_HOME
# $GI_HOME/crs/install/rootcrs.sh -unlock
2. Complete the patching setup from root user (local means it will correct OLR, not OCR):
$ $ORACLE_HOME/bin/clscfg -localpatch
3. As the root user lock the GI home:
# $ORACLE_HOME/crs/install/rootcrs.sh -lock
4. Start CRS:
# crsctl start crs -wait
Thank you for sharing this, it helped in resolving my PROD patching issue. I was searching about this command , I found this it on patching logs itself.
2021-04-24 09:45:54:
2021-04-24 09:45:54: Succeeded in writing the checkpoint:’ROOTCRS_POSTPATCH_OKAINST’ with status:SUCCESS
2021-04-24 09:45:54: Patch an existing configuration in OLR
2021-04-24 09:45:54: Executing cmd: /ora_grid/product/19.0.0.0/bin/clscfg -localpatch
2021-04-24 09:45:56: Command output:
> clscfg: EXISTING configuration version 0 detected.
> Creating OCR keys for user ‘root’, privgrp ‘root’..
> Operation successful.
>End Command output
2021-04-24 09:45:56: Successfully patched an existing configuration in OLR
2021-04-24 09:45:56: Starting GI stack to stop rolling patch
Thank you, this helped me too in fixing the problem after a grid home patch operation