重建oraInventory目錄

parknkjun發表於2015-07-29
1、刪除或移除oraInventory目錄
[oracle@jzh5 app]$ mv oraInventory oraInventory_oraig
2、進入oui/bin目錄
[oracle@jzh5 app]$ cd /u01/app/oracle/product/11.2.0/db_1/oui/bin/
3、檢視ORACLE_HOME目錄
[oracle@jzh5 logs]$ echo $ORACLE_HOME
/u01/app/oracle/product/11.2.0/db_1
4、執行runInstaller加-attachHome引數
[oracle@jzh5 bin]$ ./runInstaller -silent -ignoreSysPrereqs -attachHome ORACLE_HOME="/u01/app/oracle/product/11.2.0/db_1" ORACLE_HOME_NAME="OraDb11g_home1"
Starting Oracle Universal Installer...
Checking swap space: must be greater than 500 MB.   Actual 3999 MB    Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/app/oraInventory
'AttachHome' was successful.
5、查詢結果
[oracle@jzh5 logs]$ cd /u01/app/
[oracle@jzh5 app]$ ls
oracle  oraInventory  oraInventory_oraig

oraInventory目錄生成了!




來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10271187/viewspace-1754782/,如需轉載,請註明出處,否則將追究法律責任。

相關文章