Monday, August 12, 2013

Interim Patch is holding the lock from this patch

Scenario:

Applying a forms patch on 10g AS. On running "opatch apply" the patching has failed due to

Interim Patch <PatchNo> is holding the lock from this patch <PatchNo>,
probably due to previous unsuccessful operation

Reason:

Opatch creates a file patch_locked under %ORACLE_HOME%\.patch_storage directory while applying a patch.If that patch application has been interrupted or canceled , or the patch has not been properly rollbacked, the patch_locked file may not be removed. Because of this subsequent opatch run can find this patch and will fail. 

Solution:

Delete or rename the patch_locked file. 
Reapply the patch using opatch utility.

No comments:

Post a Comment