﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FranklinFaces.com - Oracle &amp; SQL Server Database Forums for all IT Professionals / Oracle Forum / ORA - Oracle Database Error Codes - Search via specific error codes. / ORA-10560 Through ORA-19999  / ORA-12537: TNS:connection closed  - TNS-12535: TNS:operation timed out ora error / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>FranklinFaces.com - Oracle &amp; SQL Server Database Forums for all IT Professionals</description><link>http://www.franklinfaces.com/</link><webMaster>no-reply@FranklinFaces.com</webMaster><lastBuildDate>Fri, 10 Feb 2012 23:34:47 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: ORA-12537: TNS:connection closed  - TNS-12535: TNS:operation timed out ora error</title><link>http://www.franklinfaces.com/Topic168-55-1.aspx</link><description>Which specific parameter are you referring to?     Usually if you make any changes to sqlnet.ora listener.ora etc...  you would back it up by copying the file first and then updating it.  This way you can always revert back the changes.  Add comments in the files if you need to to keep track of changes.&lt;/P&gt;&lt;P&gt;&lt;BR&gt;Always test in lower environments first before making the changes in production.</description><pubDate>Tue, 29 Nov 2011 10:32:50 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>RE: ORA-12537: TNS:connection closed  - TNS-12535: TNS:operation timed out ora error</title><link>http://www.franklinfaces.com/Topic168-55-1.aspx</link><description>hi&lt;br&gt;&lt;br&gt;after you change the parameter and they work, how do you returning to previous settings?&lt;br&gt;&lt;br&gt;thanks</description><pubDate>Mon, 28 Nov 2011 08:29:56 GMT</pubDate><dc:creator>ale</dc:creator></item><item><title>RE: ORA-12537: TNS:connection closed  - TNS-12535: TNS:operation timed out ora error</title><link>http://www.franklinfaces.com/Topic168-55-1.aspx</link><description>&lt;TABLE class=Formal cellSpacing=0 cellPadding=3 width="100%" border=1&gt;&lt;TBODY&gt;&lt;TR class=Formal&gt;&lt;TH class=Formal vAlign=bottom align=left&gt;&lt;A name=429727&gt;&lt;/A&gt;&lt;P class=TB&gt;NI  &lt;/P&gt;&lt;/TH&gt;&lt;TH class=Formal vAlign=bottom align=left&gt;&lt;A name=429732&gt;&lt;/A&gt;&lt;P class=TB&gt;Net8 Interface Layer  &lt;/P&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR class=Formal vAlign=top align=left&gt;&lt;TD class=Formal&gt;&lt;A name=429735&gt;&lt;/A&gt;&lt;P class=TB&gt;NR  &lt;/P&gt;&lt;/TD&gt;&lt;TD class=Formal&gt;&lt;A name=429737&gt;&lt;/A&gt;&lt;P class=TB&gt;Network Routing  &lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class=Formal vAlign=top align=left&gt;&lt;TD class=Formal&gt;&lt;A name=429740&gt;&lt;/A&gt;&lt;P class=TB&gt;NN  &lt;/P&gt;&lt;/TD&gt;&lt;TD class=Formal&gt;&lt;A name=429742&gt;&lt;/A&gt;&lt;P class=TB&gt;Network Naming (Oracle Names)  &lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class=Formal vAlign=top align=left&gt;&lt;TD class=Formal&gt;&lt;A name=429745&gt;&lt;/A&gt;&lt;P class=TB&gt;NS  &lt;/P&gt;&lt;/TD&gt;&lt;TD class=Formal&gt;&lt;A name=429747&gt;&lt;/A&gt;&lt;P class=TB&gt;Network Session (main and secondary layers)  &lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class=Formal vAlign=top align=left&gt;&lt;TD class=Formal&gt;&lt;A name=429750&gt;&lt;/A&gt;&lt;P class=TB&gt;NA  &lt;/P&gt;&lt;/TD&gt;&lt;TD class=Formal&gt;&lt;A name=429752&gt;&lt;/A&gt;&lt;P class=TB&gt;Native Services includes Network Authentication (NA) and Network Encryption (NAE)  &lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class=Formal vAlign=top align=left&gt;&lt;TD class=Formal&gt;&lt;A name=429755&gt;&lt;/A&gt;&lt;P class=TB&gt;NT  &lt;/P&gt;&lt;/TD&gt;&lt;TD class=Formal&gt;&lt;A name=429757&gt;&lt;/A&gt;&lt;P class=TB&gt;Network Transport (main, secondary, and operating system layers)  &lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE class=TableNote cellSpacing=0 cellPadding=3 width="100%"&gt;&lt;TBODY&gt;&lt;TR class=TableNote vAlign=top align=left&gt;&lt;TD class=TableNote&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;A name=429759&gt;&lt;/A&gt;&lt;P class=BP&gt;Your network may or may not include all of these components. &lt;/P&gt;&lt;H5 class=A1&gt;&lt;FONT face="Helvetica, Arial, sans-serif"&gt;&lt;A name=429760&gt;&lt;/A&gt;Error Example&lt;BR&gt;&lt;/FONT&gt;&lt;/H5&gt;&lt;A name=429761&gt;&lt;/A&gt;&lt;P class=BP&gt;As an example, suppose that a user of a client application tries to establish a connection with a database server using Net8 and TCP/IP, and the user enters: &lt;/P&gt;&lt;PRE class=CE1&gt;&lt;A name=429765&gt;&lt;/A&gt;sqlplus scott/tiger@hrserver.world &lt;/PRE&gt;&lt;A name=429767&gt;&lt;/A&gt;&lt;P class=BP&gt;&lt;/P&gt;&lt;A name=443941&gt;&lt;/A&gt;&lt;P class=BP&gt;The SQL*Plus banner is displayed on the screen, and the following error is displayed: &lt;/P&gt;&lt;PRE class=CE1&gt;&lt;A name=429770&gt;&lt;/A&gt;ORA-12203: TNS:Unable to connect to destination&lt;/PRE&gt;&lt;A name=429771&gt;&lt;/A&gt;&lt;P class=BP&gt;&lt;/P&gt;&lt;A name=429773&gt;&lt;/A&gt;&lt;P class=BP&gt;This message indicates that the connection to the server failed because the database could not be contacted. Although the application displays only a one-line error message, an error stack that is much more informative is recorded in the log file by the network layer. On the client-side, a log file called SQLNET.LOG, contains an error stack corresponding to the ORA-12203 error as follows: &lt;/P&gt;&lt;A name=429776&gt;&lt;/A&gt;&lt;H4 class=ET&gt;&lt;FONT face="Helvetica, Arial, sans-serif"&gt;&lt;EM&gt;Example 10-1 Typical Error Stack&lt;/EM&gt;&lt;/FONT&gt;&lt;/H4&gt;&lt;A name=429777&gt;&lt;/A&gt;&lt;P class=BP&gt;*********************************************************** &lt;/P&gt;&lt;PRE class=CE&gt;&lt;A name=444280&gt;&lt;/A&gt;Fatal OSN connect error 12203, connecting to:&lt;A name=444281&gt;&lt;/A&gt; &lt;/PRE&gt;&lt;PRE class=CE&gt;(DESCRIPTION=(CONNECT_DATA=(SID=trace)(CID=(PROGRAM=)&lt;A name=444282&gt;&lt;/A&gt;   &lt;/PRE&gt;&lt;PRE class=CE&gt;(HOST=lala)(USER=sviavant)))(ADDRESS_LIST=(ADDRESS=&lt;A name=429782&gt;&lt;/A&gt;   &lt;/PRE&gt;&lt;PRE class=CE&gt;(PROTOCOL=ipc)(KEY=trace))(ADDRESS=(PROTOCOL=tcp)&lt;A name=429783&gt;&lt;/A&gt;   (HOST=lala)(PORT=1521))))&lt;A name=429784&gt;&lt;/A&gt;&lt;A name=429785&gt;&lt;/A&gt;&lt;/PRE&gt;&lt;PRE class=CE&gt;VERSION INFORMATION:&lt;A name=429786&gt;&lt;/A&gt;TNS for SunOS:&lt;A name=429787&gt;&lt;/A&gt;Oracle Bequeath NT Protocol Adapter for SunOS:&lt;A name=429789&gt;&lt;/A&gt;&lt;/PRE&gt;&lt;PRE class=CE&gt;Unix Domain Socket IPC NT Protocol Adaptor for SunOS: &lt;A name=429791&gt;&lt;/A&gt;TCP/IP NT Protocol Adapter for SunOS:&lt;A name=443810&gt;&lt;/A&gt;  &lt;/PRE&gt;&lt;PRE class=CE&gt;Tracing to file: /home/sviavant/trace_admin.trc&lt;A name=429794&gt;&lt;/A&gt;  Tns error struct:&lt;A name=429795&gt;&lt;/A&gt;    nr err code: 12203&lt;A name=429796&gt;&lt;/A&gt;    &lt;/PRE&gt;&lt;PRE class=CE&gt;TNS-12203: TNS:unable to connect to destination&lt;A name=429797&gt;&lt;/A&gt;    ns main err code: 12541&lt;A name=429798&gt;&lt;/A&gt;    &lt;/PRE&gt;&lt;PRE class=CE&gt;TNS-12541: TNS:no listener&lt;A name=429799&gt;&lt;/A&gt;    &lt;/PRE&gt;&lt;PRE class=CE&gt;ns secondary err code: 12560&lt;A name=429800&gt;&lt;/A&gt;    &lt;/PRE&gt;&lt;PRE class=CE&gt;nt main err code: 511&lt;A name=429801&gt;&lt;/A&gt;    &lt;/PRE&gt;&lt;PRE class=CE&gt;TNS-00511: No listener&lt;A name=429802&gt;&lt;/A&gt;    &lt;/PRE&gt;&lt;PRE class=CE&gt;nt secondary err code: 61&lt;A name=429803&gt;&lt;/A&gt;    &lt;/PRE&gt;&lt;PRE class=CE&gt;nt OS err code: 0&lt;/PRE&gt;</description><pubDate>Mon, 14 Jun 2010 12:33:09 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>RE: ORA-12537: TNS:connection closed  - TNS-12535: TNS:operation timed out ora error</title><link>http://www.franklinfaces.com/Topic168-55-1.aspx</link><description>TNS-00507 Connection closed&lt;/P&gt;&lt;P&gt;ORA-12537&lt;/P&gt;&lt;P&gt;Also remember,  when you upgrade your databases, remember to update the listener as well.   &lt;/P&gt;&lt;P&gt;9i listener does not supports 10g database. Just use 10g listener. Allways the higher listener version supports lower DB versions but not the opposite .&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;!-- / message --&gt;</description><pubDate>Fri, 11 Jun 2010 10:43:55 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>RE: ORA-12537: TNS:connection closed  - TNS-12535: TNS:operation timed out ora error</title><link>http://www.franklinfaces.com/Topic168-55-1.aspx</link><description>&lt;H2&gt;What to do with ORA-12537: TNS: connection closed error&lt;/H2&gt;The ORA-12537 is an information message and means that the connection has been closed. This can be caused by a number of reasons:&lt;BR&gt;1. Database is shut down (maybe for nightly backup), but connection to database was kept by client.&lt;BR&gt;2. A time-out occurred on the client-connection.&lt;BR&gt;3. When firewall closes idle connections.&lt;BR&gt;3. A configuration problem in sqlnet.ora or listener.ora.&lt;BR&gt;4. You have a path name that is too long for the Oracle TNS client on windows. (MetaLink Note:263489.1 )&lt;BR&gt;This issue is due to the connection string being large enough that the connection packet is being split into two packets and then sent to the listener. There are several workarounds for the issue. &lt;BR&gt;a. Install the exe in a shorter named directory. &lt;BR&gt;b. Modify the TNS Names entry so that it is shorter. &lt;BR&gt;c. Replace domain names with IP Addresses if that shortens and vice versa. &lt;BR&gt;d. Remove any parameters from the entry that are not needed. &lt;BR&gt;e. Patch the Database Listener to the most recent version. &lt;BR&gt;5. Oracle security is enables (for example in Oracle Apps). Solution either:&lt;BR&gt;a) Edit sqlnet.ora file and add your client-ip to tcp.invited_nodes.&lt;BR&gt;b) Remove secutity by editing sqlnet.ora and comment out parameter tcp.validnode_checking = yes by adding # at the beginning of the line.</description><pubDate>Fri, 11 Jun 2010 10:41:30 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>RE: ORA-12537: TNS:connection closed  - TNS-12535: TNS:operation timed out ora error</title><link>http://www.franklinfaces.com/Topic168-55-1.aspx</link><description>&lt;U&gt;&lt;FONT size=3&gt;&lt;FONT color=#1111cc&gt;&lt;STRONG&gt;ORA&lt;/STRONG&gt;-&lt;STRONG&gt;12537&lt;/STRONG&gt;: TNS: connection closed error&lt;/FONT&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="FONT-SIZE: 8pt"&gt;ORA-12537 TNS:connection closed&lt;BR&gt;Cause: Normal "end of file" condition has been reached; partner has disconnected. &lt;BR&gt;Action: None needed; this is an information message.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="FONT-SIZE: 8pt"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="FONT-SIZE: 8pt"&gt;Make sure you tnsnames.ora and listener.ora are all ok.  and if they are ...other then you max processes being reached, check your firewall and make sure the port is open and allowing connections to come in.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="FONT-SIZE: 8pt"&gt;One last thing is to check your sqlnet.ora file to make sure all the parameters you set in there are all ok and that they work as they should because slight mistake in there can cause this as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="FONT-SIZE: 8pt"&gt;hope this helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="FONT-SIZE: 8pt"&gt;&lt;/SPAN&gt; </description><pubDate>Fri, 11 Jun 2010 10:40:57 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-12537: TNS:connection closed  - TNS-12535: TNS:operation timed out ora error</title><link>http://www.franklinfaces.com/Topic168-55-1.aspx</link><description>I got this ora error message when a user pointed it out to me that they can't connect to database using TOAD.&lt;P&gt;ORA-12537: TNS:connection closed &lt;/P&gt;&lt;P&gt;I asked the user to send me more info and that's all he was able to provide.  I noticed in the sqlnet.ora the following :&lt;/P&gt;&lt;P&gt;Fatal NI connect error 12170.&lt;/P&gt;&lt;P&gt;  VERSION INFORMATION:&lt;BR&gt;        TNS for IBM/AIX RISC System/6000: Version 10.2.0.3.0 - Production&lt;BR&gt;        TCP/IP NT Protocol Adapter for IBM/AIX RISC System/6000: Version 10.2.0.3.0 - Production&lt;BR&gt;        Oracle Bequeath NT Protocol Adapter for IBM/AIX RISC System/6000: Version 10.2.0.3.0 - Production&lt;BR&gt;  Time: 30-NOV-2009 14:55:06&lt;BR&gt;  Tracing not turned on.&lt;BR&gt;  Tns error struct:&lt;BR&gt;    ns main err code: 12535&lt;BR&gt;    TNS-12535: TNS:operation timed out&lt;BR&gt;    ns secondary err code: 12560&lt;BR&gt;    nt main err code: 505&lt;BR&gt;    TNS-00505: Operation timed out&lt;BR&gt;    nt secondary err code: 78&lt;BR&gt;    nt OS err code: 0&lt;BR&gt;  Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=120.12.214.2)(PORT=1521))&lt;/P&gt;&lt;P&gt;I restarted the listener and that didn't help either.  Then i logged into the database and noticed that there were 396 connections to the database and the processes parameter was set to 400.&lt;/P&gt;&lt;P&gt;I had to open emergency ticket to recycle the production database to change the value to 900 from 400 and restarted the database.&lt;/P&gt;&lt;P&gt;This fixed the problem and user was able to connect and i stopped seeing those errors.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Thanks,</description><pubDate>Tue, 01 Dec 2009 01:39:56 GMT</pubDate><dc:creator>Admin</dc:creator></item></channel></rss>
