解决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
:: localhost localhost.localdomain localhost6

最新文章

  1. PAT Basic Level 1001
  2. dojo 加载Json数据
  3. 定时从远程的数据库中取数据,然后把取出来的数据插入或更新本地的oracle数据库的表
  4. OAuth介绍
  5. IIS理解
  6. hdu 1114 基础完全背包
  7. WPF布局的6种面板
  8. IOS APP圆形图片的实现
  9. ASP.Net 验证控件 CompareValidator
  10. UVA 11183 Teen Girl Squad 最小树形图
  11. ubuntu下vim与系统剪切板互相拷贝
  12. Ubuntu: 搭建tftp,nfs服务器
  13. NDK常见问题
  14. 【MyBatis-Spring】Mybatis和并入Spring框架
  15. 虚拟机 the image's hash and certificate are not allowed 解决方案
  16. Spring Boot 启动过程及 自定义 Listener等组件
  17. AtCoder Grand Contest 031 B - Reversi
  18. Android 官方文档:(一)动画和图像 —— 1.5 画布和画图
  19. UVa 11346 - Probability(几何概型)
  20. 搭建Git Server - 个人开发简单搭建

热门文章

  1. jQuery nyroModal 插件遇到问题
  2. 博客停更转战简书http://www.jianshu.com/u/7ac4047c9cfa
  3. MVC--SSM和SSH简介
  4. Activiti中23张表的含义
  5. 2018.10.17 NOIP模拟 管道(状压dp)
  6. 2018.09.15 poj2117Electricity(割点)
  7. 2018.07.06 BZOJ 1588: HNOI2002营业额统计(非旋treap)
  8. HDU 2561 第二小整数 (排序)
  9. (连通图 模板题)迷宫城堡--hdu--1269
  10. spark ml 的例子