Sunday, 8 September 2024

rootcrs.bat -prepatch FAILS with [ CLSRSC-725: The rootcrs script is not running from the home being patched ]

 

'%ORACLE_HOME%\crs\install\rootcrs.bat -prepatch' fails on New WINDOWS RAC installation

To resolve this, download the patch 30094077 apply it to Grid home 

C:\patches\30094077>opatch apply -silent -local

Oracle Interim Patch Installer version 12.2.0.1.40
Copyright (c) 2023, Oracle Corporation.  All rights reserved.
Oracle Home       : E:\oracle\grid\19c\grid_home
Central Inventory : C:\Program Files\Oracle\Inventory
from           :
OPatch version    : 12.2.0.1.40
OUI version       : 12.2.0.7.0
Log file location : E:\oracle\grid\19c\grid_home\cfgtoollogs\opatch\opatch2023-11-22_14-00-10PM_1.log
Verifying environment and performing prerequisite checks...
OPatch continues with these patches:   30094077
Do you want to proceed? [y|n]
Y (auto-answered by -silent)
User Responded with: Y
All checks passed.
Backing up files...
Applying interim patch '30094077' to OH 'E:\oracle\grid\19c\grid_home'
Patching component oracle.has.crs, 19.0.0.0.0...
Patch 30094077 successfully applied.
Log file location: E:\oracle\grid\19c\grid_home\cfgtoollogs\opatch\opatch2023-11-22_14-00-10PM_1.log
OPatch succeeded.


cd %oracle_home% <<<---- Grid Home
E:\oracle\grid\19c\grid_home>cd bin
E:\oracle\grid\19c\grid_home\bin>clscfg -localpatch
            clscfg: EXISTING configuration version 53 detected.
            Creating OCR keys for user 'test\dbadmin', privgrp ''..
            Operation successful.

Try to execute prepatch command, should complete successfully !

'%ORACLE_HOME%\crs\install\rootcrs.bat -prepatch' 

No comments:

Post a Comment