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目录的内容,都有可能导致升级报错

posted @ 2017-06-04 15:17  酸奶加绿茶  阅读(6769)  评论(0编辑  收藏  举报