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

Tags: Database

Similar Questions

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

    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

  • 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

  • Test failed: listener refused the connection with the following error: ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    Hello

    I was trying to set up a database connection in Oracle developer j 12 c.

    It's showing this exception.

    I m in this news. Could someone help me pls to solve this issue.

    I have attached the screen for reference.

    https://www.dropbox.com/SC/ua5a92q6kwwflui/wiuCXO_gaG

    Thank you

    Lax

    Database, you are trying to connect is ORCL? If Yes, then you suggest that you write ORCL in the dialog box where you are supposed to write the instance that is directed by the attachment instead of XE what we ORCL

  • manage the runtime error 1000: server lost connection/file not found

    I have a videoDisplay object that throws an error file not found on the server running, even if it is there. Sometimes it works, sometimes it throws the error and the program cannot recover from the error, so after that the error is thrown, the object is stuck until the refill. I've seen examples of using the NetStream class to load the file before playing and also the class NetConnection.

    What is your preferred method for the two video load, assuming that the user will change the video source several times during the session and management research of server errors?

    Yes, you'd know that if you're using FMS.
    If you use a var can be linked to the source of the string, this is the first place I'd watch. You can try a stripped down from the sample application with no link? Just change the source of a button click and see if the server generates the error... I bet it won't

  • 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-12537: TNS:connection closed

    Hello

    Please help me solve this problem: when I try to access my testdb, I get the following error:

    [oracle@RedHatU5 admin] $ sqlplus adi/adi@testdb

    SQL * more: version 11.1.0.6.0 - Production on Mon Mar 21 13:40:28 2011

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

    ERROR:
    ORA-12537: TNS:connection closed

    Please find below some symptoms:

    I created the following files manually in $ORACLe_HOME/network/admin, as below:

    #sqlnet.ora #.

    NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT)
    + #SQLNET.expire_time = 0 +.
    + #TCP.validnode_checking = YES +.
    TCP.invited_nodes = (x.x.x.x)

    #tnsnames.ora #.

    brmtest =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (Host = RedHatU5)(Port = 1521))
    )
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = testdb)
    )
    )

    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1)))
    (CONNECT_DATA =
    (SID = TestDB)))


    Default listener works correctly:

    [oracle@RedHatU5 admin] $ lsnrctl status

    LSNRCTL for Linux: Version 11.1.0.6.0 - Production on March 21, 2011 13:26:40

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

    Connection to (ADDRESS = (PROTOCOL = tcp)(HOST=) (PORT = 1521))
    STATUS of the LISTENER
    ------------------------
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.1.0.6.0 - Production
    Beginning of March 21, 2011 12:59:07
    Uptime 0 days 0 h 27 min 33 sec
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    The listener log file /Orabrm/app/Oracle/diag/tnslsnr/RedHatU5/listener/alert/log.XML
    Summary of endpoints listening...
    + (Description = (Address = (Protocol = TCP)(Host=RedHatU5) (port = 1521))) +.
    + (Description = (Address = (Protocol = IPC) (Key = EXTPROC))) +.
    Summary of services...
    Service 'PLSExtProc' has 1 instance (s).
    Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...
    "Testdb" service has 2 occurrences.
    Instance "testdb", status UNKNOWN, has 1 operation for this service...
    Instance "testdb", State LOAN, has 1 operation for this service...
    Service 'testdbXDB' has 1 instance (s).
    Instance "testdb", State LOAN, has 1 operation for this service...
    Service 'testdb_XPT' has 1 instance (s).
    Instance "testdb", State LOAN, has 1 operation for this service...
    The command completed successfully

    [oracle@RedHatU5 admin] $ tnsping testdb

    AMT Ping utility for Linux: Version 11.1.0.6.0 - Production on March 21, 2011 13:34:09

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

    Use settings files:
    +/orabrm/app/Oracle/product/11.1.0/Db_1/network/admin/SQLNET.ora+


    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (Host = RedHatU5)(Port = 1521))) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = testdb)))
    OK (0 msec)

    [oracle@RedHatU5 admin] $ sqlplus adi/adi@//RedHatU5:1521/testdb

    SQL * more: version 11.1.0.6.0 - Production on Mon Mar 21 13:35:49 2011

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

    ERROR:
    ORA-12537: TNS:connection closed

    SQL > connect adi@testdb
    Enter the password:
    ERROR:
    ORA-12537: TNS:connection closed



    WARNING: You are more connected to ORACLE.

    Please help me understand what's wrong in my setup

    Thank you
    Adrian

    Published by: user12908554 on March 21, 2011 04:56

    Refer to this note

    http://forums.Oracle.com/forums/thread.jspa?threadID=1002617

  • Listener to refuse the connection with the following error ORA-12505

    Hi everyone, Am really new to the oracle database, I work on my school project work and am stuck in the middle of this error (listener refused the connection with the following error ORA-12505).

    I started the time serveral listener and it is said that 'no service supported by the LISTENER', I can't access the database via sqldeveloper including trows on the same error (listener refused the connection with the following error ORA-12505, TNS:Listener currently know of SID given in connect descriptor.) In addition, my em show red arrow down to the listener. Here are my coordinates hard & software.


    Oracle 11.1.0
    OS: Red Hat Enterprise Linux 4 (running the operating system through Vmware workstation)
    TNSNAME. ORA

    LISTENER2 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    ((ADDRESS = (PROTOCOL = TCP (PORT = 1522))(HOST=localhost.localdomain))
    )
    )

    AUDITEUR1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1523))
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1521))




    Listner, ora




    LISTNER_ORCL
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1523))
    (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1521))
    )

    IMT_ADMI =
    (= DESRIPTION
    (PORT = 1522))
    (ADDRESS = (PROTOCOL = TCP (PORT = 1522))(HOST=localhost.localdomain))
    (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1523))
    (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1521))

    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = imt_admin
    )
    )

    LISTENER_IMTADMIN =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP (PORT = 1522))(HOST=localhost.localdomain))
    (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1523))
    (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1521))

    )

    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1523))
    (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1521))

    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)

    I read on some forums that I need to edit somethings that am not sure cos I don't want to mess with the database, I need help on what to.
    Thanks for the help in advance.

    (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1521))

    Try to edit listener.ora by:
    (ADDRESS = (PROTOCOL = TCP) (HOST = HOST_NAME_OF_YOUR_DATABASE_MACHINE/OR TRY USING THE IP ADDRESS OF THE DATABASE SERVER MACHINE)(PORT=1521))
    Just try to edit HOST = value line above. You must use HOST_NAME_OF_YOUR_DATABASE_MACHINE or IP OF the DATABASE SERVER MACHINE.

    Host name can be obtained by the hostname command on the database server.

    With localhost, no one can connect to the database remotely.

    Concerning
    Girish Sharma

    Published by: Girish Sharma January 11, 2013 18:26

    then after the output of commands below:
    lsnrctl stop
    lsnrctl start
    Wait 60 seconds...
    ORACLE_SID =
    sqlplus scott/tiger@tnsname

    Show us what is happening now.

  • Listener refused the connection with the following error: ORA-12505

    Hello
    Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor used by the client was: 127.0.0.1:1521:XE 
    Windows XP + Oracle 10.1.0.20

    I checked my *.ora files and found the host 127.0.0.1 but I noticed by running the netstat command on prompt back most of my ports is captured by www.360.cn including 1521

    When I try to stop the following message is displayed:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exists
    Thank you and best regards

    Hello

    [oracle@myoramachine ~]$ oerr ora 12505
    12505, 00000, "TNS:listener does not currently know of SID given in connect descriptor"
    // *Cause:  The listener received a request to establish a connection to a
    // database or other service. The connect descriptor received by the listener
    // specified a SID for an instance (usually a database instance) that either
    // has not yet dynamically registered with the listener or has not been
    // statically configured for the listener. This may be a temporary condition
    // such as after the listener has started, but before the database instance
    // has registered with the listener.
    // *Action:
    //  - Wait a moment and try to connect a second time.
    //  - Check which instances are currently known by the listener by executing:
    //    lsnrctl services 
    //  - Check that the SID parameter in the connect descriptor specifies
    //    an instance known by the listener.
    //  - Check for an event in the listener.log file.
    [oracle@myoramachine ~]$
    

    1. check the lsnrctl services

    2 check the tnsping output:

    tnsping MYORACLE

    3. check the connectivity to the computer hosting your Oracle server to the port (I guess 1521):

    Telnet 1521

    4. in case you are not able to connect to the Oracle Server - I investigate it in several directions:

    -problem of network infrastructure

    -some process disturbing / virus on the server Oracle itself

    -firewall problem

    Good luck!

    ---------------------------------
    http://DBA-star.blogspot.com/

  • error ORA-12154 tns

    I gave my hours 7, no way... the database 11g EM works without any problem... but the CMD menu when I try to connect to sqlplus, no link... I get the classic error ora-12154 tns... I also have Developer oracle adapt in my pc. both work without a problem, I mean database and oracle dev suit work well. no connection problem.but I told you with the sqlplus I problem. no connection. I deleted listener add meaning new one .no... the problem is that I haven't studied with oracle recently, I'm very rusty even though I am a certified dba 10 g, I forgot many things... pls help me friends... What can I do to fix this? I stop my firewall on windows... had not led at all... and also to restart all the services of ora... does not effect... and yet one thing when I checked the ora of the listener, tnsnames etc. I realized I have several listeners and sqlnet files this weird extensions such as listener11122712AM2407.ora and sqlnet11122712AM2407... pls help
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Listener.ora

    listener.ora # Network Configuration file: C:\app\ada\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\app\ada\product\11.2.0\dbhome_1)
    (= Extproc PROGRAM)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\app\ada\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = ada - PC) (PORT = 1521))
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    )
    )

    ADR_BASE_LISTENER = C:\app\ada

    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    SQLNet



    # This file is actually generated by netca. But if customers can opt for
    # install 'Software Only', this file does not exist and without the native
    authentication #, they will not be able to connect to the database on NT.

    SQLNET. AUTHENTICATION_SERVICES = (NTS)
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    tnsnames


    tnsnames.ora # Network Configuration file: C:\app\ada\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.

    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    )
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    )
    )
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    When I posted my first response, I guess you are trying to connect to your database that is running on the same server, i.e. locally. So I wanted to make sure DOB connections are ok. But appearantly not. You get the ORA-12560 error when "/ as sysdba".

    To do so below if my hypothesis is correct:

    1. go to the command prompt
    2. set the ORACLE_HOME =
    3. set ORACLE_SID =
    4. set the path ="/ bin"
    5 sqlplus "/ as sysdba".
    If it works, output
    6. now try sqlplus .

    Paste the result.

  • ERROR - ORA-12514: TNS:listener does not know now of immediate service

    Hi all
    Is the problem that I do face when I access oracle 10g database.it was wrking fine a few days back then I installed the developer 10g suite.after I am facing the problem (ERROR - ORA-12514: TNS:listener does not know currently of service requested in connect descriptor) every time I try and access my database.any 10 g help will be very appreciated.
    Thanks in advance
    Mourad

    Hello

    Make sure that you use right tnsnames.ora as you have it installled oracle developer suite after installation of the database so it could change your ORACLE_HOME as a result of developer. You have 2 choices

    1. replace oracle_home installation of oracle database in the variables env control panel system
    or
    1 copy the tnsnames.ora, listener.ora under Developer suite... location/networ/admin.

    If you are using on your local computer, you do not have this and you should be able to connect but if you use it is not bad either.

    Output from the following command post

    lsnrctl status
    

    Concerning

  • When I try to connect from the client to the RAC by using the SCANNER, I get ERROR: ORA-12541: TNS: no listenerOracle

    CARS: 2 nodes with Oracle single Client Access name (SCAN)

    OS: OEL 5.4 64-bit

    Version: 11.2.0.3

    When I try to connect from the client to the RAC by using the SCANNER, I get ERROR: ORA-12541: TNS: no listenerOracle. I noticed that the service is in place and properly configured (client tnsnames).

    servicioBD = (DESCRIPTION = (LOAD_BALANCE = yes) (ADDRESS = (PROTOCOL = TCP)(HOST = scanvip.domain1.local) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = serviceBD) (FAILOVER_MODE = (TYPE = SΘLECTIONNER) (METHOD = BASIC) (RETRIES = 180) (DELAY = 5))))

    serviceBD service

    SQL > select name, failover_method, failover_type, failover_retries, goal, clb_goal, aq_ha_notifications from dba_services where service_id = 3;

    METHOD NAME TYPE PURPOSE CLB_GOAL AQNOT ATTEMPTS

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

    serviceBD BASIC SELECT 180 NO LONG YES

    But when I do not use the service created for the tnsnames file SCAN, it's that if I directly put tnsnames to connect to any work of two nodes very well.

    Node 1

    servicioBD =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.210.2.10)(PORT = 1521))

    )

    (CONNECT_DATA =

    (SERVICE_NAME = orcl)

    )

    )

    Or

    Node 1

    servicioBD =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.210.2.11)(PORT = 1521))

    )

    (CONNECT_DATA =

    (SERVICE_NAME = orcl)

    )

    )

    I have also observed the following (cluvfy).

    1 all LISTENER_SCAN running node 1

    2 there is no TCP connectivity

    3 the error message is obtained PRVF-5713

    [grid@rac1 ~] comp cluvfy $ scan - verbose

    Check scan

    Checking the single Client access name (SCAN)...

    ANALYZE the running node name?      ListenerName Port running?

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

    scanvip.Domain1.local 1521 LISTENER_SCAN1 true true rac1

    scanvip.Domain1.local 1521 LISTENER_SCAN2 true true rac1

    scanvip.Domain1.local 1521 LISTENER_SCAN3 true true rac1

    Checking TCP connectivity to ANALYZE listeners...

    Node of ListenerName TCP connectivity?

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

    RAC1 LISTENER_SCAN1 no

    RAC1 LISTENER_SCAN2 no

    RAC1 LISTENER_SCAN3 no

    PRVF-5713: command "/u01/app/11.2.0/grid/bin/tnsping" (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=10.210.2.17) (PORT = 1521)))'"running on the node"rac1"produces no output no output.

    PRVF-5713: command "/u01/app/11.2.0/grid/bin/tnsping" (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=10.210.2.19) (PORT = 1521)))'"running on the node"rac1"produces no output no output.

    PRVF-5713: command "/u01/app/11.2.0/grid/bin/tnsping" (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=10.210.2.18) (PORT = 1521)))'"running on the node"rac1"produces no output no output.

    Check the resolution settings of name to 'scanvip.domain1.local '...

    SCAN the IP address status comment name

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

    scanvip.Domain1.local 10.210.2.18 spent

    scanvip.Domain1.local 10.210.2.19 spent

    scanvip.Domain1.local 10.210.2.17 spent

    Verification of the installation program ANALYZES VIP and the listener has failed

    The analysis check failed on all specified nodes.

    Could someone help me please.

    The solution was to restart scan_listener.

    srvctl stop scan_listener

    srvctl start scan_listener

  • DB Link error: ORA-12154: TNS: could not resolve the connect identifier specified

    Hi all

    We need to make an entry in the tnsname.ora file in a local database to connect to the remote database using db link?

    Here is my code: -.

    create the database link * _DBLINK

    connect to the USER IDENTIFIED BY 'user '.

    using '(DESCRIPTION =)

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP) (HOST = *. *. *. *)(PORT = 1521))

    )

    (CONNECT_DATA = (SERVICE_NAME = REM)

    )';

    After the creation of the DB connection when I'm trying to run select 1 of dual@***_DBLINK

    He throws me an error ORA-12154: TNS: could not resolve the connect identifier specified

    Am I expected to do an entry in the file tnsname.ora for "REM". I don't remember making any changes in the file tnsname.ora for the creation and access of the remote database via dblink.

    Help, please.

    Thanks in advance.

    2925917 wrote:

    Hi all

    We need to make an entry in the tnsname.ora file in a local database to connect to the remote database using db link?

    Here is my code: -.

    create the database link * _DBLINK

    connect to the USER IDENTIFIED BY 'user '.

    using '(DESCRIPTION =)

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP) (HOST = *. *. *. *)(PORT = 1521))

    )

    (CONNECT_DATA = (SERVICE_NAME = REM)

    )';

    After the creation of the DB connection when I'm trying to run select 1 of dual@***_DBLINK

    He throws me an error ORA-12154: TNS: could not resolve the connect identifier specified

    Am I expected to do an entry in the file tnsname.ora for "REM". I don't remember making any changes in the file tnsname.ora for the creation and access of the remote database via dblink.

    Help, please.

    Thanks in advance.

    I've learned to trust in your obfuscation you covered something important, or you are showing some apples and oranges.  Error to declare you come from not being able to find referenced in tnsnames.ora entry, but the way you say you created your link db, you hardcoded the entire connection, so he never users tnsnames.ora.

    I would change the definition of db_link

    create the database link * _DBLINK

    connect to the USER IDENTIFIED BY 'user '.

    using "REM."

    Then create an entry in your tnsnames.ora

    REM =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP) (HOST = *. *. *. *)(PORT = 1521))

    )

    (CONNECT_DATA = (SERVICE_NAME = REM)

    )

    )

    Also, use server name instead of the HOST = IP address

    The closer looks that you can miss brackets final closing on your original definition.

Maybe you are looking for

  • Installed Adblock more get but still ads... What now?

    It is said that Adblock Plus has been installed correctly, but I still have a lot of ads. Very annoying - is considering the switch back to my previous browser as at least the adblock worked.

  • A program called research/WHAT took over the browser, and I don't know haw to get rid of it.

    On the symbol that is supposed to bring back me home, need me instead of http://searchqu.com/414. I still have my home page a 'white '. I changed it back empty several times and just changed it back to the thing as/search.

  • Turn off Photos launch when connecting iPhone

    Pictures launches whenever iphone is connected to my iMac. How to disable that? I have connect/disconnect several times a day.  Embarrassing.  If I want to use pictures, the icon is in my taskbar. I couldn't find the answer online, where my question

  • synchronize two number of cycles

    Hello world! I want to synchronize two number of cycles. I want two number of cycles to start the countdown together. I have two check County file VI, which was attached. I would like to ask if two ticks start at the same time counting. I thank in ad

  • I need pleassssssssssssssssssse emergency assistance!

    I have a laptop \dv3655ee\, but the internet adapter had a few bad advanced properties. This causes an interruption in Internet always. Please I need someone to help me with this problem. I have (R) \Intel AGN\ 5100 WiFi driver and also \Realtek RTL8