Today, when i was about to upgrade the 10.2.0.1 database to 10.2.0.4, i found no home registered in the inventory as told by the OUI.
The OS was formated with root, boot and swap partitions and leaving the oracle software partition unchanged. This removed the central inventory in Linux BOX.
I searched thro the $ORACLE_HOME/Opatch/opatch lsinventory
we got the error message as
[oracle@cvsserver OPatch]$ ./opatch lsinventory
Invoking OPatch 10.2.0.1.0
Oracle interim Patch Installer version 10.2.0.1.0Copyright (c) 2005, 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 : 10.2.0.1.0OUI version : 10.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-2009_Jul_08_13-06-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
$ORACLE_HOME/oui/bin/runInstaller
[oracle@cvsserver 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.
'AttachHome' was successful.
When I search again the opatch lsinventory, i got
[oracle@cvsserver OPatch]$ ./opatch lsinventory
Invoking OPatch 10.2.0.1.0
Oracle interim Patch Installer version 10.2.0.1.0
Copyright (c) 2005, 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 : 10.2.0.1.0
OUI version : 10.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-2009_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-2009_Jul_08_13-46-03-IST_Wed.txt
--------------------------------------------------------------------------------
Installed Top-level Products (1):
Oracle Database 10g
10.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.
Cheers!!!
Share the content if you found it is useful (You can share using 300 community websites) click "share" at the end of the post.
You are encouraged to leave a comment.
You are encouraged to leave a comment.
Wednesday, July 08, 2009
Recreating the Central Inventory for Oracle DB Home
Subscribe to:
Post Comments (Atom)
Let us be Friends...
Popular Posts
-
1. Installation of the Demantra Base Application or Patches Create a C:/Tmp folder on the machine where the setup.exe will be executed pri...
-
The Following Error was detected while doing Cloning of DB Tier. The actual Fact was: The server was heavily loaded, so the control file cre...
-
Secure Sockets Layer (SSL) SSL is a technology that defines the essential functions of mutual authentication, data encryption, and data inte...
-
In this Blog, I am going to explain you the way you can get the Translation Synchronization Patch for the Language you license thro OAM. T...
-
This blog describes the process of re-creating an existing Applications Release 12 database instance using the export and import utilities....
-
This blog speaks about the Login Page Issue on R12.1.1 instance. Suddenly the login page was throwing an error - 404 /OA_HTML/AppsLogin was ...
-
Primary Node: Host name: genius.chainsys.com IP : 192.168.2.236 File locations: apps - /oracle/D1/apps (SHARED) db - /oracle/PROD/db inst - ...
-
Hi, everybody should come across, while during a clone, you might have experienced very poor performance while running txkWfClone.sh profil...
-
Happy and Prosperous New Year 2010!!! Today I need to discuss an issue while planning to upgrade my 12.1.1 instance to 12.1.2 using the patc...
-
The Oracle Universal Installer supports the installation of several active Oracle homes on the same host. An Oracle home is a directory into...
No comments:
Post a Comment