ORA-12560: TNS:protocol adapter error


A generic protocol adapter error occurred


Check addresses used for proper protocol specification. Before reporting this error, look at the error stack and check for lower level transport errors. For further details, turn on tracing and re-execute the operation. Turn off tracing when the operation is complete.

ORA-12560 is defined as a generic protocol adapter exception and may have various reasons.

oracle@dba>sqlplus scott/tiger

SQL*Plus: Release Production on Wed Feb 20 18:44:04 2013

Copyright (c) 1982, 2011, Oracle.  All rights reserved.

ORA-12560: TNS:protocol adapter error

ORA-12560 is common error on Windows that results from any number of different causes. ORA-12560 is also very common exception when we have two Oracle homes. Mostly ORA-12560 occurs when we have Oracle Client configuration related issues but some times it may be due to Server side and network related issues. To resolve ORA-12560 we need to ensure following points:

- Ensure Database Service is up.

- Ensure listener is up and pointing to desired database service.

- Ensure all oracle variables are configured correctly (ORACLE_BASE, ORACLE_HOME, ORACLE_SID, PATH, TNS_ADMIN).

- On Windows: Ensure Full Access is granted to ORACLE_HOME and its sub-directories.

- Also cross-check the firewall & Network configurations.

Follow me

Contact us for Training/ Job Support

Caution: Your use of any information or materials on this website is entirely at your own risk. It is provided for educational purposes only. It has been tested internally, however, we do not guarantee that it will work for you. Ensure that you run it in your test environment before using.