ORA-12516:TNS:listener could not find available handler with matching protocol stack

应用程序连接测试数据库时报ORA-12516:TNS:listener could not find available handler
with matching protocol stack

检查监听日志文件,发现大量的TNS-12516错误

cd
/u01/app/oracle/product/10.2.0/db_1/network/log

more listener.log

TNS-12516: TNS:listener could not find available handler with matching protocol stack
13-MAY-2014 14:49:35 * (CONNECT_DATA=(SERVICE_NAME=xxx)(CID=(PROGRAM=c:\windows\system32\inetsrv\w3wp.exe)(HOST=GET08C0058)(USER=SYSTEM))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.xxx.xxx)(PORT=4594)) * establish * xxx * 12516

登录数据库,检查参数session时,出现ORA-01012:not logged on

[[email protected] ~]$ sqlplus / as sysdba
 
SQL*Plus: Release 10.2.0.4.0 - Production on Tue May 13 14:29:57 2014
 
Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
 
Connected.
SQL> show parameter session;
 
ERROR at line 1:
ORA-01012: not logged on
 

治标治本的解决办法是修改processes参数值,但是此时数据库连接不上。可以通过下面方法解决:

1: 停止监听服务,等数据库访问连接数下降用户再登录。 

        lsnrctl stop

2: sqlplus "/ as sysdba"
登陆后,修改processes值。

由于是测试数据库,可以折腾一下,如果不想修改processes的值,可以通过下面临时解决方法解决问题

1:重启监听服务

lsnrctl reload

2:  sqlplus "/ as sysdba" 登陆后

       shutdonwn abort

startup

3: ps -ef|grep
ora_dbw0_$Oracle_SID

kill -9 pid

startup
--重启数据库

参考资料:

http://blog.csdn.net/kellyseeme/article/details/8935208
        
http://blog.csdn.net/dingli312/article/details/11394753
   http://blog.csdn.net/newhappy2008/article/details/6557662

ORA-12516:TNS:listener could not find available handler with
matching protocol stack

时间: 2024-10-22 03:43:43

ORA-12516:TNS:listener could not find available handler with matching protocol stack的相关文章

Oracle报错ORA-12516 TNS:listener could not find available handler with matching protocol stack

解决办法定位原因-- 以sysdba身份登陆PL/SQL sqlplus / as sysdba;-- 查看当前连接进程数SQL>select count(*) from v$process;-- 查看连接数上限SQL>select value from v$parameter where name = 'processes';-- 查询processes数量SQL> show parameter processesNAME TYPE VALUE---------------------

plsql登录提示ORA-12514:TNS:listener does not currently know of service…………

问题:在自己电脑上安装好plsql并且第一次运行可以,关机重启后再登录PLSQL报错了…… 解决方法:1.修改oracle里面listener.ora文件的内容 文件路径为: 改之前的内容: 改后的内容为: SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (GLOBAL_DBNAME = ORCL) (ORACLE_HOME = D:\oracle\product\11.2.0\dbhome_1) (SID_NAME = ORCL) ) (SID_DESC

ORA-12520: TNS:listener could not find available handler for requested type of server

当你碰到ORA-12520错误时,如下所示: 英文错误提示: 中文错误提示: ORA-12520: TNS: 监听程序无法为请求的服务器类型找到可用的处理程序 一般你应该从下面两个方面去检查出错原因并解决问题: 1:数据库是专用服务器,但是在tnsname.ora配置文件中设置的连接方式是shared,这种情况需要修改tnsname.ora配置文件,这种错误情况一般发生在第一次连接数据库服务器. 2:运行正常的数据库服务器,突然报ORA-12520错误,一般是因为process不够引起的.需要增

连接oracle数据库出现:ORA-12505,TNS:listener does not currently know of SID given in connect descriptor

Java使用 jdbc:oracle:thin:@11.1.0.14:1521:orcl 连接oracle数据库出现: ORA-12505,TNS:listener does not currently know of SID given in connect descriptor 错误. 表明服务器上sid为orcl的服务并不存在,可以换个方式直接连接服务:把最后一个冒号换为斜杠.顺利连上数据库 jdbc:oracle:thin:@11.1.0.14:1521/orcl

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

Oracle启动监听报错:The listener supports no services解决

Oracle启动监听报错:The listener supports no services解决 及ora-12514 未注册上服务问题. Oracle11g服务器重启系统之后,出现了几个莫名的报错,下面是其中一个,已解决. $ lsnrctl start 报错提示: The listener supports no servicesThe command completed successfully 这样启动后远程连接会报错:oracle ORA-12514:TNS:listener does

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