Steps To Recreate Central Inventory(oraInventory) In RDBMS Homes_556834.1
Steps To Recreate Central Inventory(oraInventory) In RDBMS Homes (Doc ID 556834.1)
In this Document
Goal |
Solution |
References |
Applies to:
Oracle Universal Installer - Version 10.2.0.1.0 and later
Oracle Database - Enterprise Edition - Version 10.2.0.1 and later
Oracle Database - Standard Edition - Version 10.2.0.1 and later
Information in this document applies to any platform.
***Checked for relevance on 03-Jan-2013***
Goal
How to recreate oraInventory (Central Inventory) in RDBMS Homes if the central inventory is corrupted or lost?
Solution
STEP 1:
Locating the central inventory
-
The location of the central inventory can be found from the central inventory pointer.
Windows - By default the location of the Central inventory will be in "C:\Program Files\Oracle\Inventory"
- The location of the central inventory can be found from the central inventory pointer which can be found from the key "inst_loc".
-
The key can be found by:
1. Go to "Run" window (Press Windows Key + r)
2. Type "regedit" and enter
3. Expand HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE
4. Find the value of the key "inst_loc"
Note : The following command will also show the inventory pointer in Windows XP,2003 and Vista
C:\>reg query HKLM\SOFTWARE\ORACLE /v inst_loc
Unix/Linux - The location of the central inventory can be found from the central inventory pointer can be found from the file /etc/oraInst.loc (AIX and Linux) or /var/opt/oracle/oraInst.loc (Platform specific)
-
If an oraInst.loc file does not exist, then create one as below with the following entries:
inventory_loc=
inst_group=
Example:
inventory_loc=/u01/oracle/oraInventory
inst_group=oinstall
Note: Make sure that the Oracle Owner has proper permissions (755) on the location specified for the oraInventory.
STEP 2:
Remove the Central inventory (if it exists)
Use the following command to rename the oraInventory (Unix/Linux)
% mv oraInventory oraInventory_orig
Use the Windows Explorer or the "move" command to rename the Inventory (Windows) located under c:\Program Files\oracle (default location)
STEP 3:
Change the directory to the oui location.
Use the following command to change the directory to the oui location.
(Unix/Linux): % cd $ORACLE_HOME/oui/bin
(Windows): > cd %ORACLE_HOME%\oui\bin
STEP 4:
Attaching the Home for Oracle Database 10.2.0.1 and above.
Execute runInstaller with -attachHome option for Oracle Home.
% ./runInstaller -silent -ignoreSysPrereqs -attachHome ORACLE_HOME="" ORACLE_HOME_NAME=" "
> setup.exe -silent -ignoreSysPrereqs -attachHome ORACLE_HOME="" ORACLE_HOME_NAME=" "
For Example:
ORACLE_HOME=/u01/app/oracle/product/10.2.0.3
ORACLE_HOME_NAME=OraDb10g_home1
% ./runInstaller -silent -ignoreSysPrereqs -attachHome ORACLE_HOME="/u01/app/oracle/product/10.2.0.3" ORACLE_HOME_NAME="OraDb10g_home1"
If you have more than one oracle home you have to repeat STEP 4 for all remaining Oracle Homes making sure to provide unique ORACLE_HOME_NAME's for each ORACLE_HOME.
Note:
Recreation of Central Inventory in RDBMS Homes is only supported from 10.2.0.1.0 and later.
No downtime is required for recreating the global inventory (oraInventory)
Log files for this operation can be found at the following location :
- Unix platforms : oraInventory/logs (full path of oraInventory is given in used oraInst.loc)
- Windows platforms : c:\program files\oracle\inventory\logs
At this location you will see these two files (.out is useless anyway) :
AttachHome
oraInstall
From 10gr2 these files are also found in
(see Note 403212.1 : Location Of Logs For Opatch And OUI)
References
NOTE:1156586.1 - Master Note For Oracle Database Server Installation
NOTE:1351051.2 - Information Center: Install and Configure Database Server/Client Installations
NOTE:414600.1 - Strategies for a Corrupted Oracle Central Inventory
NOTE:472854.1 - How to Recreate the OraInventory on UNIX Systems

|
|
- Oracle Database Products > Oracle Database Suite > Oracle Database > Oracle Database - Enterprise Edition > Dataserver Installation and Relinking issue > Inventory issues
- Oracle Database Products > Oracle Database Suite > Oracle Database > Oracle Database - Standard Edition > Standard Edition Installation and Relinking Issues > Inventory issues
- Oracle Database Products > Oracle Database Suite > Oracle Database > Oracle Universal Installer > Oracle Universal Installer > Generic OUI Issues
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-1246837/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- OPatch cannot find a valid oraInst.loc file to locate Central InventoryAI
- [20190428]恢復oraInventory.txtAI
- DROP AND RECREATE ONLINE REDOLOG FILES
- First steps with Incus
- MyEclipse - Updating index central|http://central.maven.org/maven2/EclipseIndexHTTPMaven
- steps()的學習
- RDBMS VS XML VS NoSQLXMLSQL
- querydsl報錯: Attempt to recreate a file for type
- 7 Steps Social Media Marketing
- Bad magic number for central directory
- SASAC: central SOEs cut to 155
- Ansible 進階 | 動態 Inventory
- Archive log mining steps(logminer to html)HiveHTML
- Basic Steps to Create Dynamic Modification Rule
- Ansible: No inventory was passed, only implicit localhost is availablelocalhostAI
- Steps to install Docker on Manjaro 16.10--轉DockerJAR
- I'm shocked that they chose for the City to be the central hub
- Two Steps Picking Process in SAP-WM
- 打補丁時重建Inventory目錄
- ORA-20001: Latest xml inventory is not loaded into tableXML
- Cassandra與RDBMS的設計差別
- 微軟正式釋出 Azure IoT Central微軟
- Steps 元件的設計與實現元件
- Problem E - Steps(問題e-步驟)
- CSS3 animation – steps 函式詳解CSSS3函式
- Home Inventory 4 Mac財務清算管理軟體Mac
- [異常等待事件rdbms ipc reply]-分析說明事件
- gradle repo conf - maven-central.storage-download.googleapis.comGradleMavenGoAPI
- oracle RDBMS Kernel Executable 佔用記憶體過高Oracle記憶體
- oracle自帶指令碼說明(rdbms,ctx,sqlplus,javavm)Oracle指令碼SQLJava
- Connect SQL Server from Linux Client using Windows Authentication and troubleshoot stepsSQLServerLinuxclientWindows
- 使用 TensorFlow 的起始步驟 ( First Steps with TensorFlow ) : 工具包
- [題解]AT_abc267_f [ABC267F] Exactly K Steps
- 關係型資料庫 RDBMS 的舊與新 — 談談 NewSQL資料庫SQL
- Centos7 yum 安裝 oracle-rdbms-server-11gR2-preinstallCentOSOracleServer
- 初識Redis之NoSQL+RDBMS演化史+什麼是NoSQLRedisSQL
- 11g裡建立OEM時的一個坑“emca -config dbcontrol db -repos recreate”
- Maven Central上所有Oracle JDBC資料庫驅動程式 - Kuassi MensahMavenOracleJDBC資料庫
- iOS BLE 開發小記[2] 如何實現一個 Local CentraliOS