user6445925 wrote:Please see these docs.
Well for whatever reason (me I guess) my Inventory location is not valid so I can't run opatch.
List of Homes on this system:
Inventory load failed... OPatch cannot load inventory for the given Oracle Home.
Possible causes are:
Oracle Home dir. path does not exist in Central Inventory
Oracle Home is a symbolic link
Oracle Home inventory is corrupted
LsInventorySession failed: OracleHomeInventory gets null oracleHomeInfo
OPatch failed with error code 73
I've tried pointing my /etc/oraInst.loc file to my 11.1.0 and my 11.2.0 homes and tried the "$ORACLE_HOME/oui/bin/attachHome.sh" or
"opatch lsinventory -invPtrLoc" but no success with either.
Really I'm just guessing at how to fix it though.
I've used the attachHome script successfully before on this server where I have multiple instances and update /etc/oraInst.loc as required.
Thanks for the reply Hussein.
I meant to update it right away but OTN was down for a bit there. I was able to fix it by doing the attach after all. If I looked at it closely it was failing on swap space check so I had to add the -ignoreSysPrereqs option to get around it.
Now opatch lsinventory works and I see my patches including Patch 14727310 "Database Patch Set Update : 18.104.22.168.5 (14727310)".
So based on that I should now just have to run the "@catbundle.sql psu apply" step against the DB as Srini replied initially?