今晚使用 DBCA 建庫的時候,進入如下介面後,把機器開著就去洗澡去了。
結果洗完澡回來,發現進度條還是 2%,感覺不對勁,於是就進安裝介面顯示的安裝日誌看看,探索資料庫報:
ORA-21561: OID generation failed
[oracle@prod dss]$ pwd
/u01/app/oracle/cfgtoollogs/dbca/dss
[oracle@prod dss]$ tail -f trace.log
[Thread-51] [ 2013-03-01 23:00:16.306 CST ] [SQLPlusEngine.getCmmdParams:222] m_home 11.2.0.3.0
[Thread-51] [ 2013-03-01 23:00:16.306 CST ] [SQLPlusEngine.getCmmdParams:223] version > 112 true
[Thread-51] [ 2013-03-01 23:00:16.307 CST ] [SQLEngine.getEnvParams:565] NLS_LANG: AMERICAN_AMERICA.AL32UTF8
[Thread-51] [ 2013-03-01 23:00:16.308 CST ] [SQLEngine.initialize:325] Execing SQLPLUS/SVRMGR process...
[Thread-51] [ 2013-03-01 23:00:16.360 CST ] [SQLEngine.initialize:362] m_bReaderStarted: false
[Thread-51] [ 2013-03-01 23:00:16.374 CST ] [SQLEngine.initialize:366] Starting Reader Thread...
[Thread-51] [ 2013-03-01 23:00:16.441 CST ] [SQLEngine.initialize:415] Waiting for m_bReaderStarted to be true
[Thread-54] [ 2013-03-01 23:00:16.678 CST ] [BasicStep.handleNonIgnorableError:430] oracle.sysman.assistants.util.UIMessageHandler@10cc730:messageHandler
[Thread-54] [ 2013-03-01 23:00:16.679 CST ] [BasicStep.handleNonIgnorableError:431] ORA-21561: OID generation failed
:msg
經過反覆排查,發現這台虛擬機器是複製的,我修改 /etc/sysconfig/network-scripts/ifcfg-eth0 和 /etc/sysconfig/network 檔案後,忘記修改了 /etc/hosts 檔案。
/etc/hosts 檔案中的 host IP 與 hostname 映射仍然是源主機的,果斷改正後重啟伺服器,然後重新安裝就很快 pass 了。
轉載請註明出處及原文連結:
http://blog.csdn.net/xiangsir/article/details/8627942