在工作中,使用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]
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/ ,如需转载,请注明出处,否则将追究法律责任。