How to recreate Oracle Inventory
$ export PATH=$PATH:$ORACLE_HOME/OPatch
$ opatch lsinv
Oracle Interim Patch Installer version 11.2.0.3.12
Copyright (c) 2016, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/PROD/db/tech_st/11.2.0
Central Inventory : /oracle/oraInventory
from : /oracle/PROD/db/tech_st/11.2.0/oraInst.loc
OPatch version : 11.2.0.3.12
OUI version : 11.2.0.4.0
Log file location : /oracle/PROD/db/tech_st/11.2.0/Opatch/opatch2016-02-24_09-53-37AM_1.log
Lsinventory Output file location : /oracle/PROD/db/tech_st/11.2.0/cfgtoollogs/opatch/lsinv/lsinventory2016-02-24_09-53-37AM.txt
--------------------------------------------------------------------------------
Local Machine Information::
Hostname: bbarg-apps.ple.com
ARU platform id: 226
ARU platform description:: Linux x86-64
Step2:$ cat ./oraInventory/ContentsXML/inventory.xmlCheck if your Oracle Home listed in the file if not go to next step.
Step 3. Re-create the Oracle Inventory.
$./runInstaller -silent -attachHome ORACLE_HOME="<Your Oracle Home >" ORACLE_HOME_NAME="OraDbHome"
Now you can apply the patches successfully.
Regarda,
Bahaa Barghouti
Post a Comment