RAC: Connections to SCAN Listeners Consistently Fail with an ORA-12520 or ORA-12516 Error

(Doc ID 2111134.1)

Last updated on AUGUST 23, 2017

Applies to:

Oracle Net Services - Version to [Release 11.2 to 12.1]
Oracle Database - Enterprise Edition - Version to [Release 12.2]
Information in this document applies to any platform.
This document refers specifically to cases where the ORA-12520 or ORA-12516 error occurs consistently. The LSNRCTL services output might show the instance handler in state:blocked.
It is not likely an intermittent ORA-12520/12516 is due to the kind of configuration issues discussed here.


Each connection to SCAN listener fails with the ORA-12520 error.  A level 16 listener
trace reveals this stack when all 3 SCAN addresses are tried:

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

The SCAN listener log files show the TNS-12516 error also:

TNS-12516 TNS: listener could not find instance with matching protocol stack

A check of the VIP listener logs reveals no errors.  More importantly, there is no indication
of any connections being logged by VIP listeners.

The handler appears in READY state at the SCAN listener when issuing LSNRCTL services or status.

This is a persistent and not an intermittent error. 


 This is likely a new implementation of RAC or the LOCAL_LISTENER and/or REMOTE_LISTENER settings have been changed.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms