November 5, 2022

ERROR: The home is not clean. This home cannot be used since there was a failed OPatch execution in this home.

 So while applying patch on grid home(19c) we faced the above error

 

$ ./gridSetup.sh ApplyRU /u01/app/33803476

 

ERROR: The home is not clean. This home cannot be used since there was a failed OPatch execution in this home. Use a different home to proceed.

 

 

Solution:- In our last attempt to patch grid home , the opatch failed . So while retrying to after fixing the issue when retrying to apply the patch its throwing above error.

 

The only way to resolve this issue is to clean the contents of GRID HOME (e.g. rm -Rf <NEW_GRID_HOME>), then re-unzip the Grid Infrastructure binary on local node into the NEW_GRID_HOME path as GRID_HOME user.

 

$ rm -rf $GRID_HOME

$ unzip LINUX.X64_193000_grid_home.zip

 

And then retry to apply the patch again. It should work .


No comments:

Post a Comment

Shell Script to Automate Oracle 19c TDE Wallet & sqlnet.ora Backups

  Recently, one of my junior colleague had a requirement to clone a production database. While doing so he faced the following error while o...