[oracle@furqan OPatch]$ ./opatch lsinventory
Invoking OPatch 11.2.0.1.0 Oracle interim Patch Installer
version 11.2.0.1.0Copyright (c) 2011, Oracle Corporation. All rights reserved..
Oracle Home : /oracle/product/10.2.0/db_1 Central Inventory :
/home/oracle/oraInventory from : /oracle/product/10.2.0/db_1/oraInst.loc OPatch
version : 11.2.0.1.0OUI version : 11.2.0.1.0 OUI location :
/oracle/product/10.2.0/db_1/oui Log file location :
/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch-2016_Jul_06_15-08-10-IST_Wed.log
LsInventory Session failed: OPatch failed to locate Central Inventory. Possible
causes are: The Central Inventory is corrupted The oraInst.loc file specified
is not valid. OPatch failed with error code 72
We recreated the Central Inventory using
$ cd $ORACLE_HOME/oui/bin/runInstaller
[oracle@furqan bin]$ ./runInstaller -silent -attachHome -invPtrLoc
/etc/orainst.loc ORACLE_HOME=$ORACLE_HOME ORACLE_HOME_NAME=OraDBHome_1
Starting Oracle Universal Installer... No pre-requisite
checks found in oraparam.ini, no system pre-requisite checks will be executed.
Please execute the '/home/oracle/oraInventory/orainstRoot.sh' script at the end
of the session. 'Attach Home' was successful.
When we will search again the opatch lsinventory, we got it
[oracle@furqan OPatch]$ ./opatch lsinventory
Invoking OPatch 11.2.0.1.0
Oracle interim Patch Installer version 11.2.0.1.0 Copyright (c) 2011, Oracle
Corporation. All rights reserved.. Oracle Home : /oracle/product/10.2.0/db_1
Central Inventory : /home/oracle/oraInventory from :
/oracle/product/10.2.0/db_1/oraInst.loc OPatch version : 11.2.0.1.0 OUI version
: 11.2.0.1.0 OUI location : /oracle/product/10.2.0/db_1/oui Log file location :
/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch-2016_J ul_08_13-46-03-IST_Wed.log
Lsinventory Output file location :
/oracle/product/10.2.0/db_1/cfgtoollogs/opatc h/lsinv/lsinventory-2016_Jul_06_15-46-03-IST_Wed.txt
--------------------------------------------------------------------------------
Installed Top-level Products (1): Oracle Database 10g 11.2.0.1.0
There are 1 products installed in this Oracle Home. There are no Interim
patches installed in this Oracle Home.
--------------------------------------------------------------------------------
OPatch succeeded.
No comments:
Post a Comment