ORA-12154 as sysman

Try to install EM. It can not connect like sysman. When I try to sqlplus I get 12154, but if I log in as system or sys I can connect without problems. What would cause a user to obtain 12154? TNSNAMES. ORA is set corectly I guess because I can connect with sys and system

sqlplus sys@mbdb_tcp works fine

sqlplus system@mbdb_tcp works fine

sqlplus sysman@mbdb_tcp gets 12154.

Change the password and re sysman attempt. Please see the link below

ORA-12154: TNS: could not resolve the specified connection identifier (sqlplus)

Tags: Database

Similar Questions

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

  • 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

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

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

    Hello

    I installed Oracle 11 g server in Windows 2008 and also installed customer DB 64 & 32 on the same server client.

    When I try to test the Oracle DB connection using the UDL file, I get the error message below. Please could you help me solve this problem.

    -Microsoft Data Link Error.

    Test connection failed because of an error initializing provider.

    [DBNETLIB] [ConnectionOpen(connect()) (Connect()).]

    SQL Server is not, or access is denied.

    --------------------------- OK  ---------------------------

    I have connected to SQL using sysdba and tried to connect to the schema. It is not connection and throwing below error.

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

    I checked the TNSNAMES.ora file. Everything seems fine.

    Thank you

    Michel K

    Hello

    I see just a glance on the tnsnames file you are missing at least one sign =...

    You have

    ORCL

    (DESC...

    You should have

    ORCL =

    (DESC...

    There may be other issues too, but give that a try at first - you better run netmgr to allow oracle to create the file for you.

    See you soon,.

    Rich

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

  • "ORA-12154: TNS: could not resolve the connect identifier specified" error executing the execution in CAD Plan.

    Hi friends,

    We do face-down question when executing the execution Plan in DAC for full charge. We are working on the project of modernization of the OBI Applications and my client has worked on this environment is a few days. Before this, they load to the source 'EBSTST' instance and now changed data for instance 'EBSWKLY '. We have changed the details of connection under the tab 'Physical Data Sources' DAC. Test the connection Source and target are good. We have added input TNS of EBSWKLY in the path: u01/app/oracle/oracle11g/product/11.2.0/client_1/network/admin.

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

    Database driver error...

    Function name: connect

    [The database error: could not connect to the database using the [apps] user and the connection string [EBSWKLY].].

    Please suggest me if I m done mistake anywhere...

    Thanks in advance.

    Raghu Jen7782

    I was saying about the environment variables defined by you on the server of informatica/dac under the .profile or .bash_profile as below:

    TNS_ADMIN = $ORACLE_HOME/network/admin; Export TNS_ADMIN

    ORACLE_BASE = / home/oracle/app/oracle; export ORACLE_BASE

    ORACLE_HOME=$ORACLE_BASE/product/11.2.0/; Export ORACLE_HOME

    ORACLE_SID = InstanceName; export ORACLE_SID

    Path = $PATH: / usr/sbin: $ORACLE_HOME/bin. export PATH

    LD_LIBRARY_PATH=.:$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH

    CLASSPATH = $ORACLE_HOME/jlib: $ORACLE_HOME/rdbms/jlib. Export CLASSPATH

    Here are some examples I mentioned everything. You can set them in the user profile from which you installed the server informatica/dac.

    If it is a CAR Forum, try to set the value of the instance-specific SID for example: orcl11 or orcl12 or orcl13... try to connect to each instance. Sometimes the general SID does not recognize configuration

  • .Mdb MS Access using ODBC connection failed to resolve ORA-12154 connection identifier

    Dear all,

    I am using the MS Access file .mdb as the source of my request for OWB. I need to connect to the ms access .mdb file first using odbc. This is the step that I do:

    1. define the ODBC connectifity

    Control Panel-> admin tools-> data-> system-> add DSN sources

    Select Microsoft Access Driver (*.mdb)-> Finish

    Data source name: msaccess-> database: Select-> location of the file .mdb (C:\MSAccess\att2000.. (MDB)

    2 configure the listener

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = CLRExtProc)

    (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)

    (= Extproc PROGRAM)

    (ENVS = "EXTPROC_DLLS=ONLY:C:\app\Administrator\product\11.2.0\dbhome_1\bin\oraclr11.dll")

    )

    (SID_DESC =

    (SID_NAME = msaccess

    (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)

    (PROGRAM = hsodbc)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

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

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

    )

    (SID_DESC =

    (SID_NAME = msaccess

    (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)

    (PROGRAM = hsodbc)

    )

    )

    ADR_BASE_LISTENER = C:\app\Administrator

    3 Configure Oracle HS

    File name Initmsaccess.ora

    #

    # HS init parameters

    #

    HS_FDS_CONNECT_INFO = msaccess

    HS_FDS_TRACE_LEVEL = 1

    #

    # Required for the non-Oracle system environment variables

    #

    #set < varenv > = < value >

    4 edit tnsnames.ora

    Msaccess =

    (DESCRIPTION =

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

    (CONNECT_DATA =

    (SID = msaccess)

    (SERVICE_NAME = msaccess)

    )

    (HS = OK)

    )

    5. create the database link

    create the link msaccess database using "msaccess";

    6 execute a query to test the connection

    SQL > select * from departments@msaccess;

    ERROR on line 1:

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

    I check the AMT using msaccess tnsping, it returns

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhos)

    (t) (PORT = 1521)) (CONNECT_DATA = (SID = msaccess) (SERVICE_NAME = msaccess)) (HS = OK)( )

    OK (120 MS)

    Any body knows how to solve this problem?

    Best regards

    Akhmad H Gumas

    Akhmad,

    just to confirm that I understood:

    You have an Oracle database and the bridge installed on your machine. The database and the bridge are all part of this Oracle_Home: C:\app\Administrator\product\11.2.0\dbhome_1

    Fix?

    When you look at your listener.ora file it lack a right bracket:

    (SID_NAME = msaccess

    => should be (SID_NAME = msaccess)

    Once done, please STOP and START the listener.

    Then open a command line window and type:

    Set ORACLE_HOME=C:\app\Administrator\product\11.2.0\dbhome_1

    Status of C:\app\Administrator\product\11.2.0\dbhome_1\bin\lsnrctl

    C:\app\Administrator\product\11.2.0\dbhome_1\bin\dg4odbc

    C:\app\Administrator\product\11.2.0\dbhome_1\bin\tnsping msaccess

    And copy and paste the output of each command.

    -Klaus

  • ORA-12154 creating DSN

    Hi all

    I installed Oracle 11 GR 2 db of 64-bit windows 7 Professional.

    created a 'myorac' database during installation.

    I can connect to the DB by sqldeveloper and

    also by sqlplus.exe located in "xxxx\dbhome_1\BIN".

    I can also tnsping myorac

    To use Informatica, I installed Oracle 11 g client 32 to create the DSN, informatica customer being 32-bit.

    When I use sqlplus to the client located in scott/tiger@myorac and "xxxx\client_3."

    I get the error error like below

    SQL * more: Production version 11.2.0.1.0 Sun Jun 29 19:21:05 2014

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

    Enter the user name: scott/tiger@myorac

    ERROR:

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

    Enter the user name:

    How can I tell the customer to use my tnsnames.ora and listener.ora of 'xxxx\dbhome_1 '.

    I think it will solve the problem.

    What choices do I have?

    While waiting for a response with impatience.

    Thank you

    S

    TEC says:

    the 32-bit oracle11g I have downlaoded and installed customer has not created the

    network\admin records

    The listener/tnsnames/sqlnet files that all appear on the record of the server software

    Then create the directory and copy the tnsnames file. ORA on the other.

    Or investigate the use of the TNS ADMIN environment variable or registry setting.

  • Unable to solve the ORA-12154: TNS: could not resolve the connect identifier specified

    Hi friends,

    I'm unable to resolve ORA-12154: TNS: could not resolve the connect identifier specified, error:

    C:\Windows\System32 > sqlplus scott/tiger@ORADATA

    SQL * more: Production release 11.2.0.1.0 on Sun Feb 2 13:46:10 2014

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

    ERROR:

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

    SQL > select database_name from v$ database;

    DATABASE_NAME

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

    ORADATA

    SQL > select instance_name from v$ instance;

    INSTANCE_NAME

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

    oradata

    tnsnames.ora

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

    ORADATA =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP)(HOST=himanshu-PC) (PORT = 1521))

    )

    (CONNECT_DATA =

    (SERVICE_NAME = oradata)

    (SERVER = DEDICATED)

    )

    )

    Listener.ora

    =========

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = himanshu-PC)(PORT = 1521))

    )

    (DESCRIPTION =

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

    )

    )

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (GLOBAL_DBNAME = ORADATA)

    (ORACLE_HOME = G:\app\himanshu\product\11.2.0\dbhome_1)

    (SID_NAME = oradata)

    )

    )

    SQLNET.ora

    ========

    SQLNET. AUTHENTICATION_SERVICES = (NTS)

    C:\Windows\System32 > lsnrctl status

    LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on February 2, 2014 13:53:37

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

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = himanshu-PC)(PORT=1521)))

    STATUS of the LISTENER

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

    Alias LISTENER

    Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production

    Start date February 2, 2014 13:29:35

    Uptime 0 days 0 h 24 min 6 sec

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Listener parameter File G:\app\himanshu\product\11.2.0\dbhome_1\network\admin\listener.ora

    G:\app\himanshu\diag\tnslsnr\himanshu-PC\listener\alert\log.XML log listener

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = himanshu-PC)(PORT=1521)))

    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))

    Summary of services...

    Service 'ORADATA' has 2 occurrences.

    Instance "ORADATA', status UNKNOWN, has 1 operation for this service...

    Instance "oradata' READY State, has 1 operation for this service...

    Service 'ORADATAXDB' has 1 instance (s).

    Instance "oradata' READY State, has 1 operation for this service...

    The command completed successfully

    Kindly guide whats wrong with my setup.

    You can remove your tnsnames.ora if he isn't there the other TNS inside. and use netmanager

    http://docs.Oracle.com/CD/E11882_01/network.112/e41945/AdminTools.htm#NETAG216

    Concerning

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

  • Error trying to recover the ORA-12154 error text

    Hi all

    We want SETTING using ad module OBIA 7964 Finance. As part of have installed us Informatica 9.0.1 in our Linux x 86-64-bit server machine. And in the same machine, we installed a 11.2.0.1.0 oracle client.

    And we install Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production in another linux server.

    Now the question while trying to create a service of Informatica repository we get the error

    2013-04-25 12:52:38: ERROR: (7899 | 140669883090720): (RS |) (BIAPPS_DEV): node01_haidcobidev01: OBJM_54538: unable to connect to the repository BIAPPS_DEV to the orcl database.
    2013-04-25 12:52:38: ERROR: (7899 | 140669883090720): (RS |) (BIAPPS_DEV): node01_haidcobidev01: REP_51002: could not connect to the database server
    Database driver error...
    Function name: logon
    Error trying to recover the ORA-12154 error text

    Database driver error...
    Function name: connect
    Database error: unable to connect to the database using the [lower] user and the connection string [orcl]

    Please let us know is there something missing as part of the Setup and let us know how to solve this problem.

    Thank you
    Dany

    Who is the owner of this post?
    Looks like 2 different people possess!

    What link if you guys pass, try something like
    HostName: port / serviceName

  • ORA-12154

    Hello

    Oracle 10.2.0.5
    RHEL4

    We face below error when db creating different patterns of n/b two link (on the same database).

    create database link "db_Test1" to connect to test1 identified by 'password' using service1;

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

    Please suggest.

    Thank you
    Mike.

    1000611 wrote:
    Hello

    Oracle 10.2.0.5
    RHEL4

    We face below error when db creating different patterns of n/b two link (on the same database).

    create database link "db_Test1" to connect to test1 identified by 'password' using service1;

    I hope that this seems to be a syntax error...
    Try as below

    SQL > create database link db_Test1 connect to test1 identified by password using 'service1 ';

    the service name must be in single quotes... someone has already suggested above.

  • ORA-12154: FORMS 10G

    I am able to connect to the database using sqldeveloper (this does not use the tnsnames file) but I get the error when I tried to log in to forms 10 G. I have same tnsnames.ora copied from 6i. In forms 6i, I was able to connect and to compile my forms.

    I have read/write access to the devsuitehome folder.

    I laso tried to modify the path by using the set PATH = commands dir, including ORACLE_HOME.


    What I'm missing here?

    Assia wrote:
    I1 of database 10G, it is on the side server. Forms is installed on my local machine (C:\DevSuiteHome_1\NETWORK\ADMIN).

    XXX WORLD GROUP
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (COMMUNITY = tcp)(PROTOCOL = TCP) (Host = HODUNP52)(Port = 1530))
    )
    (CONNECT_DATA =
    (SID = XXX)
    )
    )

    above code is tnsnames.ora file database? If Yes this copy in your TNSNAMES C:\DevSuiteHome_1\NETWORK\ADMIN. ORA file (replace all)

    ORA-12154: tns misconfiguration.

    Hope it works...

    Hamid

Maybe you are looking for