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

Source: Internet
Author: User

Application connection test database times ORA-12516: TNS: listener cocould not find available handler with matching protocol stack

Check the listening log file and find a large number of TNS-12516 errors

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


The ORA-01012: not logged on appears when logging on to the database and checking the parameter session

[oraescm@lnxtest ~]$ 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
 

The solution is to modify the processes parameter value, but the database cannot be connected at this time. You can solve the problem by using the following methods:

1: Stop the listening service and log on again when the number of database access connections decreases.
Lsnrctl stop

2: After sqlplus "/as sysdba" is logged on, modify the processes value.


Because it is a test database, you can try it out. If you do not want to modify the processes value, you can solve the problem through the following temporary solution:

1: restart the listening service.

Lsnrctl reload

2: After logging on to sqlplus "/as sysdba"
Shutdonwn abort

Startup

3: ps-ef | grep ora_dbw0 _ $ Oracle_SID

Kill-9 pid;

Startup -- restart the database

References:

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.