Oracle问题:ORA-12528: TNS: 监听程序: 所有适用例程都无法建立新连接

问题原始描述:

ORA-12528: TNS:listener: all appropriate instances are blocking new connections

发现问题:

通过在CMD下用lsnrctl status 查看出的问题:发现BLOCKED;

然后:尝试启动oracle数据库:

[root@MyYun ~]# su - oracle
Last login: Thu Jul 18 22:01:58 CST 2019 on pts/1
[oracle@MyYun ~]$ sqlplus / as sysdba
SQL> startup nomount;
ORACLE instance started. Total System Global Area 1068937216 bytes
Fixed Size 2220200 bytes
Variable Size 394268504 bytes
Database Buffers 666894336 bytes
Redo Buffers 5554176 bytes
SQL> select status from v$instance; STATUS
------------
STARTED SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

执行上代码块的操作后,在本地使用第三方链接工具链接Oracle数据库时就出现了ORA-12528错误。

解决办法如下:

相继执行如下命令:

[oracle@MyYun~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Thu Jul 18 22:55:06 2019

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

Connected to an idle instance.

SQL> shutdown;
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
SQL> startup
ORACLE instance started. Total System Global Area 1068937216 bytes
Fixed Size 2220200 bytes
Variable Size 394268504 bytes
Database Buffers 666894336 bytes
Redo Buffers 5554176 bytes
Database mounted.
exDatabase opened.
SQL> exit;
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

命令解释:

  • shutdown命令: 相当于以下三个命令
normal;
shutdown immediate;
shutdown abort;
  • startup命令: 等于以下三个命令
startup nomount;
alter database mount;
alter database open;

最新文章

  1. hashlib 和 hmac
  2. 第一章 基础设施,1.3 阿里视频云ApsaraVideo是怎样让4000万人同时狂欢的(作者:蔡华)
  3. ural 1437. Gasoline Station
  4. [反汇编练习] 160个CrackMe之013
  5. C#-datagridview设置列宽
  6. Linux下C编写基本的多线程socket服务器
  7. oracle导入命令,记录一下
  8. redis与memacache的区别(转)
  9. 【51NOD1965】奇怪的式子 min_25筛
  10. Vue 增删改查 demo
  11. 初读"Thinking in Java"读书笔记之第六章 --- 访问权限控制
  12. 中性SNP的突变年龄评估(estimate the average age of a neutral two-allele polymorphism)
  13. 开发板测试-Wi-Fi
  14. python中的if判断语句
  15. 判断Service是否已经启动
  16. C#实现联合体
  17. 小程序开发 js里面array操作的方法列表。
  18. 【数据结构】循环队列 C语言实现
  19. postgresql架构基础(转)-(1)
  20. Java 设计模式01 - 简单工厂模式

热门文章

  1. 如何查询正在运行的SQL Server agent job
  2. vue 获取视频时长
  3. Python - 字典 - 第十天
  4. Redis操作篇(二)
  5. webpack4 plugins 篇
  6. ActiveMQ反序列化(CVE-2015-5254) && ActiveMQ任意文件写入 (CVE-2016-3088)
  7. Python odoo中嵌入html简单的分页功能
  8. [b0009] 玩Hadoop中碰到的各种错误
  9. 分母为0的坑(float)
  10. vue中webpack的配置理解