在客户端进行sqlplus连接报错如下:
- ORA-12516: TNS: 监听程序找不到符合协议堆栈要求的可用处理程序
ORA-12516: TNS: 监听程序找不到符合协议堆栈要求的可用处理程序
在/home/oracle/product/10.2.0/db_1/network/log/listener.log中查看到错误如下:
- TNS-12516: TNS:listener could not find available handler with matching protocol stack
TNS-12516: TNS:listener could not find available handler with matching protocol stack
sqlplus连接之后报错:
- [oracle@kel ~]$ sqlplus / as sysdba
- SQL*Plus: Release 10.2.0.1.0 - Production on Thu May 16 00:06:17 2013
- Copyright (c) 1982, 2005, Oracle. All rights reserved.
- Connected.
- SQL> show parameter session
- ORA-01012: not logged on
- SQL> shutdown immediate
- ORA-24324: service handle not initialized
- ORA-24323: value not allowed
- ORA-00020: maximum number of processes (%s) exceeded
[oracle@kel ~]$ sqlplus / as sysdba SQL*Plus: Release 10.2.0.1.0 - Production on Thu May 16 00:06:17 2013 Copyright (c) 1982, 2005, Oracle. All rights reserved. Connected. SQL> show parameter session ORA-01012: not logged on SQL> shutdown immediate ORA-24324: service handle not initialized ORA-24323: value not allowed ORA-00020: maximum number of processes (%s) exceeded
alterlog中报错:
- Wed May 15 23:59:26 2013
- Process m000 died, see its trace file
- Wed May 15 23:59:26 2013
- ksvcreate: Process(m000) creation failed
- Thu May 16 00:00:26 2013
- Process m000 died, see its trace file
- Thu May 16 00:00:26 2013
- ksvcreate: Process(m000) creation failed
- Process m000 died, see its trace file
- Thu May 16 00:00:27 2013
- ksvcreate: Process(m000) creation failed
- Thu May 16 00:01:27 2013
- Process m000 died, see its trace file
- Thu May 16 00:01:27 2013
- ksvcreate: Process(m000) creation failed
- Process m000 died, see its trace file
- Thu May 16 00:01:27 2013
- ksvcreate: Process(m000) creation failed
Wed May 15 23:59:26 2013 Process m000 died, see its trace file Wed May 15 23:59:26 2013 ksvcreate: Process(m000) creation failed Thu May 16 00:00:26 2013 Process m000 died, see its trace file Thu May 16 00:00:26 2013 ksvcreate: Process(m000) creation failed Process m000 died, see its trace file Thu May 16 00:00:27 2013 ksvcreate: Process(m000) creation failed Thu May 16 00:01:27 2013 Process m000 died, see its trace file Thu May 16 00:01:27 2013 ksvcreate: Process(m000) creation failed Process m000 died, see its trace file Thu May 16 00:01:27 2013 ksvcreate: Process(m000) creation failed
1、无法登陆数据库的情况下使用以下方法:
a、找到数据库的关键进程,然后杀死,此时数据库实例会自动进行关闭
- <SPAN style="WHITE-SPACE: pre"> </SPAN>[oracle@kel ~]$ ps -ef|grep dbw
- <SPAN style="WHITE-SPACE: pre"> </SPAN>oracle 16107 1 0 00:04 ? 00:00:00 ora_dbw0_orcl
- <SPAN style="WHITE-SPACE: pre"> </SPAN>oracle 16755 15946 0 00:19 pts/0 00:00:00 grep dbw
- <SPAN style="WHITE-SPACE: pre"> </SPAN>[oracle@kel ~]$ kill -9 16107
[oracle@kel ~]$ ps -ef|grep dbw oracle 16107 1 0 00:04 ? 00:00:00 ora_dbw0_orcl oracle 16755 15946 0 00:19 pts/0 00:00:00 grep dbw [oracle@kel ~]$ kill -9 161072、公用的方法,当能登陆进数据库之后
b、sqlplus登录进数据库,启动数据库
- [oracle@kel ~]$ sqlplus / as sysdba
- SQL*Plus: Release 10.2.0.1.0 - Production on Thu May 16 00:20:11 2013
- Copyright (c) 1982, 2005, Oracle. All rights reserved.
- Connected to an idle instance.
- SQL> startup
- ORACLE instance started.
- Total System Global Area 176160768 bytes
- Fixed Size 2019384 bytes
- Variable Size 100667336 bytes
- Database Buffers 71303168 bytes
- Redo Buffers 2170880 bytes
- Database mounted.
- Database opened.
[oracle@kel ~]$ sqlplus / as sysdba SQL*Plus: Release 10.2.0.1.0 - Production on Thu May 16 00:20:11 2013 Copyright (c) 1982, 2005, Oracle. All rights reserved. Connected to an idle instance. SQL> startup ORACLE instance started. Total System Global Area 176160768 bytes Fixed Size 2019384 bytes Variable Size 100667336 bytes Database Buffers 71303168 bytes Redo Buffers 2170880 bytes Database mounted. Database opened.c、查看系统,发现process的值已经接近上限,修改processes的值
- SQL> show parameter process
- NAME TYPE VALUE
- ------------------------------------ ----------- ------------------------------
- aq_tm_processes integer 0
- db_writer_processes integer 1
- gcs_server_processes integer 0
- job_queue_processes integer 10
- log_archive_max_processes integer 2
- processes integer 20
SQL> show parameter process NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ aq_tm_processes integer 0 db_writer_processes integer 1 gcs_server_processes integer 0 job_queue_processes integer 10 log_archive_max_processes integer 2 processes integer 20
- SQL> alter system set processes=1150 scope=spfile;
- System altered.
SQL> alter system set processes=1150 scope=spfile; System altered.
d、重新启动oracle数据库
- SQL> startup force
- ORACLE instance started.
- Total System Global Area 176160768 bytes
- Fixed Size 2019384 bytes
- Variable Size 100667336 bytes
- Database Buffers 71303168 bytes
- Redo Buffers 2170880 bytes
- Database mounted.
- Database opened.
- SQL> show parameter process;
- NAME TYPE VALUE
- ------------------------------------ ----------- ------------------------------
- aq_tm_processes integer 0
- db_writer_processes integer 1
- gcs_server_processes integer 0
- job_queue_processes integer 10
- log_archive_max_processes integer 2
- processes integer 150
SQL> startup force ORACLE instance started. Total System Global Area 176160768 bytes Fixed Size 2019384 bytes Variable Size 100667336 bytes Database Buffers 71303168 bytes Redo Buffers 2170880 bytes Database mounted. Database opened. SQL> show parameter process; NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ aq_tm_processes integer 0 db_writer_processes integer 1 gcs_server_processes integer 0 job_queue_processes integer 10 log_archive_max_processes integer 2 processes integer 150
连接不上数据库的时候,可能会是processes值已经达到了上限,从而修改processes的值,加大即可
http://blog.csdn.net/kellyseeme/article/details/8935208
相关推荐
### Oracle报错ORA-12516:TNS:listener could not find available handler with matching protocol stack #### 报错概述 在Oracle数据库环境中遇到ORA-12516错误时,通常意味着监听器无法找到与请求协议栈匹配的...
### Oracle 10g 提示 Oracle Not Available 的个人总结与解决方案 #### 一、问题概述 在使用 Oracle 10g 数据库时,可能会遇到“ORA-01034: ORACLE not available”和“ORA-27101: shared memory realm does not ...
"ORA-12516 TNS 监听程序无法找到匹配协议栈的可用句柄" oracle 数据库是当前最流行的关系型数据库管理系统之一,然而,在使用 oracle 数据库时,经常会遇到各种错误信息,ORA-12516 错误信息便是其中之一。...
在ExtJS框架中,`handler`和`listener`都是用于响应用户交互的关键概念,它们各自有不同的使用场景和特点。理解两者的区别对于有效管理和组织应用的事件处理至关重要。 1. **Handler** - `handler`通常与`Action`...
这原本可以通过rdpWrap实现支持,但rdpWrap没持续更新,win10更新后就会产生listener state not supported 问题。当前上传版本解决了此问题,在64位win10.0.19042.1052上测试正常。 解压后双击 安装.bat 进行安装 ...
### Oracle 10g 提示 Oracle Not Available 的解决方法 #### 问题背景 在使用Oracle 10g数据库时,可能会遇到一个常见的错误提示:“ORA-01034: Oracle not available”以及“ORA-27101: shared memory realm does...
在安装SQL Server时,有时会遇到“安装程序配置服务器失败”的挂起问题,这通常是由于多种原因导致的,包括但不限于以下几点: 1. **系统兼容性**:确保你的操作系统版本与SQL Server版本相兼容。...
这种情况下,Oracle数据库可能会报错,如"ORA-12518: TNS:listener could not hand off client connection"或者"ORA-12516: TNS:listener could not find available handler for requested type of server"。...
在IT行业中,网络通信是软件开发中的重要组成部分,TCP(Transmission Control Protocol)作为传输层的协议,被广泛用于建立可靠的、面向连接的数据传输。本文将深入探讨如何使用C#实现一个简单的TcpListener来支持...
网上各种教程无法解决这个工具提示 not supported not listening问题,这个安装包给出了所有需要的文件,并给出了详细的指引。 绝大多数情况你会安装成功。如果你成功了,或者失败了,请给我评论。大家看评论区。
Oracle RAC 监听器配置文件 listener.ora 详解 Oracle RAC 监听器配置文件 listener.ora 是一个核心配置文件,用于配置 Oracle Net Listener 的参数。本文将详细介绍 listener.ora 文件的配置参数、协议地址参数、...
在Spring Boot应用中,整合Listener主要是为了监听应用的生命周期事件,例如在应用启动或关闭时执行特定的操作。这里我们讨论两种整合Listener的方式。 ### 方式一:通过注解扫描完成Listener组件的注册 1. **创建...
标题中的"listener我的listener listener我的listener"可能是在强调Listener的重要性或者是在多次提及一个与Listener相关的个人项目或资源。 在Java中,Listener模式是设计模式的一种,属于行为型模式,它允许我们...
TcpListener 是 .NET Framework 中用于创建 TCP 服务器端应用程序的关键组件。它允许程序监听来自多个客户端的连接请求,实现网络通信。在这个场景中,我们关注的是如何使用 TcpListener 创建一个可以处理多客户端...
在Oracle数据库的运行过程中,`listener.ora`和`tnsnames.ora`是两个至关重要的配置文件,它们负责管理和通信数据库实例与客户端应用程序之间的连接。 `listener.ora`文件是Oracle监听器的配置文件,它定义了监听器...
Oracle TNS Listener是Oracle数据库系统中用于监听客户端请求的关键组件。其基本功能是在网络上监听客户端发来的连接请求,并对这些请求做出响应。然而,TNS Listener也存在一系列安全漏洞,尤其是缓冲区溢出和配置...
Tracing not turned on. Tns error struct: ns main err code: 12535 TNS-12535: TNS: 操作超时 ns secondary err code: 12560 nt main err code: 0 nt secondary err code: 0 nt OS err code: 0 Client ...
C# Socket、TCPClient、TCPListener 用法详解 C# 中的 Socket 编程是基于 Windows Sockets (Winsock) 接口的托管实现,提供了一个强大且灵活的网络编程模型。在本文中,我们将详细介绍 C# 中的 Socket 编程,包括 ...
在 Centos5 下安装 Oracle 11g 数据库后,启动监听时可能会遇到 “The listener supports no services” 的问题,该问题导致远程连接时出现 ORA-12514:TNS:listener does not currently know of service requested ...