ORA-12560: TNS:protocol adapter error

Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
  • User AvatarANKUSH THAVALI
  • 08 Nov, 2021
  • 0 Comments
  • 1 Min Read

ORA-12560: TNS:protocol adapter error

ORA-12560: TNS:protocol adapter error

Cause:

A generic protocol adapter error occurred

Action:

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.

http://docs.oracle.com/cd/B28359_01/server.111/b28278/net12500.htm#ORA-12500

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

oracle@dba>sqlplus scott/tiger

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

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

ERROR:
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.