ORA-12154 in oracle 11g r2

Hi all

After installing oracle 11 g r2 and configuration I want connect my forms and the relationship with my oracle database 12 c

After copy file tnsname.ora of

C:\app\hasnaa\product\12.1.0\dbhome_1\NETWORK\ADMIN

TO

C:\Oracle\Middleware\asinst_1\config

I'm trying to login by username hr forms and pass hr

get this error:


ORA-12154: TNS: could not resolve the connect identifier specified



It's my tnsname file:


tnsnames.ora # Network Configuration file: C:\app\hasnaa\product\12.1.0\dbhome_1\network\admin\tnsnames.ora

# Generated by Oracle configuration tools.

LISTENER_ORCL =

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

ORACLR_CONNECTION_DATA =

(DESCRIPTION =

(ADDRESS_LIST =

(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

)

(CONNECT_DATA =

(SID = CLRExtProc)

(PRESENTATION = RO)

)

)

ORCL =

(DESCRIPTION =

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

(CONNECT_DATA =

(SERVER = DEDICATED)

(SERVICE_NAME = orcl)

)

)

could someone help me?

When loged as username:HR

Pass: HR

DATABASE: PDBORCL

error 12154 appear

It's perfectly normal: what you type in the DATABASE is not the service or database name, but a tns alias in tnsnames.ora. If your tnsnames.ora is the one you posted, PDBORCL isn't there (see the description of the error in my post above).

Tags: Oracle Development

Similar Questions

  • Oracle Forms 11g - ORA-12154: TNS error

    Well, until I post my info, I searched and searched all over Google, OTN, Experts-Exchange, etc... to try and figure this one out and I am puzzled. So here goes. I get the dreaded ' * ORA-12154: TNS: could not resolve the connect identifier specified * "error. This is my environment:

    ----------------------------------------------------------------------------------------------
    Server: Red Hat Enterprise Linux 5 version performs the following:
    Oracle Database 11g (Rel 1): 11.2.0.10
    Oracle Fusion Middleware 11g (rel. 11.1.1.2.0) Forms Server

    I can connect via SQL + no problem
    ----------------------------------------------------------------------------------------------
    Client: My Windows XP Professional PC.

    I can't TNSPING the SID of the database, no problem.
    I can connect via SQL + no problem
    I can connect via TOAD to the db without problem
    I can connect to Oracle Enterprise Manager through the web interface, no problem

    I have 2 houses Oracle (Oracle 8.0.6, Oracle 11.1.0.1) on my PC. The current House is currently the 11g one. I have my background on my PC Setup very well.

    The problem is when I try to run an example of form through the web, I created, the login prompt appears and I get my name in username/password / database SID and it is, I get the error. Of the clues as to what I should look for? Ultimately it is an application that all users will access and they should not have to worry about anything whatsoever to have installed on their PC.

    Thank you

    Keep in mind that file tnsnames.ora forms 11g is under $ORACLE_INSTANCE/config

  • ORA-12154 with 11g and heterogeneous services

    Hello
    I have a procedure that bring data from a mysql on a service of HS server.
    In 10G has worked very well, but after I migrated to 11g, weird things happen.
    If I ran the procedure (or work that calls it) directly from sqlplus, it's fine, but if I schedule a task to run this procedure, he breaks up with: ORA-12154: TNS: could not resolve the connect identifier specified.
    It's like some environmental parameters or the rights are missing when this work is performed automatically.
    So what's changed in 11g?


    Any help is appreciated,
    Thank you

    ORA-12154: ALWAYS occurs only on SQL Client & not SQL * Net packets never leave client system
    ORA-12154 NEVER involves the listener, the database itself or whatever it is on the DB server.
    ORA-12154 occurs when the client wants to connect to a DB Server system by using a connection string.
    AMT-03505 is thrown by tnsping & is the same error ORA-12154 thrown by sqlplus or others.
    The find operation fails because the supplied name can NOT be resolved at any remote DB.
    The analogous operation would be when you wanted to call someone, but did not find their name in any directory.
    The most common cause for ORA-12154 error is when the connection alias cannot be found in tnsnames.ora.
    The research of the alias operation can have an impact on the content of the sqlnet.ora file. DOMAIN entry specifically.
    So after the content of the sqlnet.ora file.
    TROUBLESHOOTING GUIDE: ORA-12154 & TNS-12154 TNS: could not resolve service name [114085.1 ID]
    http://edstevensdba.WordPress.com/2011/02/26/ora-12154tns-03505/

  • ORA-12154: TNS: could not resolve the connect identifier specified in 11g R2

    Hello

    Recently we changed the name of our Linux server, after chanding hostname, I made changes in tnsnames.ora and listener.ora and also local_listener at the database level.

    When I am trying to connect database of his failure with the error.

    [orawiz@wizapp admin] $ sqlplus system/oracle@WIZ

    SQL * more: Production of release 11.2.0.1.0 LUN 20 16:57:58 Feb 2012

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

    ERROR:
    ORA-12154: TNS: could not resolve the connect identifier specified


    Here's my entires of tns.

    [orawiz@wizapp admin] $ cat tnsnames.ora
    tnsnames.ora # Network Configuration file: /wiz_app/wiz/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.

    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.172.20.236)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = wiz)
    )
    )

    #wiz = (DESCRIPTION =
    # (ADDRESS_LIST =
    # (ADDRESS = (PROTOCOL = TCP) (HOST = 10.172.20.236)(PORT = 1521))
    # (CONNECT_DATA =
    # (SERVER = DEDICATED)
    # (SERVICE_NAME = wiz)
    # )
    # )

    [orawiz@wizapp admin] $ cat listener.ora
    listener.ora # Network Configuration file: /wiz_app/wiz/oracle/product/11.2.0/db_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.

    WIZ =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.172.20.236)(PORT = 1521))
    )
    )

    #SID_LIST_LISTENER =
    # (SID_LIST =
    # (SID_DESC =
    # (SID_NAME = wiz)
    # (GLOBAL_DBNAME = wiz)
    # (ORACLE_HOME = wiz_app/wiz/oracle/product/11.2.0/db_1)
    # )
    # )


    ADR_BASE_LISTENER = / wiz_app/wiz/oracle

    [orawiz@wizapp admin] $ cat sqlnet.ora
    sqlnet.ora # Network Configuration file: /wiz_app/wiz/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora
    # Generated by Oracle configuration tools.

    NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT)

    ADR_BASE = / wiz_app/wiz/oracle


    tnsping also default.

    [orawiz@wizapp admin] tnsping wiz $

    AMT Ping utility for Linux: Version 11.2.0.1.0 - Production on 20 February 2012 17:03:16

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

    Use settings files:
    /wiz_app/Wiz/Oracle/product/11.2.0/Db_1/network/admin/SQLNET.ora

    AMT-03505: failed to resolve the name
    [orawiz@wizapp admin] $

    Nothing to with listener.ora file with ORA-12154.
    If the listener does not not or the status is not ready then it's listener.ora.

    Below add entries in your file tnsnames.ora and post $tnsping wiz

    WIZ =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 10.172.20.236)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = wiz.)
        )
      )
    

    Publish your file sqlnet.ora

    Published by: CKPT on 20 February 2012 17:28

  • Error: Unable to connect... SQLState = 08004... [Oracle] [ODBC] [Ora] ORA-12154:...

    Hi Experts/gurus,

    I am trying to create a new data source with Oracle 11 g driver with the details below:

    Name of the data source: PeopleSoft
    Description:
    The TNS Service name: HR91PEN
    User ID: sysadm
    Password: SysAdm1n

    When I click on connect Test I got this error below:

    Error:
    Unable to connect
    SQLState = 08004
    [Oracle] [ODBC] [Ora] ORA-12154: TNS: could not resolve the connect identifier specified

    Help, please.

    Thank you very much...
    JP

    Hello

    try to use the tnsping to see if you have the connection to the database of tehe.

    Let me know.

    Kind regards
    Gianluca

  • ORA-12154 as user oracle, Pentecost root account, it works very well

    Hello

    I have a problem with a client installation, if I try to connect to the database. I have the following configuration:

    1 database: running on an Ubuntu Jeos VM, Oracle 11 g (11.1.0.6.0 version 64 bit)
    2. customer: running on a CentOS 5.2 VM, Oracle 10 g Linux 32-bit Client

    I have configured the tnsnames.ora and stored in the directory of $ORACLE_HOME/network/admin. The content of the tnsnames.ora file is the following:
    ORCL64 = (Description = (ADDRESS_LIST = (Address = (Protocol = TCP)(host=192.168.12.128) (port = 1521))) (CONNECT_DATA = (SID = ORCL)))

    If I try to connect to the database as the user oracle with the following command sqlplus SYS@ORCL64 AS SYSDBA, I will get the ORA-12154 TNS: could not resolve the connect identifier specified error message. If I try the same as the root user, it works fine and I can make the connection. I have the same result if I try the command tnsping ORCL64. As user root the tnsnames adapter can resolve the alias, as the oracle user this appears not possible and I will get the error message: TNS-03505: failed to resolve the name. In both it uses the setting from the file u01/app/oracle/network/admin/sqlnet.ora. The content of the sqlnet.ora file is the following:
    NAMES of . DIRECTORY_PATH = (TNSNAMES, EZCONNECT).

    Do you have any suggestions how can I solve this problem of having a connection with the oracle user.
    Thanks in advance
    Sven

    user10252169 wrote:
    Hello

    Thanks for your replies. On the CentOS machine, where the client is installed, there is no directory $ORACLE_HOME/bin/oracle and $ORACLE_HOME/bin/lsnrctl. The output of the $ORACLE_HOME/network/admin / * ora is:

    -rw - r - 1 oracle oinstall 171 28. Apr 21:25 /u01/app/oracle/network/admin/sqlnet.ora
    WX - 1 root root 118 5. May 11:33 /u01/app/oracle/network/admin/tnsnames.ora

    The 'client' reads the tnsnames.ora to determine where the database. Looking at t he above, you have a configuration in which the user name only client able to read the tnsnames.ora is the root user. Which means that you have run the netca or netmgr as root.

    Change the tnsnames.ora to provide the appropriate, perms and then try again.

  • ORA-12154 for sqlplus username/password@TNS but tns ping works and sqlplus username@TNS works.

    Hello-

    I am facing the following question when I try to connect by using the command prompt sqlplus for Oracle 11.2.0.3 DB installed and running on HP - UX.

    The password is not all special characters & I also tried with the double quotes which did not work.

    Following want to work with username/password@TNSNAME because I'm trying to get my application to connect to the database, the schema mentioned because it uses the jdbc connection with the connection as (username/password@TNS:1521) string.

    C:\Users>sqlplus username/Pa55w0rd@DBNAME;
    
    
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Feb 10 07:21:43 2016
    
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    
    
    
    
    Enter user-name:
    C:\Users>tnsping DBNAME
    
    
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 10-FEB-2
    016 07:21:57
    
    
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    
    
    Used parameter files:
    C:\app\product\11.2.0\client_2\network\admin\sqlnet.ora
    
    
    
    
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = server.domain) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = DBNAME)))
    OK (50 msec)
    
    
    C:\Users>sqlplus username@DBNAME
    
    
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Feb 10 07:22:05 2016
    
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    
    Enter password:
    
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options
    
    
    SQL> show user
    USER is "username"
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64
    bit Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options
    
    
    C:\Users>
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    content content of tnsnames.ora & sqlnet.ora:

    DBNAME =
    (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP) (HOST = server.domain)  (PORT = 1521))
        (CONNECT_DATA =
            (SERVER = DEDICATED)
            (SERVICE_NAME = DBNAME)
        )
    )
    

    # sqlnet.ora Network Configuration File: C:\app\product\11.2.0\client_2\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    
    
    # This file is actually generated by netca. But if customers choose to 
    # install "Software Only", this file wont exist and without the native 
    # authentication, they will not be able to connect to the database on NT.
    
    
    #SQLNET.AUTHENTICATION_SERVICES= (NTS)
    
    
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    
    
    
    
    
    
    
    

    Thanks in advance

    Hello

    sqlplus username/Pa55w0rd@DBNAME;

    Try it without the semicolon;

    sqlplus username/Pa55w0rd@DBNAME

    Regards Thomas

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

  • OBIEE 11 g, ORA-12154: TNS: could not resolve the connect identifier

    HI forumer,

    I installed obiee 11g and I am trying to connect to oracle 11 g db installed on the same machine. I am able to create the DSN using the tnsnames.ora, but the same details used with obiee work not and fails with:

    ORA-12154: TNS: could not resolve the connect identifier

    Appreciate any help in this.

    Thank you

    This is a change in behavior when we have 10g and 11g. In BI EE 10 g, there was no Oracle Client delivered with BI EE. Thus, BI EE will use your Oracle DB client host to connect to the database. Usually not a problem in this case. But in BI EE 11 g, the software itself contains a client of 11.2 DB. Thus, when you try to connect to the database using the repository or the BI server, it will try to find the tnsnames entry in the customer Oracle of BI EE 11 g instead of your database. There are 2 options to work around this problem

    1. copy your tnsnames.ora {Oracle_BI1} \network\admin directory & {oracle_common} \network\admin directory (only the first is necessary because it is the ORACLE_HOME)

    2. or instead of the source tnsnames.ora entry, use the full expanded tnsnames as shown below

    (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = 172.16.66.173)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = orcl)))

    Both of the above will work.

    Ref: Re: unable to connect to the database of the OBIEE 11g improved SPR
    Courtesy of - Vincent.

    Thank you
    Oldia...

  • ORA-12154 trying DB link

    Hello

    I hit ORA-12154 tries to use a DB link. However, I am able to connect to the target DB through a client.
    select * from user_tables@tnsentry;
    ORA-12154: TNS:could not resolve the connect identifier specified
    
    sqlplus user/pwd@tnsentry;
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL>
    If anyone can help.

    Thank you
    CJM

    user13102515 wrote:
    Chinar,

    Sorry to bug you like this.

    Why can't hang in the database with a DB link when I can log the same database by using a client? And I thought that the tnsnames.ora on the client computer has been making analyzed to extract the server connection details.

    I have a couple of queries. I would really appreciate if you could answer or point me to a link that explains this:

    (1) the names of descriptor connect in tnsnames.ora on the client and server must always match? -(Je pensais qu'ils didn't doit).
    (2) most of the databases that I use the same request to connect to the server and the client, descriptor names. I tried to change, and I was hitting ORA-12154 more time, but not always. Why this behavior a bit?

    Thank you
    CJM

    When you use a db_link, the database in which the link is defined and referenced acts as a client to the target of the link. That is why the machine hosting the source of the link must now be considered the client computer, insofar as this db link is concerned.

  • Another Post on 'could not resolve identifier' ORA-12154

    Hi experts,

    A new installation of 11g and I CAN connect to the database via SQLPlus but I get ORA-12154 error when you try to connect through RMAN.

    I used the EZCONNECT parameter in netca

    SQLNET. ORA NAMES_DIRECTORY_PATH a = (EZCONNECT)


    Any ideas for what I can check, please?

    Thank you, John

    user629010 wrote:
    Hi experts,

    A new installation of 11g and I CAN connect to the database via SQLPlus but I get ORA-12154 error when you try to connect through RMAN.

    I used the EZCONNECT parameter in netca

    SQLNET. ORA NAMES_DIRECTORY_PATH a = (EZCONNECT)

    Any ideas for what I can check, please?

    Thank you, John

    The connection string, you really used to connect knowing would have been helpful...

    =================================
    ORA-12154: TNS: could not resolve the connect identifier specified

    This error means one thing and one thing only. The customer couldn't find the entry specified in the tnsnames.ora file being used.

    Following this statement, remember that when you use a dblink, the database that defines the link acts as a client to the database that is the target of the link. So in this case, the tnsnames.ora on the host of your source file must have an entry for your db target, as defined in the db_link.

    And for the umpteenth time... This error has NOTHING to do with the status of a listener. The connection request never got far enough to reach a listener. If someone tells you to check a listener in response to ora-12154, they do not pay attention, or do not understand how works the TNS. This error is equivalent to not be able to place a phone call because you do not know the number of the part you want to reach. You would not debug this situation by going to the home of the other guy and test his phone, or by accessing the phone company and the standard test. And you are debugging an ORA-12154 by checking the listener. If I had a list of ten albums of 'Incredibly Simple Concepts (tm)' which must be burned in the brain of anyone claiming to be an Oracle DBA, it would include "ORA-12154 has nothing to do with the listener.

    =================================

    Suppose you have the following in your tnsnames.ora:

    larry =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
        )
        (CONNECT_DATA =
          (SERVICE_NAME = curley)
        )
      )
    

    Now, when you issue a connect, say like this:

    $> sqlplus scott/tiger@larry
    

    TNS will appear in your tnsnames.ora for an entry called "larry". Then, tns sends a request to (PORT = 1521) on (HOST = myhost) to aid (PROTOCOL = TCP), requesting a connection to (SERVICE_NAME = curley).

    Where's (HOST = myhost) on the network? When the request is passed to tns to the next layer in the network stack, the name "myhost" resolves to an IP address, either via a file 'hosts' local, through DNS, or possibly other mechanisms being used less. Alternatively, you can hard-code the IP (HOST = 123.456.789.101) in the tnsnames.ora.

    Then, the request arrives at port 1521 myhost. If all goes well, there is a listener on myhost configured to listen on port 1521, and this listener knows SERVICE_NAME = curley. If so, you'll be connected.

    A few important points.

    First, the listener is a process only server-side . It's all in life seeks applications for reception for connections to the databases and set up these connections. Once the connection is established, the listener is out of the picture. It creates the connection. Is not maintain the connection. A listener, linking an oracle of the House, listening on a single port, use multiple instances of database in several versions of several houses. It is unnecessary complexity to try to have several headphones. It's like the telephone company, to build a separate table for each customer.

    Secondly, the tnsnames.ora file is a problem on the client side . Its purpose is to address resolution - the equivalent of the 'hosts' file tns further to the bottom of the network stack. The only reason it exists on a host computer is because this machine also can run client processes.

    What can go wrong?

    First, there may not be an entry for 'larry' in your tnsnames file. In this case, you get "ORA-12154: TNS: could not resolve the connect identifier specified" no need to go looking for a problem on the host, with the listener, etc.. If you cannot place a phone call because you do not know the number (cannot find your phonebook (tnsnames.ora) or can not find the party looking for listed in it (no entry for larry)) you don't look at problems at the switchboard.

    Perhaps the entry for larry was found, but myhost could not be resolved to an IP address (for example there is no entry for myhost in the local hosts file). This will mean by "ORA-12545: Connect failed because target host or object does not exist.

    Maybe there is an entry for MyServer in the local hosts file, but it specified a bad IP address. This will mean by "ORA-12545: Connect failed because target host or object does not exist.

    Maybe the INVESTIGATION period was good, but there is no listener running: "ORA-12541: TNS:no listener.

    Maybe the INVESTIGATION period was good, there is a listener to myhost, but he is listening on a different port. "ORA-12560: TNS:protocol adapter error.

    Maybe the INVESTIGATION period was good, there is a listener to myhost, listening on the specified port, it's unknown SERVICE_NAME = curley. "ORA-12514: TNS:listener is not currently of service requested in connect descriptor.

  • ORA-12154 tns could not resolve the specified correct identifier

    I am facing the following problem:

    labVIEW 2012 32 bits 64 bits of Windows 7, 10.2.0.1.0 oracle client (32-bit).

    I created a DSN from Data Sources (ODBC) (32-bit version of what in % windir%\syswow64\odbcad32.exe) pointing to an instance of Oracle 10 g.

    I have test the DSN in this way (IE. Data sources (ODBC) and the connection is successful (which means that the tnsnames.ora is correct).

    I use the "DB tools Open Connection.vi" in order to get connected to this database, passing as parameters the DSN above, the user name and password.

    I get the error:

    ADO error: 0x80040E4D
    Exception occurred in the Microsoft OLE DB provider for ODBC drivers:

    [Oracle] [ODBC] [Ora] ORA-12154: TNS could not resolve the specified correct identifier

    all will help much appreciated

    Thanks in advance

    Hello everyone.

    I already solved the problem (work until late Saturday).

    the solution was to install the latest version of the Oracle customer, namely: Oracle 11 g Release 2 CLIENT for Windows 32 (11.2.0.1.0).

    Now everything works OK.

    I also tested in Windows 7 32 bit (the .vi even and the same Oracle client). This will also OK.

    Thans a lot.

  • How to overcome ORA-12154 on afdbprf.sh and adcrobj.sh in Autoconfig

    I'm cloning a database uses the same set of scripts I used for two years without problems.  This, however, when I ran adcfgclone.pl dbconfig it failed during the automatic configuration.  The error is Autoconfig 2 status while the detail in the paper shows ORA-12154.

    I put the code in the templates afdbprf.sh and adcrobj.sh at the exit of the connection, connection and env, which look all right.  I can use this same set up the environment to run the sql code requested in these shell scripts and it connects fine.  This left me in the lurch because why this behavior in adconfig.

    I'm under EBS 12.1.3 on RDBMS Oracle Linux 11.2.0.3.  I created an SR that has proved so far a vain effort as the first, I was told to use a different document because I am on EBS 11.5.9, that I had to correct them, and then I was told to apply 7 different patches and let them know when I did when 4 of these patches have for database 12 c 1 was a fix for what one of the hotfixes 12 c breaks, another was for CARS and we are autonomous, and the last was a component of specific applications difficulty when our question database layer.  In other words, none of them applied, and despite sending newspapers, there is no indication that the analyst tried to identify the problem yet.

    I hope that the community here may be able to give assistance to help me go beyond this issue, or at least still identifying a root ask so I can find a solution.

    I will close this thread claiming that rename the ifile so that custom parameters are eliminated, and their restaurant then at the end the clone was the solution.  It takes a client specific configuration so autoconfig works with generic parameter sets, he expects.  The ifile can be renamed after the clone so they can be used by the finished system.

  • sqlplus ORA-12154: TNS: could not resolve the connect identifier specified

    Hello

    I am not able to connect to the database using sqlplus, using following command:

    sqlplus activites@OCA010

    I get the error message "ORA-12154: TNS: could not resolve the connect identifier specified.

    I tried to connect by providing the full as connection string: "" sqlplus activities / [email protected]:1521 / compix "and he succeeded."

    I also tried to connect using sql developer by providing network TNS alias 'OCA010' it is also successful.

    Someone could please help out here and let me know how can I connect using sqlplus using aliases TNS network.

    content of the tnsnames.ora file is as follows

    tnsnames.ora # Network Configuration file: D:\Oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora

    # Generated by Oracle configuration tools.

    COMPIX =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = LUCKY-HP)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = compix)

    )

    )

    BC =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = LUCKY-HP)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = BC)

    )

    )

    ORACLR_CONNECTION_DATA =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    )

    (CONNECT_DATA =

    (SID = CLRExtProc)

    (PRESENTATION = RO)

    )

    )

    OCA01 =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = LUCKY-HP)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = OCA01)

    )

    )

    OCA010 =

    (DESCRIPTION =

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

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = compix)

    )

    )

    Thanks in advance.

    2931143 wrote:

    Hi EdStevens,

    I used option TNS with Alias network as 'OCA010' in Sql Developer.

    I checked in tnsping and tnsnames.ora directory is correct.

    Please find below the exit of tnsping:

    C:\Users\LUCKY>tnsping OCA010

    AMT Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on October 29, 2015 21:07:38

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

    Use settings files:

    D:\Oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\sqlnet.ora

    AMT-03505: failed to resolve the name

    Have you worked from the link I provided?  (I don't think you have time to do).

    It is possible that your tnsnames.ora is corrupted by some weird characters printable somewhere.  In some versions of the oracle, he might be sensitive to spaces vs. tabs.  If in doubt, netca to add entries, rather than doing it by hand.

  • I get an ORA-12514 in Oracle 12 c when restart Windows 2012

    Hi Mr President:

    I just installed Oracle 12 c in a 2012 Widnows Server. Sometimes, I get the famous ORA-12154 error - tns could not resolve the connect identifier specified. the problems occurs in two different servers. I think the problem is when I reboot the server, Oracle has a problem with the identifier name or database server / IP resolution.

    I fix"Database Management Wizard" running Oracle. When I run this application, the database comes to life. Can you explain to me what is happening? How can I fix or put in place to solve the problem?

    Thanks in advance.

    Guillermo

    you need the administration for windows, not the dbca assistant

    This will give you the options to start automatically to your windows startup oracle

    Set the nt service starts automatically and also the oracle instance

    This should resolve the startup problem

    provide your listener will also start automatically...

    You can set to auto in services.msc

Maybe you are looking for

  • How can I FF stop asking to save my password

    I want him to stop asking me to save my password. I have never save and never will.

  • The media controls on my Satellite 2450 S203 do not work

    Hello On my Toshiba Satellite S2450 S203 media controls do not work you had no idea what's wrong?

  • Satellite A200-1 to 9 - not possible to read the 2 GB SD card

    Hi all I have a new laptop Satellite A200 from 1 to 9 on Vista premium, with a multicard reader. I am using a 2 GB SD card, which, according to the user's guide, must be supported. However, when I put in, it is not upward on explore, even if the comp

  • How many counters should I use at the same time?

    I have the cDAQ-9172 and 9411. There is the specification of 9411, 6DI 9411 channels. The NOR-DAQmx help tell Note  Terminal PFI are available when the unit is installed in the location of a chassis OR cDAQ-9172 or Groove 5 6. So, I don't know if thi

  • Loss of connection WRT310N

    I have a WRT310N.  Every two days the router stops working.  Lights all blinking as they should, but nothing seems able to connect, for example, the computers connected wire and wireless nor can see each other or the internet (via cable modem).  If I