ORA-12170:TNS connect timeout occured.

HI, i am getting this error when trying to connect, sqlplus, form builder in devsuite.10.1.0
can anyone help, plz........................
ORA-12170:TNS connect timeout occured.
with regards,
AJAZ.

In $ORAHOME/network/admin on the machine where you have Forms Builder installed, there is a file called tnsnames.ora
This file maps the 'tns name' which you are probably using in your connect string, to a specific TCP/IP port (and 'service identifier') on the database host.
A TNS connect timeout could occur because:
a) a firewall is preventing communcation between your machine and the database host/port in your tns definition
b) the TNS 'listener' on the database host at that port is hung
For my money, I'd be investigating (a) first.
It's worth investing time in learning about TNS. It will save you a lot of hassle.
regards,
David.
(Please mark this post as 'helpful' if it put you on the right track ... thanks!).

Similar Messages

  • ORA-12170:TNS:Connect timeout occurred

    Hi, I am no longer able to log into SQL Plus. I get the error message above. I think the problem comes from my comtputer being renamed. Can someone help me?
    Thanks.

    ORA-12170:TNS:Connect timeout occurred
    Cause: The server shut down because connection establishment or communication with a client failed to complete within the allotted time interval. This may be a result of network or system delays; or this may indicate that a malicious client is trying to cause a Denial of Service attack on the server.
    Action: If the error occurred because of a slow network or system, reconfigure one or all of the parameters SQLNET.INBOUND_CONNECT_TIMEOUT, SQLNET.SEND_TIMEOUT, SQLNET.RECV_TIMEOUT in sqlnet.ora to larger values. If a malicious client is suspected, use the address in sqlnet.log to identify the source and restrict access. Note that logged addresses may not be reliable as they can be forged (e.g. in TCP/IP).
    1. Check whether database is up and running.
    2. tnsping <databasename> and see whether you are able to ping the database in command prompt.
    3. Check tnsnames are configured properly.
    4. check DNS entry in your host file.
    Regards,
    Syed

  • Logging in Oeacle SQL*Plus (ORA-12170: TNS: Connect timeout occured)  ...

    I installed recently Oracle 10g. When I try to log in, with the account and password setup[ earlier, I get the message "ORA-12170: TNS: Connect timeout occured". Do I need to specify a Host String" at Log On? Should I un-install and re-install the software again? Thank you.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    /* Error:     ORA-12170 (ORA-12170)
    Text:     TNS:Connect timeout occurred
    Cause:     The server shut down because connection establishment with a
         client failed to complete within the allotted time interval. This
         may be a result of network/system delays; or this may indicate
         that a malicious client is trying to cause a Denial of Service
         attack on the server.
    Action:     If the error occurred because of a slow network/system,
         reconfigure the SQLNET.INBOUND_CONNECT_TIMEOUT parameter in
         sqlnet.ora to a larger value. If a malicious client is suspected,
         use the address in sqlnet.log to identify the source and restrict
         access. Note that logged addresses may not be reliable as they can
         be forged (e.g. in TCP/IP).
    Could also be a firewall issue.
    Werner

  • OO4O - Unable to make connection, ORA - 12170: TNS: Connect timeout occured

    Hi,
    I am trying to connect to the Database server from Vista client using code written in VB 6.0, The oracle client installed in Vista is 10.2g
    I am using the below code to connect to the oracle database. I tried increasing the INBOUND_CONNECT_TIMEOUT parameter in the SQLNet.ora file, but didn't work.
    Set gvobjOraSession = CreateObject(gvOraSession)
    Set gvobjOraDatabase = gvobjOraSession.OpenDatabase(gvOraDBName, gvOraDefaultUser & "/" & gvOraDefaultPassword, vOraMode)
    Thanks for the help in advance
    Anand

    Are you able to connect using the same information with sqlplus from the same client machine? 12170 is usually a basic client config issue rather than something specific to OO4O.
    Greg

  • Handling the ORA-12170: TNS:Connect timeout in a procedure

    Post moved to:
    Handling the ORA-12170: TNS:Connect timeout in a procedure
    Edited by: John_75 on Jun 28, 2010 9:33 AM

    http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/troublestng.htm#i440403
    will give you
    http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/troublestng.htm#CEGEDBIE

  • TNS:connection timeout error

    Hi,
    I have installed oracle 10g in my system.
    the tnsnames.ora file contails the following:
    TEST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.2)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = test)
    and sqlnet.ora file contains :
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    when i'm trying to login from SQLPLUS as:
    sqlplus sys/<password>@<sid> as sysdba
    it's showing the error as "ORA-12170 :TNS: connect timeout occured"
    C:\Documents and Settings\Administrator>sqlplus sys/<password>@<sid> as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Sep 10 09:47:56 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-12170: TNS:Connect timeout occurred
    Enter user-name: sys as sysdba
    Enter password:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL>
    But i coudnot connect to Enterprise manager and through Toad because it tells as "TNS:connect timeout occured".
    From enterprise manager it shows the instance,listener are down.
    trying to start up the instance shows as "not connected to oracle".
    Could you please help me for this.
    Thanks,
    Souvik

    user10223265 wrote:
    This may help
    http://www.errorkey.com/search/Index.aspx?q=TNS-12541
    Is this the best you have to offer? I see you keep on posting "+answers+" using this URL. Well, if this is all you have to offer it is pretty pathetic. Please do not bother as there are many here that will actually make an effort to assist the person with the problem. We do not want you to sprain a finger or break a nail looking up the errorkey URL for yet another error code.
    Re: why handling ora-01722 with pl/sql not works ???

  • How to solve this error :12170 TNS connection to timeout occured- req

    Hi
    I have 2 databases.They are source db and target db .i have created the database link source to target.The users report that when they try to connect the database source from target database using the database link they are getting the error
    ORA-12170: TNS: CONNECTION TO TIMEOUT OCCURED
    Note : Indpendently can be log on source database, target database from out of source db, But source db could'nt directly logon.
    so how can i solve the error
    pls reply urgently....
    regs
    RENGA

    ORA-12170: TNS: CONNECTION TO TIMEOUT OCCUREDWhen was last time this worked?
    What changed?
    What OS name & version involved on each system?
    12170, 00000, "TNS:Connect timeout occurred"
    // *Cause:  The server shut down because connection establishment or
    // communication with a client failed to complete within the allotted time
    // interval. This may be a result of network or system delays; or this may
    // indicate that a malicious client is trying to cause a Denial of Service
    // attack on the server.
    // *Action: If the error occurred because of a slow network or system,
    // reconfigure one or all of the parameters SQLNET.INBOUND_CONNECT_TIMEOUT,
    // SQLNET.SEND_TIMEOUT, SQLNET.RECV_TIMEOUT in sqlnet.ora to larger values.
    // If a malicious client is suspected, use the address in sqlnet.log to
    // identify the source and restrict access. Note that logged addresses may
    // not be reliable as they can be forged (e.g. in TCP/IP).Edited by: sb92075 on Oct 20, 2010 6:53 AM

  • Error :"Connect timeout occurred"

    Hi Experts,
    I installed ODBC client and wanted to test the connection using my oracle TNS. For some reason i'm getting "Connect timeout occurred" when i tried to test the connection. Below are the database details.
    Can you please look into this and provide solutions on how to resolve this.
    Database version : Oracle 10 g
    Oracle Client version : Oracle 11 g
    tnsnames:
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = BHELRND)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    )

    Hi,
    Can try below way,
    1. Copy your tnsnames.ora to {Oracle_BI1}\network\admin directory & {oracle_common}\network\admin directory (only the former is needed as that is the ORACLE_HOME)
    2. Or instead of tnsnames.ora source entry, use the full expanded tnsnames as shown below
    (DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.10)(PORT = 1521))(CONNECT_DATA =(SERVER = DEDICATED)(SERVICE_NAME = orcl)))
    Note: put it u r IP, Port service name etc.
    alternative method, try to test it OCI Call interfact
    //database_host[:port]/service_name (RPD -->physical layer --> put it under u r dsn name)
    for more refer, http://gerardnico.com/wiki/dat/obiee/oci
    Thanks
    Deva

  • Connection timeout occurred

    I have a 20-in imac from late 2009. It actually  has lion and the 10.7.3.  Version. I had been using the same network for the last year, and it was until the last month that i started experiencing problems with my network. Randomly i would loose my connection when i turn on my computer. Therefore, i had to connect manually. Yesterday i was experience that after i turned my comPuter on, but i wasnt able to fix it... I just keep getting i ternet connection like for 5 seconds and then a message of that a connecton timeout occurred and obiously i had no. More internet connection. However, i don't expirience that with other nearby free networks. Also, i can join my home network with other windows computer and also with my ipod!   Help me please!!!

    user3636719 wrote:
    I got a complaint from user saying that they are getting “connection timeout occurred”. I googled it, all responses are addresses when problem is in your machine. Unfortunately, I don’t have any other information regarding the error.
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production
    "CORE     10.2.0.5.0     Production"
    TNS for HPUX: Version 10.2.0.5.0 - Production
    NLSRTL Version 10.2.0.5.0 - Production
    when was last time all was OK?
    what changed since then?
    can same user connect to DB from different client system?
    can other user which is OK connect to DB from problem client system?

  • A connection timeout occurred. I have been receiving this error when trying to connect to the open wifi connection at my university. My wifi works perfect when I am using it on my home network. I have tried all the suggestions in forums online no luck.

    I am getting a connection timeout occurred message on my mid-2009 macbook pro I am running mountain lion 10.8.2 but problem occured before and after update. The message only happens when i attempt to connect to the wifi at my university. It works normal at my home. This error just started last semester out the blue. I have read many forums and non have helped ive reset my pram a few times, ive deleted all my networks including my home network out of my system preferences<network and all that extra stuff. if anyone has a clue please help me because one of my classes requires me to take in class test over the internet. Thanks for reading. If anyone can help PLEASE help ive been trying to fix for last few months.

    From the menu bar, select
     ▹ System Preferences... ▹ Network
    Click the Assist me button and select Assistant. Follow the prompts. You may get a warning that Wi-Fi is not available, that you're too far from the base station, or that you're using the wrong password.
    Assuming that you've ruled out those possibilities, click the lock icon in the lower left corner of the preference pane and authenticate, if necessary. From the Location menu at the top of the window, select Edit Locations. A sheet will drop down. Click the plus-sign button to create a new location. Give it any name you want. In the new location, set up the Wi-Fi service with the same settings you used before. Click Apply and test.

  • Could not join "wifi network name".  A connection timeout occurred.

    Mac Pro running 10.7.5.
    Whenever the computes wakes from sleep or logs in, it no longer automatically connects to my wifi network.  When I manually select the network for from the Wi-Fi status in the menu bar, I get the following message:  Could not join "wifi network name".  A connection timeout occurred.
    Even though I get that message the machine joins the network with no other problems.  I am led to believe that is is on the Mac Pro as my Macbook and iPad/iPhone join the network with no issues. 
    I have tried deleting and restoring the preferred network, and remember networks is checked.  I have also restored my airport express base station.
    Any suggestions?

    Hello,
    Make a New Location, Using network locations in Mac OS X ...
    http://support.apple.com/kb/HT2712
    10.5, 10.6, 10.7 & 10.8…
    System Preferences>Network, top of window>Locations>Edit Locations, little plus icon, give it a name.
    10.5.x/10.6.x/10.7.x instructions...
    System Preferences>Network, click on the little gear at the bottom next to the + & - icons, (unlock lock first if locked), choose Set Service Order.
    The interface that connects to the Internet should be dragged to the top of the list.
    If using Wifi/Airport...
    Instead of joining your Network from the list, click the WiFi icon at the top, and click join other network. Fill in everything as needed.

  • ORA-12537 TNS Connection closed after OAS 4.0.8.1 Installation

    finally I was able to install and start OAS
    on RH 6.1, but now I can not start Ora8i (with all patches) on my system. When I start svrmgrl, will get ora-12537 TNS Connection lost error.
    Can someone please help!
    Thanks

    They said in the install doc that you can't use the same ORACLE_HOME for 8i and OAS 4.0.8...

  • Wifi via os 10.8.5:  "A connection timeout occurred"

    I've had the same internet connection for 5 years.  Same wifi.  Same password.
    My previous mbp / os had no problems connecting and *staying* connected.
    Now, with my 8-month-old MBP / OS10.8.5, I regularly get bounced off wifi and when I try to reconnect, I see my wifi in the networks list, but I get "a connection timeout occurred" fail.
    Why?  How can this be fixed?
    Incidentally, my iPhones (4 and 5) over five years have *never* encountered this issue.  They are on the exact same wifi / password / network as my MBP.

    Some suggestions in this link, and the links within the article, that sometimes help users solve wifi problems:
    http://osxdaily.com/2012/11/30/resolving-stubborn-wi-fi-connection-problems-in-m ac-os-x/

  • Can't connect to my wifi it says ( a connection timeout occurred) !!

    Can't connect to my wifi it says ( a connection timeout occurred) !!

    Sometimes, but not all the time, network colision does happen. That may cause your "connection timed out" message.  It may also be caused by having too many devices hooked up and you are getting an ip address that's already being used.
    If you know how to configure your netgear router, try to get into it's settings and see how many devices are actually hooked up and start taking some off that aren't being used.
    Also, go to the wireless section of your router and see what channel it's on.  Usually defaults at channel 7.  Try changing that channel until you get a good connection with your MB.

  • ORA-12564: TNS:connection refused

    C# code:
    private Oracle.DataAccess.Client.OracleConnection objConn;
    objConn.ConnectionString = "User Id=tst;Data Source=CZETEST;Password=1234;"
    objConn.Open();
    tnsnames.ora
    CZETEST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = XXX.NET)(PORT = 1621))
    (CONNECT_DATA =
    (SERVICE_NAME = XXX.CZ)
    I'm trying to connect to an Oracle 10g server.
    objConn.Open(); always ends with "ORA-12564: TNS:connection refused"
    I've even tried to let the connection build by ODT connection wizzard ('Test connection' button displays 'Connection was successfull', but when the code is run the result is unfortunately the same :(
    Anybody knows where the problem should be?

    This is often a malformed tnsnames.ora. Is what you posted a snippet, because it looks to me that you a closing ) too many. You can turn on tracing which should help you find the problem. It's odd that odt says the connection works, though.

Maybe you are looking for