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

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

问题原始描述:

发现问题:

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

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

[[email protected] ~]# su - oracle
Last login: Thu Jul 18 22:01:58 CST 2019 on pts/1
[[email protected]  ~]$ 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错误。

解决办法如下:

相继执行如下命令:

[[email protected]~]$ 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;

原文地址:https://www.cnblogs.com/mmzs/p/11210625.html

时间: 2024-08-01 08:42:50

ORA-12528: TNS:listener: all appropriate instances are blocking new connections的相关文章

Listener refused the connection with the following error: ORA-12528, TNS: listener: all appropriate instances

oracle 11G,连接时突然报这个错误,无法连接,重启电脑也不行. 经测试,先把电脑网络断开,再重启电脑,重新打开oracle,点击连接,此时正常.此时电脑再连上网络

TNS-12502: TNS:listener received no CONNECT_DATA from client

检查我们的一台ORACLE数据库的监听日志发现有不少TNS-12502错误信息.如下所示 TNS-12502: TNS:listener received no CONNECT_DATA from client   09-DEC-2014 15:47:06 * (CONNECT_DATA=(SERVICE_NAME=epps)(CID=(PROGRAM=D:\Tasks\FGIS2MES\CEG\gmt_auto.exe)(HOST=CEGWEB1)(USER=cegadmin))) * (AD

解决Oracle ORA-12505, TNS:listener does not currently know of SID given in connect(转)

http://anthon-lx.iteye.com/blog/811460 完整的错误信息如下: java.sql.SQLException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor used by th

解决Oracle ORA-12505, TNS:listener does not currently know of SID given in connect

完整的错误信息如下: java.sql.SQLException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor used by the client was: 192.168.149.128:1521:orcl

ORA-12518: TNS:listener could not hand off client connection

一.ORA-12518: TNS:listener could not hand off client connection 在团队成员增多时,常常出现"无法分发client连接"等问题.在网上搜索一番后,终于攻克了该问题,现将解决方式总结例如以下,以供參考和以后备用. 更改SPFILEORCL.ORA文件里的process F:\oracle\product\10.2.0\db_1\database\SPFILEORCL.ORA 原因:团队成员增多,原有数据库设置不够用,导致连接pl

oracle 报错ORA-12514: TNS:listener does not currently know of service requested in connec

在使用navicat上连接oracle正确用户名和密码,oracle常用服务也启动的情况下依然无法建立连接.但是sqlPus上输入用户名和密码可以连接通过,百思不得其解(菜鸟本质 好奇). 这种情况下查看了navicat的历史日志:ORA-12514: TNS:listener does not currently know of service requested in connect. 通过网上搜索查到说  navicat工具是32位,oracle64位不匹配,心想很有可能是这原因.因此通过

ORA-12514: TNS:listener does not currently know of service requested in connect

1,登录报错如下: [oracle@oracle_yueworld admin]$ rlwrap sqlplus system/system51@st1 SQL*Plus: Release 11.2.0.1.0 Production on Thu Dec 3 16:33:26 2015 Copyright (c) 1982, 2009, Oracle. All rights reserved. ERROR: ORA-12514: TNS:listener does not currently k

Oracle TNS Listener Remote Poisoning

Oracle TNS Listener Remote Poisoning 远程数据投毒漏洞(CVE-2012-1675) 1.漏洞简介: 允许攻击者在不提供用户名/密码的情况下,向远程“TNS Listener”组件处理的数据投毒的漏洞. COST 是class of secure transports 的缩写.是为了控制实例注册提供的一种安全控制机制.其作用是对于一个确定的listener,限制哪些实例通过哪些协议可以进行注册.这将避免有其他远程实例进行恶意注册,并由此产生信息泄露等风险.它通

oracle用cmd货plsql登录oracle实例提示“ORA :12170”TNS:连接超时

1,cmd ------ ping ip地址:查看网络问题,能否ping通ip地址 2,cmd ------ tnsping ip地址(或服务器的实例名SID)“ ①如果出现"TNS-12535:操作超时" 提示,可能是服务器端防火墙没有关闭,关闭防火墙即可: ②如果出现下图显示,则证明没有问题: ” 3,cmd ------ netstat - na 查看1521端口是否关闭 ①如果显示关闭,则需要在防火墙设置中将1521端口设为例外: ②如果出现下图显示,则证明没有问题: 4,cm