ORA - 12170 - Connection Timeout

Hello

Problem - I am using TOAD on my computer to connect to my database, but gives the error "Ora-12170, Connection Timeout".

Explanation - I installed Oracle InstantClient 10.2 on the local computer and using this default home home to connect to the target instance.
Here, the thing is, I can't able to PING to the UNIX machine but cannot able to establish the database connection.
Made the WAY system LNS_LANG variables...
Created TNSNAME. ORA in instantClient with appropriate entries.



Any help is like the wind of heaven... stuck here for a long time...
Thank you and best regards,
Madhav

Published by: user13155845 on May 31, 2010 02:48

oracle client is not installed on your local computer?

Try this

Telnet ip_address 1521

for example

Telnet 10.200.19.18 1521

Tags: Database

Similar Questions

  • ORA 12170: Connection timeout error: need help

    Hello

    The scenario is this: I have Oracle 11 g R2 installed on a server to Windows Server 2008 (32-bit). The database SID is "PGM". I am access (or want to access remotely to) the Oracle database in Visual Studio 2008 (customer environment) development environment running on a Windows XP (SP3) platform. I have already installed the package of the ODAC (ver. 11.2.0.2.1) for the Visual Studio environment.

    I created a sample Windows Forms application that uses the Oracle data access components. The example of HR schema in the Oracle database is already unlocked. This is the pattern that I use in the application.

    The issue that I am facing is that when I add the data connection in the Visual Studio environment. Feature "Test connection" returns the following error: ORA-12170 ... Connection has expired.

    I checked the TNSNAMES file. File of the ORA and everything is as listed in the Oracle documentation. It's as follows:

    PGM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.0.161)(PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVICE_NAME = EGP)
    )
    )

    Please ask the community to help me overcome the error and making a link successfully. We have a system administrator, but not a database administrator. Oracle installation was made by me.

    Thank you
    Renj
    ----------

    Try adding a PGE in the SID_LIST_LISTENER of the listener.ora file and that you can do using the Net Manager and its operation is explained here

    http://download.Oracle.com/docs/CD/B10500_01/network.920/a96580/admintoo.htm

  • ORA-12170: TNS: Connect timeout occurred Description: an unhandled exception occurred during the execution of the current web request. P

    Hello

    I deployed a simple asp.net application in a sharepoint wfe Server

    Client 32-bit installed oracle 12

    32-bit Oracle Data Access Components (ODAC)
    with Oracle Developer Tools for Visual Studio

    bit alias 32 and 54 sql set up in all the sharepoit servers to connect to sql server

    SharePoint farm works very well

    ASP.net application to connect to sql server and oracle dbs to get and display the data

    in iis, asp.net application compatible 32-bit and executed under asp.net version 4.0

    When I connect to sql server and a data base of data it displays error below

    ORA-12170: TNS: Connect timeout occurred

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and its origin in the code.

    Exception details: System.Data.OleDb.OleDbException: ORA-12170: TNS: Connect timeout occurred

    Source error:

    Line 4142: Dim da2 as new OleDbDataAdapter (sqlStr2, conStr2)
    Line 4143: Dim ds2 As New DataSet
    Line 4144: da2. Fill (DS2)
    Line 4145:
    4146 line: DropDownList38.DataSource = ds2

    Source file: C:\inetpub\wwwroot\wss\VirtualDirectories\lxxxx\xxx.ascx.vb line: 4144

    Stack trace:

    a common cause of Timeout is a firewall on or between customer & dbserver

    What was the last time it worked without error?

    What has changed since then?

  • ORA-12170: TNS: Connect timeout occurred on the same host as DB

    Hello

    I just installed Oracle on mu Ubuntu 12.4 following the instructions here:

    http://www.Makina-corpus.org/blog/HOWTO-install-Oracle-11g-Ubuntu-Linux-1204-precise-pangolin-64bits

    and here:

    Install Oracle 11 GR 2 on Ubuntu 12.04 of the databases

    However, when I try to log on to the database, I created during installation using sqlplus, it hangs for a minute or two until it-error:

    ORA-12170: TNS: Connect timeout occurred.

    My tnsnames.ora:

    MYSIS =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = my_host) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = mysids)
    )
    )

    I checked that the listener is running and listening to the post 1521:

    s$ sudo netstat - tulpn | grep 1521

    tcp6 0 0: 1521: * LISTEN 16732/tnslsnr

    $ ps - ef | grep 16732

    Oracle 16732 1 0 06:58?        00:00:00 /opt/oracle/product/11.2.0/dbhome_1/bin/tnslsnr EARPHONE-inherit

    Thoughts?

    Finally managed to do run. The problem was that I have not read rights to tnsnames.ora.

  • ORA-12170 TNS: Connect timeout occurred

    Hi Experts,

    While trying to connect via TOAD, sqldevloper to my database, I get the following error: -.

    ORA-12170 TNS: Connect timeout occurred

    The listener.ora file content: -.

    [oracle@gdlogidb1 admin] $ cat listener.ora

    listener.ora # Network Configuration file: /mnt/PRDdata/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora

    # Generated by Oracle configuration tools.

    LOGDEV =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1525))

    (ADDRESS = (PROTOCOL = TCP (PORT = 1525))(HOST = gdlogidb1.tireco.com))

    )

    LOGDEV =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1525))

    (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.2.18)(PORT = 1525))

    )

    ADR_BASE_LOGDEV = / mnt/PRDdata/oracle

    The listener status: -.

    [oracle@gdlogidb1 admin] $ lsnrctl status LOGDEV

    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on August 29, 2013 03:13:15

    Copyright (c) 1991, 2010, Oracle.  All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1525)))

    STATUS of the LISTENER

    ------------------------

    Alias LOGDEV

    Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production

    Start date August 29, 2013 03:05:32

    Uptime 0 days 0 h 7 min 43 sec

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Parameter Listener of the /mnt/PRDdata/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora file

    The listener log file /mnt/PRDdata/Oracle/diag/tnslsnr/gdlogidb1/logdev/alert/log.XML

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1525)))

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp (PORT = 1525))(HOST=192.168.2.18)))

    Summary of services...

    Service 'logdev.tireco.com' has 1 instance (s).

    "Logdev" instance, State LOAN, has 1 operation for this service...

    Service 'logdevXDB.tireco.com' has 1 instance (s).

    "Logdev" instance, State LOAN, has 1 operation for this service...

    The command completed successfully

    TNSping works fine too.

    [oracle@gdlogidb1 admin] $ tnsping LOGDEV

    AMT Ping utility for Linux: Version 11.2.0.2.0 - Production on August 29, 2013 03:35:14

    Copyright (c) 1997, 2010, Oracle.  All rights reserved.

    Use settings files:

    /MNT/PRDdata/Oracle/product/11.2.0/dbhome_1/network/admin/SQLNET.ora

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = gdlogidb1.tireco.com) (PORT = 1525)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = logdev.tireco.com)))

    OK (0 msec)

    I can connect it is, but the problem occurs when I try to connect using TOAD or Sqldevloper.

    [oracle@gdlogidb1 admin] $ sqlplus system@LOGDEV

    SQL * more: Production of liberation 11.2.0.2.0 Thu Aug 29 03:32:15 2013

    Copyright (c) 1982, 2010, Oracle.  All rights reserved.

    Enter the password:

    Connected to:

    Oracle Database 11 g Release 11.2.0.2.0 - 64 bit Production

    SQL > user sho

    The USER is 'SYSTEM '.

    Content of the sqlnet.ora: -.

    [oracle@gdlogidb1 admin] $ cat sqlnet.ora

    sqlnet.ora # Network Configuration file: /mnt/PRDdata/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora

    # Generated by Oracle configuration tools.

    NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT)

    ADR_BASE = / mnt/PRDdata/oracle

    My Version of operating system is:- 11.2.0.2.0

    Platform: -.

    Gdlogidb1.tireco.com 2.6.39 - 400.109.4.el6uek.x86_64 #1 SMP Linux kill Jul 22 11:44:00 CDT 2013 x86_64 x86_64 x86_64 GNU/Linux

    Hello

    The error was taken neat but thanks for the reply. The quick fix is to disable the firewall.

    First login as a superuser.

    # service iptables save
    # service iptables stop
    # chkconfig iptables off
    e

    Thank you

    Ankur

  • managing the Oracle ERROR ORA-12170: TNS: Connect timeout occurred

    Hello all dear

    We have a server that is responsible for collecting data from some customers. In each of these devices, we have installed Oracle 11.2 g and that they are connected via DB-link. There is a stored procedure that test the connection before doing this either by running the command (+ select count (*) of dual@db_link1+). In the situations that one of the clients is not accessible, this ORA-12170 error occurred and there will be an end to MS. Now, I want to avoid this and want to sp jump this client and connect to another. I wonder if there is an exception that is raised by this fatal error and we can do it.

    Thank you

    >

    I wonder if there is an exception that is raised by this fatal error and we can do it.

    Thank you

    You know what is the exception: it is 12170. So can you not name and use it in a normal EXCEPTION clause? http://docs.Oracle.com/CD/E11882_01/AppDev.112/e25519/errors.htm#sthref889

  • RMAN-04004: recovery catalog database error: ORA-12170: TNS: connect the ti

    Hello:

    Last night ' RMAN backup error: ' RMAN-04004: recovery catalog database error: ORA-12170: TNS: Connect timeout.

    I can sqlplus to the target database and the catalog database. The listener is in place. What is the problem? What should I check?

    Thanks in advance for your help.

    in the oratest/orapass@rmandb1 CATALOG,.

    rmandb1 is the name of the service. normally the name of the service and the name of db are kept same.

    check rmandb1 tnsping where you try to run ' RMAN TARGET / CATALOG oratest/orapass@rmandb1 "command.

    as optput will get the ip address of the server on which db is resident, no port, Protocol

    as

    ---------

    [Oracle@RAC3 ~] $ tnsping orcl

    AMT Ping utility for Linux: Version 10.2.0.5.0 - Production on December 23, 2011 21:12:20

    Copyright (c) 1997, 2010, Oracle. All rights reserved.

    Use settings files:
    /opt/app/Oracle/product/DB/10.2.1/network/admin/SQLNET.ora

    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = rac3.rajesh.com) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))
    OK (10 ms)
    -------------------------------

    Here the HOST = rac3.rajesh.com is the present db Server

    Published by: Rajesh.Rathod on December 23, 2011 07:43

  • ORA-12170: how to connect both ways 2 Oracle DB

    Hi all.

    I got the laptop Win7 64 bit and installed Oracle 11.2.0.1 32 bits. (sid = orcl, ip 192.168.1.101 =)

    Then I installed VM box and installed Windows XP as the guest operating system.

    Inside, I installed other Oracle 11.2.0.1 (sid = orclA, ip 192.168.1.102)

    I tried to connect the 2 database, but I had error ora-12170 round-trip

    I can ping both directions.

    Are there necessary permission grants on the side Win7 & WinXP so that my 2 databases can talk to each other?

    It seems to block the connection. I have already disabled the firewall.

    Please helppppp...

    Thank you very much

    zxy

    yxes2013 wrote:

    Yes, I keep forgetting that he should be the default value "always". How can I change/update it to a question?

    You have only 15 minutes after creating threads to (UN) mark a discussion as matter. As moderator, I made the change for you.

    Nicolas.

  • ORA-12170 and TNS-12535

    Hello world

    My servers are in a separate location and we have access to our databases of my office.

    The developers say that they could not access a particular db of their machine.

    The errors they receive when they try to connect using a tool is:
    TNS-12535 TNS:operation timed out
    When I ask them to TNSPing or when accessing from Sql Plus(instant client), this is the mistake they receive:
    ORA-12170: TNS:Connect timeout occurred
    One of the developers using Oracle XE and it is too face the same scenario.

    So, where should I trace this problem.

    We have all been able to ping to the machine where the Oracle.

    Please advice.

    Thanks in advance.

    user645399 wrote:
    Virginia,

    Thanks for your reply.

    Is there a way to check via Oracle if the firewall blocks?

    Check the file sqlnet.log for more information.

    What is your OS?, if windows check in the control panel---> windows firewall

    If unix post the product.

  • Customer Oracle TNS connect timeout problems

    Hi all.

    I tried to connect the free versions of trial and beta to Benchmark Factory by quest software on my laptop to windows 32-bit on my desk running oracle linux.

    With the help of people here, I checked my Oracle database allows incoming connections DB set up server with a routable IP #

    The application that I use on my laptop constantly gives me an error ORA-12170: TNS connect timeout...

    The following steps have been taken during the installation of the client software...

    -------------------------
    1. factory reference download and install
    2 tries to connect to the database on the server machine, but regarldess oracle which has been entered I got a windows error saying not found Oci.dll
    3. I downloaded the zip of Oracle Instant client for 32-bit windows
    4 extract the instant client download files in the bin folder of the reference plant. (this fixes the error not found oci.dll)
    5. When you are using a direct connection, I specified the following details:

    Username: linux system user name
    Password: my password of linux
    Host: 192.168.1.9
    Port: 1521
    SID: orcl
    connect as: sysdba
    connect using: Instant customer (it was the only option in a drop down)
    -------------------------------------------

    When I try to connect I get the AMT connect timeout error.

    Anyone has any ideas what I did wrong or not done?

    Any help would be appreciated

    Matt

    Published by: user9200169 on August 16, 2010 15:53

    Published by: user9200169 on August 16, 2010 16:00

    When everything has failed, read the Fine Documentation

    http://www.Oracle.com/technetwork/database/features/OCI/IC-FAQ-094177.html

    "How can I specify the connection in Instant Client mode strings?
    All methods NET naming Oracle does not require the use of ORACLE_HOME or TNS_ADMIN (to locate the configuration such as tnsnames.ora or sqlnet.ora files) work in Instant Client mode. In particular, the connection string can be specified in the following formats:

    A SQL Connect URL string in the form:

    Host: [port] [service name]

    such as:

    dBase-Server - 5:4321 / ORDERS

    As a pair of keyword / value Oracle Net. For example:

    "(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = dlsun242)
    (PORT = 5521))
    (CONNECT_DATA = (SERVICE_NAME = bjava21))) »

    Naming methods that require TNS_ADMIN locate configuration files continue to work if the value of the TNS_ADMIN environment variable.

    If the TNS_ADMIN environment variable is not defined and TNSNAMES entries for example, inst1, are used, the variable ORACLE_HOME must be set, and the configuration files are supposed to be located in the directory of $ORACLE_HOME/network/admin.

    Please note that the ORACLE_HOME variable in this case is only used to locate the Oracle Net configuration files, and any other component of Client Code Library (OCI, NLS and so forth) don't use the value of ORACLE_HOME.

    The adapter unreserved or empty connection strings are not supported. However, another way to use the empty connection string must affect on UNIX TWO_TASK environment variable, or the LOCAL Windows variable, a tnsnames.ora entry or a pair of keyword / value Oracle Net. If LOCAL or TWO_TASK is set to a tnsnames.ora entry, then the tnsnames.ora file must be loaded by setting ORACLE_HOME or TNS_ADMIN.

    "Modified: 8 April 04 Ref #: ID-4428"

  • ORA-03135: connection lost contact for a single user only

    Hi gurus,

    I am puzzled to this problem, no one else is having problem connecting to the database except a user who always gets "ORA-03135: connection lost contact" when you try to connect to the test and Prod environment.

    Oracle@PATEST > sqlplus user@testDB

    SQL * more: release 10.2.0.3.0 - Production Wed Dec 23 13:21:08 2015

    Copyright (c) 1982, 2006, Oracle.  All rights reserved.

    Enter the password:

    ERROR:

    ORA-03135: connection lost contact

    Get the same error when you try to connect via EDIVIEW (application) or the prompt of commands or cygwin terminal directly.

    tnsping works fine and return connect credentials

    Here's what I did troubleshooting:

    1. make sure that the user is not locked in the database

    2. place the database restricted and provided this user mode access restricted and tried the connection as long as that user, not luck.

    3A bounced the listener

    4A rebounded from the database

    5. some online forums suggest to increase the timeout setting in sqlnet.ora, in our environment, we use the OID and the sqlnet.ora is the central directory. If this cannot be the issue that everyone can connect.

    6. I checked the sqlnet.log file and there seems to be no incoming connection from this user or machine.

    Information system and database

    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64 bit Production

    Mna3dbts SunOS 5.10 Generic_150400-27 sun4u sparc SUNW, SPARC-Enterprise

    Any advice would be appreciated

    Hello world

    Thanks for everyone came, surprisingly, the problem is solved by simply changing the user password in the database. As soon as the password is reset, I was able to connect using the assigned user name.

  • ORA-12170 of the client after installing 12102

    I installed 12102 on Linux.  In all my 11g install, our standard is to use dynamic record for each instance in the listener.  Then you remove the listener.ora file which allows dynamic registration in 11g.  We also use a listener shared by server... so I disabled the LOCAL_LISTENER parameter by alter system set local_listener = ";  I have found no record of this has changed in the 12 c install.  I found that a new process LREG registers the instance instead of PMON... but it's all working.  My cases are recorded in the listener... yet I can't connect from a client or another server using the standard tnsnames.ora.  What Miss me?  Nothing don't watch even in my journal of the listener that is trying to connect...

    ORA-12170 is one out of connection time.

    From there, we can draw some conclusions

    (1) your network service name WAS resolved to a connection string - left the tnsnames or a direct specifications.  We know because the request got fairly far from actually solved in a host address and an attempt was made to send the request to the specified host.

    (2) most likely, your application never made to the host.  He timed out waiting for a response from the host, he would have received if the request had never got there.  If the request had gotten to the listener, then failed for some reason, the error would be different.

    So, what does this leave us with?

    (1) the HOST = specification in your clien t tnsnames (or another method of specifying) is invalid, pointing to a non-existent host

    (2) there is a firewall blocking the transmission of your client to your HOST

  • Stop the connection timeouts occur - want the page wait

    I run several tab that monitor various tools. These pages will refresh. Pages must wait each other finish before you can start.

    In version 28 it was beautiful. The page just wait indefinitely and kicked in a previous page after doing its thing.

    Now in version 29 he comes back with a message "connection timed out" after a few minutes.

    I adjusted

    Network.http.connection - timeout
    Network.http.pipelining.Read - timeout

    for values but the problem still occurs. Any thoughts on how I can find the FF28 behavior?

    Try setting the http.response.timeout parameter. In the version 28, it had not been established. Version 29, it is located at 300 (5 minutes). Should help to move on to something much larger.

    See this blog entry:

    http://morgb.blogspot.com/2014/05/Firefox-29-and-HTTP-response-timeout.html

  • Connecting to a server 10 Linux window and window 7 causes a connection timeout

    I have configured a certain configuration of Linux server in network.

    10 and the window 7 window causes a connection timeout when connecting to these servers.

    I tried to connect these servers with Windows not as Android and Mac but also Windows XP system and I connect to these server just fine so I don't think it's a firewall issue.

    I have also connected to these servers very well in the past with window 10 and Windows 7 so I think that the issue is a recent update of security Windows.

    Then I tried these problems myself but have no chance to find a solution

    I can also give you site to see the problem www.ozanet.com

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • At the start of the ODC: error 20036: Description of error: ORA-06413: connection not open

    Hi all

    I am new to Oracle Document Capture. I installed ODDC on my windows 7 machine and launching that I gave a few local DB references. Since then, I'm not able to open Capture of Document Oracle and I'm not able to change any installation. I am still getting error below and when you click on OK the window closes. I couldn't find any place where I can change this configuration.

    Failed to connect.

    Error number: 20036

    Error description: [the following error occurred connecting to the database:]

    Error number: 20036

    Error description: the following error occurred connecting to the database:

    Error ID: 16389

    Description of error: ORA-06413: connection not open.

    ]

    I tried to uninstall ODC, deletion of data program for the Capture of Document Oracle and re-installed. Still the same error.

    Can someone help me please. I am completely struck with it.

    Thank you

    UMA.

    Problem solved after the installation of the 32-bit oracle client and the ODAC.

    Thank you

Maybe you are looking for