解決ORA-21561: OID generation failed


解決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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM