16.3.11 ORA-12520
Indicates that the listener cannot find an available handler for the requested server type.
Message
ORA-12520: Cannot connect to database.
Listener at string does not have handler
for string server type
ready or registered for service string.
(CONNECTION_ID=string)ORA-12520: Cannot connect to database.
Listener at host 10.9.7.5 port 1522 does not have handler
for pooled server type
ready or registered for service sales_service.example.com.
(CONNECTION_ID=1ABcDEabCd1aB+AbCdE1aB==)Cause
The connection is refused by the Oracle Database listener process. None of the known and available handlers for the requested server type (dedicated, shared, or pooled) is appropriate for the client connection.
Action
-
Check for mistakes in the specified connection string.
-
Ensure that the
SERVERparameter in the connection string or that thetnsnames.orafile connect descriptor specifies a server type (dedicated, shared, or pooled) that is supported by handlers known by the listener. -
If using an Easy Connect connection string, then check that the specified server type is supported by handlers known by the listener.
-
Wait a moment, and then try to connect again. The service handler may be in a blocked state and not accepting new connections.
-
Use the
CONNECTION_IDvalue to track this connection attempt in trace files for further diagnosis. -
Check which handlers are currently known by the listener and are accepting connections by performing one of these tasks:
-
Ask your database administrator.
-
Review the connection string shown in the cloud service console.
-
If you have access to the machine where the listener is running, then run one of the following:
-
lsnrctlservices -
If a listener is named in the
listener.orafile, then run:lsnrctl services listener_name -
If an Oracle Connection Manager (Oracle CMAN) proxy listener is named in the
cman.orafile, then run:cmctl show services -c cman_name -
If an Oracle Global Service Manager (Oracle GSM) listener is named in the
gsm.orafile, then run:gdsctl services -raw -gsm gsm_name
-
-
Related Topics