通過DBCA裝庫時報錯 ORA-21561: OID generation failed

feelpurple發表於2015-11-12
通過DBCA裝庫時報錯 ORA-21561: OID generation failed

檢視錯誤程式碼,與環境變數相關
[oracle@APPSERVER3 ~]$ oerr ora 21561
21561, 00000, "OID generation failed"
// *Cause:  The handles passed in may not be valid
// *Action: Check the validity of the env, svc handles

查詢主機名的解析,裡面沒有 IP 和主機名

[root@APPSERVER3 ~]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

[oracle@APPSERVER3 ~]$ hostname
APPSERVER3

將對應 IP 和主機名填寫到裡面
[root@APPSERVER3 ~]# vi /etc/hosts


127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.126.44 APPSERVER3

再次使用 DBCA 裝庫報錯解除

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

相關文章