Oracle DBCA 建庫遇 ORA-21561: OID generation failed 錯誤解決辦法

來源:互聯網
上載者:User

今晚使用 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



相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.