ITPub博客

首页 > 数据库 > Oracle > ORA-21561: OID generation failed

ORA-21561: OID generation failed

原创 Oracle 作者:blueocean926 时间:2010-03-12 11:28:05 0 删除 编辑

在工作中,使用sqlplus连接数据库

SQL> conn system/oracle@depdb1
ERROR:
ORA-21561: OID generation failed


出现该错误后,查看metalink

Connection Via 10.2.0.3 SQL*Net Fails With Error ORA-21561: OID Generation Failed [ID 559981.1]

Cause

Incorrect /etc/hosts mapping for the client machine or no mapping at all.

Solution

Check the client's /.../hosts file and verify that the local node is correctly identified with a mapping for both the short and fully qualified name of the host.

同时检查自己的/etc/hosts文件,确实存在这个问题,修改/etc/hosts后问题解决

[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/48010/viewspace-1031780/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: 没有了~
请登录后发表评论 登录
全部评论
  • 博文量
    52
  • 访问量
    176961