Sometimes You can get “ORA-12535: TNS:operation timed out ” error.
ORA-12535: TNS operation timed out
Details of error are as follows.
ORA-12535: TNS:operation timed out Cause: The requested operation could not be completed within the time out period. Action: Look at the documentation on the secondary errors for possible remedy. See SQLNET.LOG to find secondary error if not provided explicitly. Turn on tracing to gather more information. [[email protected] admin]$ tnsping MSDB TNS Ping Utility for Linux: Version 220.127.116.11.0 - Production on 06-MAY-2020 13:02:57 Copyright (c) 1997, 2013, Oracle. All rights reserved. Used parameter files: /ggateb01/oracle_client/product/11.2.0/client_1/network/admin/sqlnet.ora Used TNSNAMES adapter to resolve the alias Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.63.34)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = MSDB))) TNS-12535: TNS:operation timed out [[email protected] admin]$
This ORA-12535 error is related with firewall or listener timeout.
If firewall is open, then disable it as follows.
service iptables stop chkconfig iptables off service ip6tables stop chkconfig ip6tables off
You can disable firewall in Redhat with below script.
systemctl stop firewalld systemctl disable firewalld
TNS operation timed out
Or Check your IP Adress, Port if they are incorrect, you can get this error. To solve this error, fix IP adress and port.
TNS-12535 and ORA-03135: connection lost contact error are related with the Network traffic and High loaded database operations.
To solve this error, add the following parameter to the SQLNET.ORA file ( under $ORACLE_HOME/network/admin/ ).
SQLNET.INBOUND_CONNECT_TIMEOUT = 180 INBOUND_CONNECT_TIMEOUT_LISTENER = 120
then restart the Listener as follows.
$ srvctl stop listener $ srvctl start listener
$ lsnrctl stop listener $ lsnrctl start listener
Or Check database server if it is up or not.
Do you want to learn Oracle Database for Beginners, then Click and read the following articles.
Oracle Database Tutorials for Beginners ( Junior Oracle DBA )
3,091 views last month, 2 views today
I have checked all the above mentioned parameters, but it doesn’t resolve my issue…..still showing operation timed out. 🙁
Then I think you have firewall problem, could you check the firewall ? Test the telnet like ” telnet hostname port “, then share the outout.
Already deactivated firewall…I have tested “telnet localhost 1522” and it is showing blank command prompt.
so firewall is activated if the blank command prompt seen ? Normally you should see the ” connected ” message.
Very much helpful for me.