Saturday 14 January 2017

Oracle Business Intelligence OPatch failed with error code 73

Problem:
If you see below error while applying Opatch:

OPatch detects the Middleware Home as "/opt/OBI_Home/Middleware" 

OPatchSession cannot load inventory for the given Oracle Home /opt/OBI_Home/Middleware/Oracle_BI1. Possible causes are: 
No read or write permission to ORACLE_HOME/.patch_storage 
Central Inventory is locked by another OUI instance 
No read permission to Central Inventory 
The lock file exists in ORACLE_HOME/.patch_storage 
The Oracle Home does not exist in Central Inventory 

UtilSession failed: Lock file left by a different patch, OPatch will not try re-using the lock file. 
Log file location: /opt/OBI_Home/Middleware/Oracle_BI1/cfgtoollogs/opatch/opatch2017-01-14_13-15-31PM_1.log 

OPatch failed with error code 73 


Solution:

Backup and remove 

<Middleware Home>/Oracle_BI1/.patch_storage/patch_locked folder.