当前位置:数据库 > Oracle >>

Oracle DBCA建库遇ORA-21561: OID generation failed错误解决办法

Oracle DBCA建库遇ORA-21561: OID generation failed错误解决办法
 
今晚使用 DBCA 建库的时候,进入如下界面后,把机器开着就去洗澡去了。
  www.zzzyk.com  
结果洗完澡回来,发现进度条还是 2%,感觉不对劲,于是就进安装界面显示的安装日志看看,发现数据库报:  www.zzzyk.com  
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
 
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,