| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: error when logging in to server
ORA-12560: TROUBLESHOOTING -------------------------- 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. This is a high level error reporting that an error occurred in the transport layer. Since the 12560 is the end result of another problem and not necessarily the cause look at the accompanying errors in the error stack. To get an error stack, a SQL*Net trace should be obtained. Note 39774.1 describes how to set up SQL*Net tracing. Once you have the trace, you should be able to locate the other errors accompanying the 12560. Note 39662.1 shows the SQL*Net components that take part during a connection. Example of stack trace where a ORA-12560 appeared: -<ERROR>- nsres: id=0, op=13, ns=12545, ns2=12560; nt[0]=515, nt[1]=0,nt[2]=0 Call failed... Exiting NRICALL with following termination result -1 -<ERROR>- error from nricall -<ERROR>- nr
err code: 12206 -<ERROR>- ns main err code: 12545 -<ERROR>- ns (2) err code: 12560 -<ERROR>- nt main err code: 515 -<ERROR>- nt (2) err code: 0 -<ERROR>- nt OS err code: 0 -<ERROR>- Couldn'tconnect, returning 12545 These lines show all of the errors that have been compiled up to the session layer within SQL*Net. 'ns' and 'ns2' are the primary and secondary error codes for the session layer.
DOCUMENTS ----------------- Note:39774.1 LOG & TRACE Facilities on NET v2. Note:39662.1 Network Products and Error Stack Components Oracle 8i Network Adminstrators Guide, Ch. 11 "Establishing a Connection and Testing the Network" Ch. 12 "Troubleshooting" Oracle 9i Net Services/Admin Guide, Ch. 16 "Establishing a Connection and Testing the Network" Ch. 17 "Troubleshooting OracleNet Services"
![]() |
![]() |