解决ORA-21561

在linux上使用sqlplus连接oracle数据库

[root@china ~]# sqlplus test/test@ORCL

SQL*Plus: Release 11.2.0.3.0 Production on Thu May 31 11:06:15 2018

Copyright (c) 1982, 2011, Oracle.  All rights reserved.

ERROR:
ORA-21561: OID generation failed

解决过程
在终端上输入:~ hostname
china
查看/etc/hosts文件:~ cat /etc/hosts
127.0.0.1 localhost
保持hostname与hosts文件中127.0.0.1对应的名称一致即可!

[root@china ~]# cat /etc/hosts
127.0.0.1   china
::1         localhost localhost.localdomain localhost6

 

相关文章:

  • 2021-07-18
  • 2022-12-23
  • 2022-12-23
  • 2021-05-23
  • 2022-01-15
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-07
  • 2022-12-23
  • 2021-06-21
  • 2021-12-25
  • 2021-07-02
  • 2021-10-19
相关资源
相似解决方案