Share |

ORA-12535: TNS:operation timed out

Probably there's something wrong with the host (server) name or ip address you are connecting to.

First of all, open dos box or Unix shell script and do:
tnsping yourdatabasename

to determine the host.This is the output that will be returned (Oracle 9.2 style)

Used parameter files:
c:\oracle\ora92\network\admin\sqlnet.ora

Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = yourhostname)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = ORA920.WORLD) (SERVER = DEDICATED)))
Timeout message
Now, try to ping the hostname or ip address that was returned by the tnsping command:
ping hostname

If the ping command doesn't succeed, there's something wrong with the network

Possibile causes are ip address conflicts, virtual ip addresses that can be resolved anymore, failed cluster groups or veritas cluster packages, DNS outages, ...

The best way to solve this timeout is to look for any network issues.
If the ping command succeeds, than it might be a firewall problem.

Typically, when you connect to an Oracle listener (default port is 1521), a new process is spawned/thread created which listens on a different port.
This port is send back to the client, and the client tries to make a TCP connection to the new oracle process/thread.

So apart from adding the lsnrctl to the firewall rules, you should also add the oracle process to the firewall rule.
The port given back to the client can range anywhere from 1024 to 65535.

Windows users might have a look at the USE_SHARED_SOCKET = TRUE variable you can set in the registry ( HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE)
 Was this information helpful?  Yes No
If it was not helpful, please take some time to explain why. This is not to ask questions, you can do so in the forum.

Welcome to our forum for Oracle error: ORA-12535 Add your own message



Visual basic (VB) Backend Oracle.

Hai,


We are running oneExe throughing an below errors.

1. Run-time error '-2147467259(8000 4005)'; ORA-12154:TNS:Could not reslove service name.

2. Run-time error-'2147467259(80004005)'; ORA-12535:TNS:Opreation timed out.

But Same DB Name and Same Service name working same PC.

Thank You.

Best Regards,
Thiru

 
what is the problem.
and how could i resolve this
Check the server your database is running on, it is probably not accessible anymore
 
i am use datalog plus application for collecting data .
on that application ora-12535 TNS operation timeout error are occured
so please any solution
You need to check if the server your database is running on is still accessable
 

Hi,

I am getting the following error when i am trying to reach to the database ORA-12535: TNS:operation timed out. I tried pinging the database bit it is throwing the following error TNS-12545: connect failed because target host or object does not exist. I am very new to oracle. I request to please provide me valid solution clearly and help me to get out of this issue.

Your help is very much needed.

Thanks,

Ashie

You need to check the availabilty of your servers.

Things to check are:

- can you ping the server

- can you open a telnet session to the server?

- is the listener accessable?

- is a firewall blocking you?

- is network still ok?

- ...

 
I am getting the same error when our application trying to reach to the database ORA-12535: TNS:operation timed out. Our Oracle Database is implemented on Windows Cluster, and I also set USE_SHARED_SOCKET = TRUE variable in the registry ( HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE) in order to force the Oracle Server and client threads listens only 1521 port.(We cannot change the firewall policy, it is only allow 1521 port) It's work, but we met the ORA-12535 error very frequently. I just wonder know, set USE_SHARED_SOCKET will make the Oracle thread handling very busy that will request timeout when it can't handle with anymore?? Please kindly give me some help...Thanks!!

Is this a RAC cluster, or Oracle failsafe?

If it is a RAC cluster, there might be some problems with the configuration of the dns names.
When you connect to an instance, the address where the client process need to reconnect to is send back to the client.

If the client connect to the correct server process/thread, and it cannot access the server (due to incorrect dns setup, ...) this problem can happen.

You need to make sure all entries in the configuration are using a fully qualified domain name.
Failure in doing so might explain why in some cases you can connect, while in other cases you get this error.

One way in order to find if this is the problem is to enable client side SQL*NET tracing.

 

 

I am able to connect to the Oracle DB from one client machine. When I try to connect from another client machine, I get the operation time out error.

When I ping the DB server, I get a fast response. When I do a TNSPing, it gives a timeout error.

I'm not sure as to where else can I look for a solution..

Try to telnet from the machine that is not working:

telnet yourdatabaseserver port

If it comes back immediately, there is probably a problem with a firewall

 

 

when i connect my database to the server ,i got always ORA-12345:TNS:operation time out.

how can solve this stupid error please help me?

Whenever you get this error, you need to check if there is no firewall which blocks access

 

I'm encountering the below error on a continued basis

Unable to connect to Database.[-11][-12535][ORA-12535: TNS:operation timed out

Most of the time this is due to network problems/interface problems.

Check the network hardware, settings, ...

 

how set trace for sql*net ,where can i find the genrated log file .

You need to set following string in your sqlnet.ora file:

TRACE_LEVEL_CLIENT = ON

The trace file will be in %ORACLE_HOME%/network/log by default

 

 

 

hi.when i want download softwares from internet i face with this error and download failure what shoud i do ? please answer thanks

You need to check your network and/or your firewall settings

 

very interesting blog, Im came to this when sarching for similar issue, some client machines are egtting connection timeout, this happens only during the mornings,and last for 5 minutes only, i was able to be there just in time to run tnsping and ping, tnsping fail but ping to host succeed.

what could be wrong?

thanks.

Add your message

 Please provide your personal info 



 Please ask your message as briefly and clear as possible 

 Spam Protection 
Validation Code: t5ofu0v7ot5cs6f5g


Ask Your Question

If you need more information about this particular error message, you can leave a forum message.

We are replying to this message whenever we have some spare time, so please do not consider this as a private 'solve my critical issue asap' service.

Should you need professional Oracle Assistance to make your project a success, please have a look at our consultancy services.


Spam Protection

In order to prevent automatic generation of messages, we are asking for a validation code. This code is unique and is generated every time a new message is asked.

If you do not enter the validation correctly, your message will not be recorded.


Forum Rules

Please be polite, do not USE ALL UPPERCASE, no insults, violance or any other threats.