TNS-12535 TNS Operation Timed Out....Pls HELP!!!

Hi All
I have created a oracle 9i database on my local machine and when I try to connect to it from same machine via sqlplus or OEM, I am getting this error message:
TNS-12535: TNS Operation Timed Out.
I have tried to create a new listener but still I cannot connect to database.
Does anyone has any clue what's happening.
Thank you
Amit

Hi,
You could try something, like :
If your System is a Windows system, check if the listener service is active.
Then, from DOS window :
- LSNRCTL stat, to see the status of the listener
- TNSPING <your tnsnames alias>, if you have one.
For local connections :
- set ORACLE_SID = <your SID> as environment variable, then connect as user/password without connection string.
You can also try to stop and start the listener (from dos) :
- LSNRCTL stop
- LSNRCTL start
hth
Paolo

Similar Messages

  • 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 advance

    from 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

  • Urgent help please : ORA-12535: TNS:operation timed out

    Hi,
    We have 3 jobs scheduled at 6am accesing the same procedure.
    2 jobs are succesful when one job is failing with this error always for more than 3 weeks at same time
    ORA-12535: TNS:operation timed out
    The same job is executed fine at the other times.
    Can this be a failure due to a job conflict.
    2 jobs which pass are purging.
    The job which is failing is a select statement
    Please help us

    there is no sqlnet.log in the server the error came
    But there is sqlnet.ora from the other opponent server where
    Fatal NI connect error 12535, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=equinox-ia.nat.bt.com)(Port=1541))(CONNECT_DATA=(SID=iap)(CID=(PROGRAM=oracle)(HOST=dygkr01)(USER=webman))))
    VERSION INFORMATION:
         TNS for HPUX: Version 9.2.0.7.0 - Production
         Oracle Bequeath NT Protocol Adapter for HPUX: Version 9.2.0.7.0 - Production
         TCP/IP NT Protocol Adapter for HPUX: Version 9.2.0.7.0 - Production
    Time: 28-JAN-2009 15:29:30
    Tracing not turned on.
    Tns error struct:
    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: 238
    nt OS err code: 0
    Fatal NI connect error 12535, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=equinox-ia.nat.bt.com)(Port=1541))(CONNECT_DATA=(SID=iap)(CID=(PROGRAM=oracle)(HOST=dygkr01)(USER=webman))))
    VERSION INFORMATION:
         TNS for HPUX: Version 9.2.0.7.0 - Production
         Oracle Bequeath NT Protocol Adapter for HPUX: Version 9.2.0.7.0 - Production
         TCP/IP NT Protocol Adapter for HPUX: Version 9.2.0.7.0 - Production
    Time: 28-JAN-2009 15:30:46
    Tracing not turned on.
    Tns error struct:
    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: 238
    nt OS err code: 0
    nt secondary err code: 238
    nt OS err code: 0
    nt secondary err code: 238
    nt OS err code: 0
    nt secondary err code: 238
    nt OS err code: 0
    DBTIDY will cleanup log in 1 days from 28/01/09
    Fatal NI connect error 12535, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=equinox-ia.nat.bt.com)(Port=1541))(CONNECT_DATA=(SID=iap)(CID=(PROGRAM=oracle)(HOST=dygkr01)(USER=webman))))
    VERSION INFORMATION:
         TNS for HPUX: Version 9.2.0.7.0 - Production
         Oracle Bequeath NT Protocol Adapter for HPUX: Version 9.2.0.7.0 - Production
         TCP/IP NT Protocol Adapter for HPUX: Version 9.2.0.7.0 - Production
    Time: 29-JAN-2009 09:05:39
    Tracing not turned on.
    Tns error struct:
    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: 238
    nt OS err code: 0
    Fatal NI connect error 12535, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=equinox-ia.nat.bt.com)(Port=1541))(CONNECT_DATA=(SID=iap)(CID=(PROGRAM=oracle)(HOST=dygkr01)(USER=webman))))
    VERSION INFORMATION:
         TNS for HPUX: Version 9.2.0.7.0 - Production
         Oracle Bequeath NT Protocol Adapter for HPUX: Version 9.2.0.7.0 - Production
         TCP/IP NT Protocol Adapter for HPUX: Version 9.2.0.7.0 - Production
    Time: 29-JAN-2009 09:06:55
    Tracing not turned on.
    Tns error struct:
    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: 238
    nt OS err code: 0

  • TNS-12535 Operation timed out

    Hi
    I am working on IBM AIX, Oracle 10.2.0.4 version.
    Here I got the TNS-12535 error while running a report at particular time. (i.e 8:30 PM to 10:00 PM PST). But aftter this particular time it runs good.
    There is no errors found in alert log file. The below is the error found in the sqlnet.log file.
    Please help me to resolve this...
    Time: 18-FEB-2011 17:05:53
    Tracing not turned on.
    Tns error struct:
    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: 78
    nt OS err code: 0
    Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=host_name)(PORT=1521))
    nt OS err code: 0
    Thanks

    Hi,
    Nothing to investigate at the application side, there is everything to investigate at the network side.
    Check the below points.
    - is there any firewall in play
    - is there any Network Address Translation into play
    - have the correct ports been opened in the firewall
    - is Oracle using random return ports (by default Oracle always uses 2 tcp/ip ports, the first one fixed, and configured in tnsnames.ora, the actual communication takes place on a radom port. If that is a problem at your site you need to fix that)
    - You need to run netstat -r to identify which ports are actually used.
    - Pavan kumar N

  • "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.

  • 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 Tony

    Either 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

  • TNS-12535: TNS:operation timed out & TNS-00505: Operation timed out problem

    Hi all,
    I am getting below error frequently on different ports + (55733 55758 56110 59365 62950 63573 63790 63992) + and connecting automatically after some period.
    Fatal NI connect error 12170.
    VERSION INFORMATION:
    TNS for Linux: Version 11.2.0.2.0 - Production
    Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.2.0 - Production
    TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.2.0 - Production
    Time: 18-MAR-2011 09:16:27
    Tracing not turned on.
    Tns error struct:
    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: 110
    nt OS err code: 0
    Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain.com)(+ PORT=55733 +))
    Please help me why this happening frequently and conencting automatically in this regard,
    Thanks,

    Hi Sunny,
    Yeah connection is there but getting disconnect frequently and reconnecting again....
    I was trying to make that string as italic so put the '+' symbol, and doesn't have + symbol in original file.
    Please help
    Edited by: user7280060 on Mar 24, 2011 1:55 AM

  • 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
    Prasad

    Hi ,
    Even I am facing similar issue. Please let me know if you have any resolutions for this

  • ORA-29273: HTTP request failed ORA-12535: TNS:operation timed out

    SQL*Plus: Release 11.2.0.3.0
    Solaris 10 SPARC
    Hi,
    I get the following error when trying to make an HTTP request. Below is the snippet of code I run. I get the error after exactly 60 seconds(default timeout?). I searched through the forums and found many similar errors but nothing that helped me resolve this issue. The problem does not exist in the rest of our environments, only our test environment.
    Help is greatly appreciated. Thanks.
    DECLARE
       p_mid_tier    VARCHAR2 (500);
       responsestr   VARCHAR2 (500);
    BEGIN
       SELECT *****
         INTO p_mid_tier
         FROM *****
        WHERE profile_type = '*****';
       UTL_HTTP.set_wallet ('file://$ORACLE_HOME/network/admin/wallets');
       UTL_HTTP.set_transfer_timeout (6000);
       UTL_HTTP.set_response_error_check (TRUE);
       responsestr :=
          UTL_HTTP.request (
             UTL_URL.ESCAPE (p_mid_tier || '*****'));
       DBMS_OUTPUT.put_line (responsestr);
    END;
    ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1722
    ORA-12535: TNS:operation timed out
    ORA-06512: at line 15

    1001371 wrote:
    SQL*Plus: Release 11.2.0.3.0
    Solaris 10 SPARC
    Hi,
    I get the following error when trying to make an HTTP request. Below is the snippet of code I run. I get the error after exactly 60 seconds(default timeout?). I searched through the forums and found many similar errors but nothing that helped me resolve this issue. The problem does not exist in the rest of our environments, only our test environment.
    Help is greatly appreciated. Thanks.
    DECLARE 
       p_mid_tier    VARCHAR2 (500); 
       responsestr   VARCHAR2 (500); 
    BEGIN 
       SELECT ***** 
         INTO p_mid_tier 
         FROM ***** 
        WHERE profile_type = '*****'; 
       UTL_HTTP.set_wallet ('file://$ORACLE_HOME/network/admin/wallets'); 
       UTL_HTTP.set_transfer_timeout (6000); 
       UTL_HTTP.set_response_error_check (TRUE); 
       responsestr := 
          UTL_HTTP.request ( 
             UTL_URL.ESCAPE (p_mid_tier || '*****')); 
       DBMS_OUTPUT.put_line (responsestr); 
    END; 
    ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1722
    ORA-12535: TNS:operation timed out
    ORA-06512: at line 15
    the most frequent cause for TIMEOUT is a FireWall on or between client & server.
    when was last time this worked without error?
    what changed since then?

  • 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,
    Jeff

    Hello,
    My problem is solved. It was a firewall issue.
    Cheers,
    Jeff

  • Oracle 10g on Windows 7: TNS-12535: TNS:operation timed out

    I installed Oracle 10g (Version 10.2.0) on Windows 7 Professional on my laptop. Everything installed cleanly, but I simply cannot get an Oracle-client communication going. For some reason, TNSPing keeps timing out, as follows:
    C:\Users\Bruce>tnsping orcl
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 13-SEP-2
    010 17:00:09
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    F:\oracle\product\10.2.0\client_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = Bruce-Desktop)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = ORCL)))
    TNS-12535: TNS:operation timed out
    I am using DHCP on my home network, but I turned off the firewall for this exercise. Also, I set up a static loopback connector = 192.168.100.100
    Here is SQLNET.ORA:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    Here is TNSNAMES.ORA:
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Bruce-Desktop)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    Here is LISTENER.ORA:
    SID_LIST_LISTENER01 =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = F:\oracle\product\10.2.0\db_2)
    (PROGRAM = extproc)
    LISTENER01 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Bruce-Laptop)(PORT = 1521))
    Any help and/or guidance on how to diagnose & fix this problem would be greatly appreciated!
    Thank you.

    Hi Bruce,
    The scenario you just provided is what you don't want. You want Bruce-Desktop to have a static address. The easiest way to have this setup properly is to look at the IP address that is assigned by the DHCP server and assign that address statically to the interface.
    The way you have it now, I cannot tell which IP address Oracle will be using because that will depend on the binding order. You can control that by going to "My network places" -> "Properties" - > "Advanced" -> "Adapters and Bindings"/"Provider Order". It complicates matters though to do it that way.
    Since I cannot see exactly in what state your installation is, I would suggest you start over, this time with the network setup as needed. I can help you with the setup if you are willing to go thru the installation again. Trying to guess everything that should be modified in your current installation will be too error prone.
    John.
    For a new, clean installation, these are the basic steps:
    1. Set the computer name appropriately, something like "orahost" is a reasonable choice.
    2. Set the primary DNS suffix for the computer to something like "bruce.local"
    3. Set the IP address of your computer to be static (you won't even need a loopback adapter)
    4. Enter the appropriate information in your hosts file, given the values I mentioned above, it should look something like:
    127.0.0.1               localhost
    192.168.247.120         orahost.bruce.localchange the 192.168.247.120 to whatever IP address you statically assigned in step 3
    When you create the database and it wants the database name, enter <databasename>.bruce.local
    Another recommendation, in that same screen, it will want the SID, I use <databasename>sid. This makes it clearer later when Oracle expects an SID instead of a connect identifier or a database name. (though most people have the sid set the same as the database name - for learning purposes, I believe you are better off with different values, in order to tell, when it wants one instead of the other - otherwise, it's hard to visualize)
    This way you are mimicking an installation that is closer to a real production environment.
    If you want to use DHCP, still do step 3 but reserve the IP address you assigned statically in the DHCP server, that way the static IP will match what would have been assigned by the DHCP server.
    HTH,
    John.

  • ORA-12535: TNS:operation timed out (during DBLINK testing)

    Hi,
    I have created a database link using the follwoing script :
    create database link UIIODS.WORLD
    connect to <user_id>
    identified by <pwd>
    using '(DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 147.147.3.41)(PORT = 1552))
    (CONNECT_DATA =
    (SERVICE_NAME = uiiods)
    But when I am executing the sql : select * from [email protected]
    it gives the error : ORA-12535: TNS:operation timed out.
    I am trying to create the database link from a 9.2.0.5 database server and sid of this service_name is R2SRVR5.world.
    Please find below TNS,sqlnet and listener entries of the server R2SRVR5.WORLD :
    R2SRVR5_DBSRC.WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 157.227.6.39)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = R2SRVR5.WORLD)
    UIIODS.PROD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 147.147.3.41)(PORT = 1552))
    (CONNECT_DATA =
    (SERVICE_NAME = uiiods)
    # SQLNET.ORA Network Configuration File: C:\oracle\ora92\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    # NAMES.DEFAULT_DOMAIN = tcskolkata.co.in
    SQLNET.AUTHENTICATION_SERVICES= (NONE)
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
    # LISTENER.ORA Network Configuration File: C:\oracle\ora92\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = tcs061243)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\ora92)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = R2SRVR5.WORLD)
    (ORACLE_HOME = C:\oracle\ora92)
    (SID_NAME = R2SRVR5)
    (SID_DESC =
    (GLOBAL_DBNAME = dbsrc.world)
    (ORACLE_HOME = C:\oracle\ora92)
    (SID_NAME = dbsrc)
    (SID_DESC =
    (GLOBAL_DBNAME = NEWDBSRC.WORLD)
    (ORACLE_HOME = C:\oracle\ora92)
    (SID_NAME = NEWDBSRC)
    PING and TNSPING working fine,but DBLINK is not working.
    Please provide a solution.
    Thanks in Advance,
    Koushik

    Hi,
    Sorry for late response. Please find below the timing for TNSPING.
    C:\>ping 147.147.3.41
    Pinging 147.147.3.41 with 32 bytes of data:
    Reply from 147.147.3.41: bytes=32 time=246ms TTL=247
    Reply from 147.147.3.41: bytes=32 time=242ms TTL=247
    Reply from 147.147.3.41: bytes=32 time=237ms TTL=247
    Reply from 147.147.3.41: bytes=32 time=227ms TTL=247
    Ping statistics for 147.147.3.41:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 227ms, Maximum = 246ms, Average = 238ms
    C:\>tnsping 147.147.3.41
    TNS Ping Utility for 32-bit Windows: Version 10.1.0.2.0 - Production on 29-DEC-2005 15:03:49
    Copyright (c) 1997, 2003, Oracle. All rights reserved.
    Used parameter files:
    C:\Oracle10g_Home\network\admin\sqlnet.ora
    Used EZCONNECT adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=147.147.3.41))(ADDRESS=(PROTOCOL=TCP)(HOST=147.147.3.41)(PORT=1521)))
    OK (700 msec)
    C:\>tnsping uiiods.prod
    TNS Ping Utility for 32-bit Windows: Version 10.1.0.2.0 - Production on 29-DEC-2005 15:04:02
    Copyright (c) 1997, 2003, Oracle. All rights reserved.
    Used parameter files:
    C:\Oracle10g_Home\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 147.147.3.41)(PORT = 1552))) (CONNECT_DATA = (SERVICE_NAME = uiiods)))
    OK (580 msec)
    Please suggest any solution.
    Regards,
    Koushik

  • ORA-12535: TNS:operation timed out on other pc

    After installing the XE edition on a server, I can connect fine on the server itsself. But when I try to connect from a client machine, I get ORA-12535: TNS:operation timed out.
    My tnsnames on the client holds this string for the XE db:
    MyDB.10gXE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = MYSERVER)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    any ideas???

    Rather than
    MyDB.10gXE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = MYSERVER)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    why not go with the bulk standard tnsnames entry as follows:-
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = MYSERVER)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    I don't think the qualified MyDB.10gXE name is adding any value and may well confuse things.
    Although setting it for my environment does work
    C:\Documents and Settings\mtownsen.ST-USERS>tnsping myDB.10gXE
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 09-NOV-2
    005 18:06:48
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = mtownsen
    -lap.us.oracle.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_
    NAME = XE)))
    OK (40 msec)
    OK - when I use your entry pasted directly from the above, with my server name, I get the following problem:-
    C:\Documents and Settings\mtownsen.ST-USERS>tnsping myDB.10gXE
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 09-NOV-2
    005 18:07:43
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION =
    TNS-12533: TNS:illegal ADDRESS parameters
    I added back some spaces, as indicated by the . below, and it works fine
    MyDB.10gXE =
    (DESCRIPTION =
    .(ADDRESS = (PROTOCOL = TCP)(HOST = mtownsen-lap.us.oracle.com)(PORT = 1521))
    .(CONNECT_DATA =
    .(SERVER = DEDICATED)
    .(SERVICE_NAME = XE)
    .)

  • ORA-12535: TNS:operation timed out on a win2000 Oracle instance

    Hi,
    i have a Oracle 8.1.5 instance on a WIN2000 PC.
    I can connect me to this database with sqlplus
    as long i stay on the PC (means i started the sqlplus
    on the same machine).
    When i try to connect from an other (unix-)system
    i get after a while (ca. 90 sec.) the error:
    ORA-12535: TNS:operation timed out
    tnsping works fine (answer comes back in one second)
    There are no firewalls or other "strange" things between
    the database and the failing client (on an other PC,
    also win2000, Oracle 8.1.5 everything works fine).
    Below you see the log with debug of the listener.
    I have also a trace on level SUPPORT but this is more
    than 1000 lines for just 1 or 2 TNSPINGs and one SQLPLUS
    connect. Due to this volume i decided not to attach it to
    this initial mail.
    Does any one have some advice or experiences ?
    Please advice.
    Best regards,
    [email protected]
    ======================================================================
    TNSLSNR for 32-bit Windows: Version 8.1.5.0.0 - Production on 19-APR-01 09:07:26
    (c) Copyright 1998 Oracle Corporation. All rights reserved.
    Die System-Parameterdatei ist D:\Oracle81\network\admin\listener.ora
    Log-Meldungen wurden geschrieben in: D:\Oracle81\network\log\listener.log
    Listen auf: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=driller-nb)(PORT=1521))(PROTOCOL_STACK=(PRESENTATION=TTC)(SESSION=NS)))
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    19-APR-01 09:07:28 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=mdriller))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=135286784)) * status * 0
    19-APR-01 09:08:04 * service_register * MDR50 * 0
    19-APR-01 09:08:11 * trc_level * 0
    19-APR-01 09:08:16 * trc_level * 0
    ---------------- BEGIN TNSLSNR DEBUG ---------------------
    *** ENDPOINT #1 **
    Name:
    Address: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=driller-nb)(PORT=1521))(PROTOCOL_STACK=(PRESENTATION=TTC)(SESSION=NS)))
    Presentation: ttc
    Session: NS
    Info = <none>
    Display: <none>
    Load: 0
    Handler ID = 80FFE377148D-41F8-AAC2-09A8BD4BE682
    Oracle SID = <none>
    Flags:
    ** INSTANCE #1 **
    INSTANCE_NAME: MDR50
    SERVICE_NAMEs: MDR50
    INSTANCE LOAD: 0
    INSTANCE ID: 4CC2FCDA6819-40D2-839D-F1628CC0BCA2
    FLAGS: LOCAL
    VERSION: 81500
    NUM. HANDLERS: 2
    Handler Matrix: (NS):
    tcp nmp spx raw ipc beq lu62 tcps ANY
    ttc 0 0 0 0 0 0 0 0 0
    giop 0 0 0 0 0 0 0 0 0
    http 0 0 0 0 0 0 0 0 0
    ro 0 0 0 0 0 0 0 0 0
    ANY 0 0 0 0 0 0 0 0 2
    Handler Matrix: (RAW):
    tcp nmp spx raw ipc beq lu62 tcps ANY
    ttc 0 0 0 0 0 0 0 0 0
    giop 0 0 0 0 0 0 0 0 0
    http 0 0 0 0 0 0 0 0 0
    ro 0 0 0 0 0 0 0 0 0
    ANY 0 0 0 0 0 0 0 0 0
    SERVICE HANDLERS:
    Name: DEDICATED
    Address: (ADDRESS=(PROTOCOL=beq)(PROGRAM=oracle)(ENVS=)(ARGV0=oracleMDR50)(ARGS='(LOCAL=NO)'))
    Presentation: <none>
    Session: <none>
    Info = LOCAL SERVER
    Display: DEDICATED SERVER
    Load: 0
    Handler ID = 83CB008C17A3-4E48-94DA-2765A62AAD7E
    Oracle SID = <none>
    Flags: BEQUEATH
    Name: DEDICATED
    Address: (ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleMDR50)(ARGS='(DESCRIPTION=(LOCAL=no)(ADDRESS=(PROTOCOL=BEQ)))'))
    Presentation: <none>
    Session: NS
    Info = LOCAL SERVER
    Display: DEDICATED SERVER
    Load: 0
    Handler ID = D9E0EC298D16-40FA-935F-7B989D139666
    Oracle SID = MDR50
    Flags: BEQUEATH CONNECTED DYNAMIC
    ** INSTANCE #2 **
    INSTANCE_NAME: PLSExtProc
    SERVICE_NAMEs: PLSExtProc
    INSTANCE LOAD: 0
    INSTANCE ID: 000000000000-0000-0000-000000000000
    FLAGS: LOCAL
    NUM. HANDLERS: 1
    Handler Matrix: (NS):
    tcp nmp spx raw ipc beq lu62 tcps ANY
    ttc 0 0 0 0 0 0 0 0 0
    giop 0 0 0 0 0 0 0 0 0
    http 0 0 0 0 0 0 0 0 0
    ro 0 0 0 0 0 0 0 0 0
    ANY 0 0 0 0 0 0 0 0 1
    Handler Matrix: (RAW):
    tcp nmp spx raw ipc beq lu62 tcps ANY
    ttc 0 0 0 0 0 0 0 0 0
    giop 0 0 0 0 0 0 0 0 0
    http 0 0 0 0 0 0 0 0 0
    ro 0 0 0 0 0 0 0 0 0
    ANY 0 0 0 0 0 0 0 0 0
    SERVICE HANDLERS:
    Name: DEDICATED
    Address: (ADDRESS=(PROTOCOL=beq)(PROGRAM=extproc)(ENVS=)(ARGV0=extprocPLSExtProc)(ARGS='(LOCAL=NO)'))
    Presentation: <none>
    Session: <none>
    Info = LOCAL SERVER
    Display: DEDICATED SERVER
    Load: 0
    Handler ID = 56D4DAD11082-4097-992C-AF7F8067D858
    Oracle SID = <none>
    Flags: BEQUEATH
    ---------------- END TNSLSNR DEBUG ---------------------
    19-APR-01 09:08:28 * debug * 0
    19-APR-01 09:08:41 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=mdriller))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=135286784)) * status * 0
    19-APR-01 09:09:57 * ping * 0
    19-APR-01 09:10:16 * (CONNECT_DATA=(SID=MDR50)(CID=(PROGRAM=)(HOST=slarti)(USER=mdriller))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.10.34)(PORT=55678)) * establish * MDR50 * 0
    19-APR-01 09:14:39 * trc_level * 0
    19-APR-01 09:14:58 * trc_level * 0
    19-APR-01 09:15:06 * trc_level * 0
    19-APR-01 09:16:16 * trc_level * 0
    19-APR-01 09:16:20 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=mdriller))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=135286784)) * status * 0
    19-APR-01 09:16:33 * trc_level * 0
    19-APR-01 09:17:09 * ping * 0
    19-APR-01 09:17:51 * (CONNECT_DATA=(SID=MDR50)(CID=(PROGRAM=)(HOST=slarti)(USER=mdriller))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.10.34)(PORT=55695)) * establish * MDR50 * 0
    19-APR-01 09:18:06 * MDR50 * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.10.34)(PORT=55695)) * service_update * MDR50 * 0
    19-APR-01 09:23:33 * (CONNECT_DATA=(SID=MDR50)(CID=(PROGRAM=)(HOST=deep-thought)(USER=mdriller))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.10.22)(PORT=42006)) * establish * MDR50 * 0
    19-APR-01 09:28:09 * MDR50 * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.10.22)(PORT=42006)) * service_update * MDR50 * 0
    19-APR-01 09:28:25 * ping * 0
    null

    Rather than
    MyDB.10gXE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = MYSERVER)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    why not go with the bulk standard tnsnames entry as follows:-
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = MYSERVER)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    I don't think the qualified MyDB.10gXE name is adding any value and may well confuse things.
    Although setting it for my environment does work
    C:\Documents and Settings\mtownsen.ST-USERS>tnsping myDB.10gXE
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 09-NOV-2
    005 18:06:48
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = mtownsen
    -lap.us.oracle.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_
    NAME = XE)))
    OK (40 msec)
    OK - when I use your entry pasted directly from the above, with my server name, I get the following problem:-
    C:\Documents and Settings\mtownsen.ST-USERS>tnsping myDB.10gXE
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 09-NOV-2
    005 18:07:43
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION =
    TNS-12533: TNS:illegal ADDRESS parameters
    I added back some spaces, as indicated by the . below, and it works fine
    MyDB.10gXE =
    (DESCRIPTION =
    .(ADDRESS = (PROTOCOL = TCP)(HOST = mtownsen-lap.us.oracle.com)(PORT = 1521))
    .(CONNECT_DATA =
    .(SERVER = DEDICATED)
    .(SERVICE_NAME = XE)
    .)

  • TNS-12560: TNS:protocol adapter error, ORA-12535: TNS:operation timed out

    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.

Maybe you are looking for