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)
.)

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.

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

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

  • Listener overloaded or High load .?..ORA-12535: TNS:operation timed out

    We have an OLTP db server with oracle 11g(11.1.0.7) installed on Linux 64bit OS.
    Client : Dotnet application running on win2003 server
    oracle client version on webServer 9.2.0.4
    Work load on system is
    Avg Executions Per Sec 1273.35
    Avg Executions Per Txn 42.1
    Avg Response Time Per Txn (secs) .13
    Avg User Transaction Per Sec 30.4
    Avg Concurrent Sessions on server 350 processes 600
    memory_target 13gb
    we are experiencing "ORA-12535: TNS:operation timed out" while users access the application from webserver.per day around 200 errors.
    To get rid of the above error we set SQLNET.INBOUND_CONNECT_TIMEOUT=0 in server side sqlnet.ora and
    in Listener.ora inbound_connect_timeout=120 but of no use, even we observed for few days with inbound_connect_timeout=0.
    There is Only one listener configured on server.
    The similar set up with lesser workload working fine without any errors.
    Please let me know your thoughts....
    --Pandey
    Edited by: user12204025 on Feb 10, 2010 8:14 AM
    Edited by: user12204025 on Feb 12, 2010 2:52 PM

    But I am seeing this errors in listener alert file.
    <msg time='2010-02-15T15:55:37.734-06:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='hostname.domainname'
    host_addr='127.0.0.1'>
    <txt>15-FEB-2010 15:55:37 * 12502
    </txt>
    </msg>
    <msg time='2010-02-15T15:55:37.734-06:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='hostname.domainname'
    host_addr='127.0.0.1'>
    <txt>TNS-12502: TNS:listener received no CONNECT_DATA from client
    </txt>
    </msg>
    and in alert log file below entry...
    Fatal NI connect error 12170.
    VERSION INFORMATION:
    TNS for Linux: Version 11.1.0.7.0 - Production
    Oracle Bequeath NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
    TCP/IP NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
    Time: 15-FEB-2010 02:46:21
    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=gatewayip)(PORT=4804))
    please let me know your thoughts.....

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

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

  • UTL_HTTP & ORA-12535: TNS:operation timed out

    Hi ,
    I have written the following piece of code to validate if the Web Service is accessible using UTL_HTTP. If I schedule this procedure from Unix (as a cron job) OR try the modified version through Oracle Portal
    I get intermittent Timeout errors (Exception - -12535-ORA-12535: TNS:operation timed out).
    However if I schedule the same package as a dbms_job it always seems to work fine.
    Does anyone have any idea as to what/where the problem could be?
    create or replace procedure abc
    as
    v_ret varchar2(4000);
    begin
    SELECT UTL_HTTP.Request('https://some_external_url', NULL,'correct_wallet_path', 'correct_wallet_password') into v_ret FROM dual;
    end;
    Edited by: ricky90897 on Oct 9, 2008 5:37 AM

    It looks like you won't be able to test web service calls on apex.oracle.com. see this WebService on apex.oracle.com
    Edited by: tfa on Mar 18, 2013 9:59 AM

  • 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

  • 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

  • ORA-12535: TNS:operation timed out

    First thing first I need to vpn to Data Center before able to connect to any of the servers in Data Center. The other thing is do not ask me why my company set up is so strange.
    Let's call this DB server Machine B
    DB Server Oracle9i Release 9.0.1.1.1 - Production
    Platform Windows XP Professional Version 2002
    DB server in Datacenter Machine C
    Machine C is in Unix
    Machine A is my laptop which is in XP and oracle client is in version 9.
    I encountered this error when I connect to my Machine B using tnsname from Machine A.
    Here's the finding I made.
    start of what I do in Machine B
    On Machine B, first I enable the windows firewall.
    I made a connection to another DB server in the Datacenter Machine C, I was able to connect
    Next I exit out of the connection.
    Next I disable the windows firewall.
    This time I try to made a connection to the db server in data center, Machine C, it fails.
    To double confirm that the windows firewall is the culprit, I enable the windows firewall and made a connection to the db server in data center, Machine C. I was able to connect
    end of what I do in Machine B
    Start of what I do in Machine A
    The moment the I turn off the windows firewall in B I was able to connect from my laptop, A to Machine B. However it also means that I was not able to connect to Machine C
    It does not matter if windows firewall in Machine A is enable or not
    End of what I do in Machine A
    this is what I found out from all the googling around,
    from Doc ID:      119706.1
    If you are going through a Firewall, and your server platforms are NT,
    then you must ensure that the port being listened on is open as well as
    setting up a SQL*Net/Net8 Proxy, such as Net8 Connection Manager, if none
    is provided by the Firewall vendor.
    The reason is that, even though the port is open, the TCP layer will
    REDIRECT the port to another port.
    This is due to Winsock2 workings under Microsoft.
    which lead me to Doc ID:      68652.1
    quote
    Earlier releases of SQL*Net for Windows NT used the WINSOCK V1.1 API. With this
    version of WINSOCK there is no capabaility of passing a TCP socket between two
    processes, and no way to inherit a TCP socket. To work around this restriction
    a new thread of execution is created by the main Oracle process and a local
    connection is made between the listener and this new thread. The newly created
    Oracle thread randomly selects a new TCP port, for example port 1087, to use
    To workaround this problem there are several options:
    2. Use Connection Manager so the TNS CONNECT following the REDIRECT happens
    at the server side of the firewall.
    For further information on Connection Manager and how to configure it,
    refer to Note 62528.1.
    =>not feasible from 62528.1
    connection Manager is only shipped from release Oracle 8 Enterprise Edition and is
    backwardly compatible with SQL*Net V2.
    3. If you are on Oracle 8 or higher, you can use a WINSOCK V2 API feature called
    Shared Sockets. This allows a socket to be shared (or passed) between multiple
    processes. To use this functionality in a single Oracle Home enviroment, set
    USE_SHARED_SOCKET = TRUE in the HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE section
    of the registry. If you are using Multiple Oracle Homes, change to the
    desired Oracle 8 Home and view the oracle.key file in ORACLE_HOME\BIN to
    find which registry key to add USE_SHARED_SOCKET to.
    =>I'm not able to find this USE_SHARED_SOCKET option.
    =>this is what I do
    On Machine B, I regdit
    go to HKEY_LOCAL_MACHINE->SOFTWARE->ORACLE,
    did not find any key at all.
    How should I resolve this issue?
    thanks
    latest update from http://it.toolbox.com/wiki/index.php/Connect_Oracle_Behind_a_Firewall
    under Case 1
    I have added string value USE_SHARED_SOCKET=TRUE in the HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE section of the server's registry
    but still I could not connect from A to B....real frustrating
    Edited by: oraclewannabe2 on Feb 3, 2009 11:19 AM
    Edited by: oraclewannabe2 on Feb 3, 2009 12:05 PM

    Hi,
    Set the HKEY_LOCAL_MACHINE\ SOFTWARE\ORACLE\HOME<#>\USE_SHARED_SOCKET registry key to TRUE.
    See Oracle Metalink note 124140.1 for details.
    Note: This is the default configuration.
    Audit: In regedit, Ensure the HKEY_LOCAL_MACHINE\ SOFTWARE\ORACLE\HOME<#>\USE_SHARED_SOCKET registry key is set to TRUE.
    HTH
    - Pavan Kumar N

  • TNS-12535: TNS:operation timed out

    Hi,
    Whenever we check Alertlog file according to regular health of Instance. We are facing the below issue very frequently
    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.17.100.108)(PORT=14375))
    WARNING: inbound connection timed out (ORA-3136)

    Hi,
    Welcome to OTN form:
    WARNING: inbound connection timed out (ORA-3136)   please check following link: ORACLE DBA: inbound connection timed out (ORA-3136)
    ORA-12535: TNS: operation timed out
    Cause: The requested operation could not be completed within the time out period.
    reference link: ORA-12535: TNS: operation timed out tips
    Thank you

  • TNS-12535: TNS:operation timed out on Vista SP1 OS

    Hi everyone,
    I am starting to play with Oracle DB recnetly..
    today I have TNS connection failed issue.
    When I tried to use ODBC to connect Oracle XE DB, I got ORA-12535: TNS:operation timed out.
    Here is basic info:
    OS:Vista SP1
    Oracle Version:Oracle Database 10g Express Edition Release 10.2.0.1.0
    I can connect Oracle DB by http://localhost:8080/apex and sqlpus.
    and check - telnet ellen.test.net 1521, it is working.
    I have no idea why my TNS connection got timeout issue.
    Did someone encounter the same issue before?
    Thanks for any input in advance.
    C:\>tnsping XE
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 14-OCT-2
    010 17:39:29
    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 = ellen.test.net)(PORT = 1521))
    (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
    TNS-12535: TNS:operation timed out
    C:\>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 14-OCT-2010 21:41:49
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date 14-OCT-2010 16:50:35
    Uptime 0 days 4 hr. 51 min. 14 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File C:\oraclexe\app\oracle\product\10.2.0\server\network\a
    dmin\listener.ora
    Listener Log File C:\oraclexe\app\oracle\product\10.2.0\server\network\l
    og\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ellen.test.net)(POR
    T=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation=
    HTTP)(Session=RAW))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "XEXDB" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "XE_XPT" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "xe" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    The command completed successfully
    for Instance"xe", I don't understand why I also got this error. Is there some wrong setting?_
    file content: sqlnet.ora
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    file content:tnsnames.ora
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ellen.test.net)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    file content: listener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = ellen.test.net)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)

    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.

Maybe you are looking for