Oracle中Inventory目錄作用以及如何重建此目錄 oraInst.loc 文件


 inventory

  [ˈɪnvəntri] [ˈɪnvəntɔ:ri]
n. 清查; 存貨清單; 財產目錄,財產目錄的編制; 存貨總值;
vt.

盤存; 編制…的目錄; 開列…的清單; 總結

 

Default oraInst.loc (/etc/oraInst.loc) validation failed.

 

If you plan to install Oracle products using Oracle Universal Installer in silent or suppressed mode, you must manually create the oraInst.loc file if it does not already exist. This file specifies the location of the Oracle Inventory directory where Oracle Universal Installer creates the inventory of Oracle products installed on the system.

 

oraInventory存放的是Oracle軟件安裝的目錄信息,Oralce的安裝升級都需要用到這個目錄,來看看Oracle文檔中對這個目錄的一點說明:
All Oracle software installations rely on this directory. 
Ensure that you back it up regularly. 
Do not delete this directory unless you have completely removed 
all Oracle software from the system.

oraInventory目錄的位置是由oraInst.loc文件決定的:
/etc/oraInst.loc (AIX and Linux Platform)
/var/opt/oracle/OraInst.loc (Solaris and HP-UX platform)

$cat /etc/oraInst.loc 
inventory_loc=/app/oracle/oraInventory
inst_group=dba
刪除或丟失oraInventory目錄的內容,都有可能導致升級報錯


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM