"TNS-12535: TNS:operation timed out" error after listener restart
I have two related questions:
Scenario 1:
1. I have two remote Windows machines with database on each. One is Win 2003 Server (machine A) and another one is Win XP (machine B)
2. I can ping from A to B.
3. I can ping from B to A.
4. I can tnsping from A to B.
5. I CAN'T tnsping from B to A.
6. Windows Firewall on both machines are off.
What could be possible reason for point# 5?
Scenario 2:
Now, the second part:
1. I had an unwanted entry in tnsnames.ora on B which I removed.
2. Then I restarted the listener on B. Actually, I wanted to restart the one on A to check if that resolves issue mentioned in point# 5 above.
3. I tried tnsping from A to B but suprisingly it is also giving "operation timed out" error now. So now tnsping not working from either sides.
I didn't make any changes in listener.ora on B, just stopped it and started again. Only change made was removing unwanted entry in tnsnames.ora on B.
Why does that affected database connectivity from A to B which was working fine previously?
If any extra information needed please let me know, and thanks in advance for your answers.
- Ramesh
DB names on both machines: ORCL
listener.ora on B (Win XP) - This was working before listener restart, I mean, I was able to connect to DB on B from A.
# listener.ora Network Configuration File: C:\app\Test\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\app\Test\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:C:\app\Test\product\11.2.0\dbhome_1\bin\oraclr11.dll")
(SID_DESC =
(GLOBAL_DBNAME = ORCL)
(ORACLE_HOME = c:\app\Test\product\11.2.0\dbhome_1)
(SID_NAME = ORCL)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = testpc)(PORT = 1521))
ADR_BASE_LISTENER = C:\app\Test
listener.ora on A (Win 2003 Server) - Never able to connect to DB on this machine from A.
# listener.ora Network Configuration File: D:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = D:\app\Administrator\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:D:\app\Administrator\product\11.2.0\dbhome_1\bin\oraclr11.dll")
(SID_DESC =
(GLOBAL_DBNAME = ORCL)
(ORACLE_HOME = D:\app\Administrator\product\11.2.0\dbhome_1)
(SID_NAME = ORCL)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = NRDBSVR.delldomain1.netreachasia.com)(PORT = 1521))
ADR_BASE_LISTENER = D:\app\Administrator
NOTE:
Machine A = NRDBSVR.delldomain1.netreachasia.com (Win 2003 Server)
Machine B = testpc (Win XP)
Similar Messages
-
"ORA-12535:TNS:operation timed out" error
hi,
I want to connect to my oracle server.If I try to connect my client means"ORA-12535:TNS:operation timed out" error is shown.What should i do to the rectify this problem.Pls give me a solution.
Thanks in advance.
-reg
Lakshman.We are using wiondows XP and oracle 8i.
I am able to ping the host where the database resides.
this problem occurs only when we try to connect this server form the client.I able to connect other servers without any problem.
I able to establish local connections.
I am trying tnsping database service.
client and the server are in same LAN only.
Pls give me a solution.
Thanks in advance.
-regs,
Lakshman. -
Hi,
I am working with customobject called Event Registration and I am trying to insert records to it. I get an Operation Timed Out error but in the admin I can see the records are getting inserted after a time dalay of 2 mins of getting the error. Any help would be appreciated.
thanks
JayHi Sean,
I informed the senior developer and she said she has emailed the Oracle regarding this issue. We are developing a website for a company who has purchased the Oracle CRM on demand. Is it mandatory for every one to create a service request? You can email me at [email protected] and I will contact you directly.
Thanks
Jay -
TNS:Operation Timed Out error while trying to invoke BPEL Process from sql
Hi,
I am trying to invoke a BPEL Process from PL/sql code. When i try to invoke the process, I am getting the following error message
ORA-29273 HTTP Request Failed
ORA:06512: at SYS.UTH_HTTP at line 1029
ORA:12535: TNS:Operation Timed Out
ORA:06512: at line 18
I have the SOA suite installed on my local machine...and the BPEL process that i am trying to invoke is deployed their.
Any idea what could be wrong..following is the code piece
soap_request:='<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header/>
<soap:Body xmlns:ns1="http://xmlns.oracle.com/Test">
<ns1:TesProcessRequest><ns1:input>is1_1land</ns1:input></ns1:TesProcessRequest>
</soap:Body>
</soap:Envelope>';
dbms_output.put_line('soap_request: '||soap_request);
utl_http.set_proxy('3.209.30.25:80', '3.209.32.149:8888');
http_req:= utl_http.begin_request('http://3.209.32.149:8888/orabpel/default/Tes/1.0 '
,'POST'
,'HTTP/1.1');
dbms_output.put_line('after Begin Request' );
utl_http.set_header(http_req, 'Content-Type', 'text/xml') ;
Please adviseyou are right the file adapter doesnt invoke any bpel
process, instead it is polling the file from
directory location?If it is polling for new files, shouldn't it create a new instance of the BPEL process automatically the moment it finds a new file? In other words, should a new file trigger an instance of the BPEL process rather than being started from PL/SQL?
Can this file adapter not be invoked as bpel process
in that case?The file adapter is part of a BPEL process. The BPEL process can be invoked from e.g. PL/SQL.
In this case this file adapeter return to an RECEIVE
activity...I think this receive cannot be invoked as
a BPEL process rite?Can you explain what you mean with this?
Also , will all synchronous request return "TIMEOUT"
error, if tried to invoke from pl/sql?Only if the synchronous process instance takes more time to complete (and thus to return) than the value specified for a time-out to occur. If the instance completes in for example 10 ms and the time-out time is specified as 30 seconds, no time-out will occur.
Regards, Ronald -
UTL_HTTP.request, operation timed out error
hi,
i am using utl_http package, its giving the following error:
SQL> SELECT utl_http.request('http://www.oracle.com/') FROM dual;
SELECT utl_http.request('http://www.oracle.com/') FROM dual
ERROR at line 1:
ORA-29273: HTTP request failed
ORA-06512: at "SYS.UTL_HTTP", line 1556
ORA-12535: TNS:operation timed out
ORA-06512: at line 1
please tell me what can be the probable reasons, as i am able to connect the same url through my IE browser.
thanksHi Sean,
I informed the senior developer and she said she has emailed the Oracle regarding this issue. We are developing a website for a company who has purchased the Oracle CRM on demand. Is it mandatory for every one to create a service request? You can email me at [email protected] and I will contact you directly.
Thanks
Jay -
Remotely connecting operation timed out error
i have three connections remotely done to a linux box RH 7.2 oracle 9.0.0.1 through telnet.
When i try to connect the fourth connection,it says operation timed out.
There is only one listener for all the clients.
Do i need to add more listeners to the database?
Thanks
.No, Listener can serve as many as it can..there is no limit
where is the forth connection connected from?
Same machine or different from the frist 3 connections?
If different you have to look into the firewall the particular machine
Message was edited by:
Maran Viswarayar -
TNS - 12535 - Connection Operation Time Out
i m getting this error again and again. to overcome this problem, i have searched
CONNECT_TIMEOUT parameter to asign '0' zero vaue, to get higher higher time in listner.ora, but there is no any such parameter in it.(as suggested my teacher) hence i reconfigured my listner, the said prob get solved. but the next day i found the same error. what should be do? is there any solution?
thanx in advancefrom the client (using dos command prompt)
tnsping instance_name
Also check your tns_names file on the client and make certain you are pointing at the correct machine. Check the machine and make certain the listener is listening for the correct alias.
Something is not working correctly.
Are the other clients having the same problems or are they able to connect?
Wayne -
ORA-12535 TNS:operation timed out from SQLPlus and Enterprise Manager Conso
I keep getting a ORA-12535 TNS:operation timed out error, when I try to start my Database.
I know its a timeout error, but I would like to know what is timing out and why. All I want is the database its self to run to allow me to connect to it via SQLPlus and JDBC.
Is there any information on what the following services do and which ones I need to have running to use the database.
Oracle OLAP 9.0.101
Oracle OLAP Agent
Oracle oraHome90Agent
Oracle oraHome90ClientCache
Oracle OraHome90PagingServer
OracleOra90SNMPPeerEncapsulator
OracleOra90SNMPPeerMasterAgent
OracleOra90STNSListener
Thanks for any help TonyEither reconfigure CONNECT_TIMEOUT to be 0, which means wait indefinitely, or reconfigure CONNECT_TIMEOUT to be some higher value. Or, if the timeout is unacceptably long, turn on tracing for further information.
If you have oracle metalink, then read the following note;
Note:119706.1 - Troubleshooting Guide TNS-12535 & ORA-12535 Errors -
Java.sql.SQLException: ORA-12535: TNS:operation timed out
Hello,
I am trying my first JDBC connection using a code sample called SingleConnection.
The code functions properly until an attempt to connect to the database (the main goal to the exercise, I know). I receive a java.sql.SQLException: ORA-12535: TNS:operation timed out error. The ConnectString is all good, and several different values have been tried. Any help would be appreciated.
Thanks,
JeffHello,
My problem is solved. It was a firewall issue.
Cheers,
Jeff -
TNS:operation timed out - on different subnets
I am having a problem with Oracle on a companys local network. The problem is manifested by
TNS-12535: TNS:operation timed out
error which happens when client repetitively makes connection to Oracle instance located on a different subnet (going via the network backbone). To illustrate this problem I wrote a simple batch file using SQLPLUS. The attached files:
pingconnect.cmd, this command file executes a single SQL query in an infinite loop :
@echo off
:a
sqlplus -S scott/tiger@oratns @seldual.sql
goto a:
seldual.sql - simple query that gets executed in the loop:
select * from dual;
exit
sqlnet.log error
Fatal NI connect error 12535, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=host)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=svcname)(CID=(PROGRAM=C:\oracle\ora92\bin\SQLPLUS.EXE)(HOST=ADMITRIYLTW2K)(USER=user))))
VERSION INFORMATION:
TNS for 32-bit Windows: Version 9.2.0.5.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 9.2.0.5.0 - Production
Time: 29-APR-2004 10:21:07
Tracing not turned on.
Tns error struct:
nr err code: 0
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12560
nt main err code: 505
TNS-00505: Operation timed out
nt secondary err code: 60
nt OS err code: 0
When I ran several (for example 7) instances of pingconnect.cmd, it runs for about 3-5 minutes and then fails with error TNS-12535 (see sqlnet.log). This happens with both Oracle 9i and 8i. This only happens when the client and server are located on the different subnets. This is confirmed by a network engineer who worked with me while I was performing tests on various network configurations.
I am looking for the Oracle network tuning parameters to eliminate this problem. Any suggestions?Is it related?I can not say it is related with 100% certainty.
You can conclude I had a REALLY lucky guess or there is high correlation between VM & having TNS-12535 error.
It is your system & you are free to (ab)use it any way you choose to do so.
We both know SQL*Net can & does work as advertised, but requires a properly configured OS & Network underneath it. -
TNS Timed out error when connecting from internet
All,
Apologies if I am missing something simple...
I have set up a test 9i database on a Win 2003 Server, and I can connect to it fine from within my LAN. I am trying to connect to the same database from the internet, but am getting a TNS:Operation timed out error.
I believe I have set everything up correctly:
-Port Forwarding port 1521 on my simple Linksys router/firewall
-TNSPing gives me a sub-second OK (from the internet)
-I can get a TNS:listener could not resolve SERVICE_NAME error if I purposely screw up the service name in the tnsnames.ora file (proving, I think, that I can connect to the Listener from the outside internet)
Am I missing something simple? Why can I ping the listener but not get a response when trying to connect to the database (database is working, I can connect from within my LAN)?
Do I need to download and install the latest release for Win Server 2003?
Thanks,
ChrisThanks for your response, Michael..
Is this something new in 9i? The reason I ask is that I swear that while working on another project last year I was able to set up a development 8i database in my home office and was able to allow my client hit this database from their own location (in Peru, via the internet) using a vb.net app that I had built. The only thing I did on my home router was to forward port 1521.
If my memory is wrong or things have changed since then, then what other ports other than 1521 are used to connect? Security is not really an issue, as I am just trying to set up a test database in order to Q/A an application I'm building.
Thanks in Advance,
Chris -
I installed Oracle 9i (9.2.0.1.0) on a Windows XP machine (the machine is in a domain). There were no errors during the instalation, but I have problems connecting from the same machine using the sid. Here are some examples from a command promt:
D:\>tnsping orcl9i
TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 31-OCT-20
08 17:43:22
Copyright (c) 1997 Oracle Corporation. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
(HOST = timisoara01)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = orcl9i)))
TNS-12560: TNS:protocol adapter error
D:\>sqlplus "sys/pass@orcl9i as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on Fri Oct 31 17:54:54 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
ERROR:
ORA-12535: TNS:operation timed out
Enter user-name:If I don't use the sid I can connect:
D:\>sqlplus "sys/pass as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on Fri Oct 31 18:05:46 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
SQL>If I go to services I see that the service is running: OracleServiceORCL9I Started.
Thx.Yes, the XP firewall is running. During the Oracle instalation it poped up twice, but I selected 'Unblock'. I can't turn it off because it is running using the domain settings, but I can add exceptions (programs or ports). Port 1521, tnsping or sqlplus are not blocked and there is an option 'Display a notification when Windows Firewall blocks a program' witch is checked.
-
Fatal NI connect error 12170 and TNS-12535: TNS:operation timed out
We are getting intermittently following error.
TNS for Solaris: Version 10.2.0.3.0 - Production
Oracle Bequeath NT Protocol Adapter for Solaris: Version 10.2.0.3.0 - Production
TCP/IP NT Protocol Adapter for Solaris: Version 10.2.0.3.0 - Production
Time: 26-FEB-2008 07:17:25
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12606
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
sql net ora file
NAMES.DIRECTORY_PATH= (TNSNAMES)
# NAMES.DEFAULT_DOMAIN = world
SQLNET.EXPIRE_TIME = 10
Out of 10,000 sucessful connections, some 10 connections are getting the 12170 and 12535 error. It is due to firewall connection time out ?
Appreciate advanced help
PrasadHi ,
Even I am facing similar issue. Please let me know if you have any resolutions for this -
DB Connect error: ORA-12535: TNS:operation timed out
Hi,
I am trying to connect to a external oracle database from SAP.
I entered the TNS entry of the external DB in the TNSNAMES.ORA and configured it in the table DBCON.
But i am not able to connect to the external database. It is throwing the error
"sql error 12.535 ; occured:ORA-12535: TNS:operation timed out"
But i was able to connect the database from my system through TNSPING and also from TOAD.
Do i need to configure any parameter in LISTENER.ORA in SAP or in the external database?Hi,
Thanks for the reply.
The note which you specified was with BI objects. But i am trying to connect from SAP R/3 to a remote Oracle database.
I got connected to the remote Oracle database for an hour and it got disconnected by saying "TNS operation timed out".
The CONNECT_TIMEOUT parameter in LISTERER.ORA of the remote Oracle database is missing.
Will this may be the cause for the "TNS operation timed out". -
Got error in sqlnet.log TNS-12535: TNS:operation timed out
connection not getting from client machine to database. got error in sqlnet.log
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for Linux: Version 10.2.0.4.0 - Production
Oracle Bequeath NT Protocol Adapter for Linux: Version 10.2.0.4.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 10.2.0.4.0 - Production
Time: 15-MAR-2010 17:09:30
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12606
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=172.20.237.14)(PORT=1879))
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for Linux: Version 10.2.0.4.0 - Production
Oracle Bequeath NT Protocol Adapter for Linux: Version 10.2.0.4.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 10.2.0.4.0 - Production
Time: 15-MAR-2010 17:53:26
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12606
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=172.20.237.14)(PORT=2045))
even no any parameter set in sqlnet.orahi,
Please check the connectivity from server to client.
And also check whether the tnsnames.ora file has the TNS entry of the DB server which you are trying to connect.
Then TNSPING the server with tns name.
If this also doesnt work try commenting all lines in sqlnet.ora file on server.
Check the listener status also on the server.
Maybe you are looking for
-
How to set default value for Zfeild using statusprofile
hi experts, I need to set a default value for a zfeild using status profile.Although we can default the values,using getter and setter methods,but in my requirement,the feild will be defaulted when the page is locked,also in display mode,which will r
-
Errors driving me crazy! although compiles fine I am working on a project for an online class - I am teaching myself really! My last assignment I cannot get to work. I had a friend who "knows" what he is doing help me. Well that didn't work out too w
-
No sound in 10.4.7
I recently installed the 10.4.7 update, followed all the recommended tips and tricks. Now RealPlayer and Quicktime player do not have any sound. RealPlayer will play streaming video, but with no sound. I can open saved movies in VLCplayer and they wo
-
Adobe LiveCycle ES-document date expiration
Can LiveCycle ES set a date for a document to expire?
-
Hello, I'm trying to do a system copy of our production PI system and create a new QA PI system. According to OSS note 585277, we are going to do the SAVLIB/RSTLIB method. That is working fine. However, the first part of the note talks about doing th