ORA-12154 connecting problem remotely.

I am running Oracle 11 g on Windows Server 2008R2. I have a client (Zabbix) application running elsewhere who try to connect to it.

The client computer has:

* oracle - instantclient11.2 - basic - 11.2.0.3.0 - 1.i386.rpm
* oracle - instantclient11.2 - devel - 11.2.0.3.0 - 1.i386.rpm

And as such, it has no files tnsnames.ora or sqlnet.ora. He tries to establish a connection with the direct addressing. With a print in the php statement, I see that he calls
H4. ociplogon (User, Password, $Connect);

with connect is the value / / dbhostmachine:1521 / zabbix. So, everything seems good.

#####################
C:\Users\mdobrini > lsnrctl services

LSNRCTL for 64-bit Windows: Version 11.1.0.7.0 - Production on 2 November 2012 13:00:55

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

Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = dbhostmachine.dddd.cccc.com) (POR
Summary of services...
Service 'zabbix' has 1 instance (s).
Instance 'zabbix' READY State, has 1 operation for this service...
Managers:
"DEDICATED" implemented: 578 refused: 0 status: ready
LOCAL SERVER
Service 'zabbixXDB' has 1 instance (s).
Instance 'zabbix' READY State, has 1 operation for this service...
Managers:
"D000" put in place: 0 denied: current: 0 0 max: 1022 State: loan
DISPATCHER < machine: dbhostmachine, pid: 6384 >
(ADDRESS = (PROTOCOL = tcp (PORT = 61396))(HOST=dbhostmachine.dddd.cccc.com))
Service 'zabbix_XPT' has 1 instance (s).
Instance 'zabbix' READY State, has 1 operation for this service...
Managers:
"DEDICATED" implemented: 578 refused: 0 status: ready
LOCAL SERVER
The command completed successfully
#######################

Trying to connect locally works fine:

#########################
SQL * more: version 11.1.0.7.0 - Production on Fri Nov 2 13:06:31 2012

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

Enter the user name: SYSTEM
Enter the password:

Connected to:
Oracle Database 11 g Enterprise Edition Release 11.1.0.7.0 - 64 bit Production

SQL > connect uuu/ppp@localhost/zabbix
Connected.
SQL >
#########################

However, remote, I get the popular error:

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

The strange thing is that it worked before intermittently. I would get an error every 10 seconds approximately in my application:

30923:20121101:142237.595 [Z3001] connect to the database ' / / dbhostmachine:1521 / zabbix' failed: [-1] ORA-12516: TNS:listener could not find Manager available with corresponding protocol stack
dog guard 30923:20121101:142237.596: database is down

but there was certainly data sent on the network and persisted in the comic book. After you restart the application and the server, I'm no longer able to get a connection at all and am stuck on ORA-12154. Any help would be appreciated.

970022 wrote:
Oops I meant ORA-12516. I would like to get intermittent errors such as:

ociplogon(): ORA-12516: TNS:listener could not find Manager available with corresponding protocol stack

After a few adjustments I have is no longer a problem, but it remains to be seen if Oracle increased limits will be reached again.

EDIT: Here's an example locally:
SQL > connect xxx/xxx@localhost/zabbix;
Connected.
SQL > connect xxx/xxx@localhost/zabbix;
Connected.
SQL > connect xxx/xxx@localhost/zabbix;
ERROR:
ORA-12516: TNS:listener could not find Manager available with the corresponding protocol
battery

Edited by: 970022 November 12, 2012 08:07

above may result from the DB ' running out of available slots / session process.
This may result when the application starts a new session for each single SQL issued.
From V10, Oracle has attempted to increase the capacity of the listener.
He does this by making the listener of the DB query to find out how many sessions, the DB's & can handle.
Then as a listener to make new connection requests, listener increments a counter indicating how many sessions are in the bosom of the DB.
When MAX sessions is reached, listener error to customer requesting a connection.
Once per minute when DB registers itself with the listener, the listener gets a count of the current session.
which results in a new request connections succeeding until the MAX session limit is found, again.

If the application uses connection pooling, these errors are avoided.

Tags: Database

Similar Questions

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

  • Mover - ORA-12154: TNS - problem

    Hello

    My system: Windows Server 2003 32-bit. Oracle DB 10.1.0.2.0; PT 8.52; HCM 9.0;

    I have error when connecting to Data Mover:

    File: Error SQL Access ManagerSQL. Stmt #: 2 error Position: 0 return: 12154 - ORA-12154: TNS: could not resolve the connect identifier specified

    I add in tnsnames.ora and listener.ora record for my DB:

    tnsnames.ora:

    HR9 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = LNZ-PS90)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = HR9)
    )
    )

    Listener.ora:

    )
    (SID_DESC =
    (SID_NAME = HR9)
    (ORACLE_HOME = E:\oracle\product\10.2.0\db_1)
    )

    Restart the listner but it doesn't work I can not connect to DATA MOVER, please help.

    Add SID, which means something like that

    HR9=
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = LNZ-PS90)(PORT = 1521))
        )
        (CONNECT_DATA =
          (SERVICE_NAME = HR9)
          (SID = HR9)
        )
      )
    

    Published by: Hakan Biroglu on August 16, 2012 19:39

  • Windows 7 connection problems (Remote Desktop)

    I am currently running Windows 7, Home Premium.  I am trying to connect to my place of work via Remote Desktop.  The shop is Windows XP pro, so I know I should be able to connect.  When I try to connect I get three messages, but 1 & 2 do not apply.  The message that applies is: 3) is not available on the network of the remote computer.

    Can help you with this?

    Thank you.

    Newton.

    Here is the Vista Forums.

    For any question on Windows 7:

    http://social.answers.Microsoft.com/forums/en-us/category/Windows7

    Link above is Windows 7 Forum for questions on Windows 7.

    Windows 7 questions should be directed to the it.

    XP forums:

    http://social.answers.Microsoft.com/forums/en-us/category/WindowsXP

    Link above is for XP Forums.

    There is a list of the different Forums XP to the link above to help you.

    You get the help you need there.

    Here is the Vista Forums.

    See you soon

    Mick Murphy - Microsoft partner

  • Form of connection problem and failure problem with 10g

    * # TNSNAMES. ORA Network Configuration file: D:\orant\network\admin\tnsnames.ora*
    * # Generated by Oracle configuration incroyables.*

    EXTPROC_CONNECTION_DATA. STC. CORP =
    *(DESCRIPTION =*)
    *(ADDRESS_LIST =*)
    * (ADDRESS = (PROTOCOL = TCP) (HOST = HOSTNAME)(PORT = 1521)) *.
    *)*
    *(CONNECT_DATA =*)
    * (SID = PLSExtProc) *.
    *)*
    *)*

    EXTPROC_CONNECTION_DATA. STC. CORP =
    *(DESCRIPTION =*)
    *(ADDRESS_LIST =*)
    * (ADDRESS = (PROTOCOL = TCP) (HOST = 10.33.67.202)(PORT = 1521)) *.
    *)*
    *(CONNECT_DATA =*)
    * (SID = ORCL). *
    *)*
    *)*

    EXTPROC_CONNECTION_DATA. STC. CORP =
    *(DESCRIPTION =*)
    *(ADDRESS_LIST =*)
    * (ADDRESS = (PROTOCOL = TCP) (HOST = PC938.stc.corp)(PORT = 1521)) *.
    *)*
    *(CONNECT_DATA =*)
    * (SID = orcl1) *.
    *)*
    *)*

    I can connect to the database by using the name of service ORCL, but not with the name of the ORCL1 service. I get an ORA-12154
    Second problem:
    When I connect using the service name ORCL I try to compile the form for the first time it hangs, after the crash when I try to compile it again I get this error

    * < Html > < head > ORACLE FORMS. < / head > *.
    * < body onload = "document.pform.submit (); ' > *.
    * < form name = 'dform"action =" http://PC938.stc.corp:8889/forms90/f90servlet"method ="POST"> *.
    * < input type = "hidden" name = "form" value = "C:\Documents and Settings\Administrator\MODULE1.fmx" > *.
    "* < input type ="hidden"name ="username"value="SCOTT/TIGER@orcl "> *.
    * < input type = "hidden" name = "obr" value = "yes" > *.
    * < input type = "hidden" name = "table" value = "YES" > *.
    * < / form > < body / > < / html > *.

    My jvm.dll file is size 780ko can someone tell me where can I find the jvm.dll file with dimensions 2,20 MB

    Published by: Chase Suhail on December 25, 2009 21:45

    Hello

    What is your IE version is?

    Open IE/go to / option/advance/IPSec.

    Allow active content to run in files on my computer

    If its active please uncheck and if its not controlled it please check.

    and are you form.

    I think you're form version is 9.0... right?

    Sarah

    Published by: QGIRCO on December 25, 2009 23:31

  • Problem connecting to database - ORA-12154

    Hi all

    I can't tnsping and sqlplus using my client computer SYSTEM

    Now, I created another user, called DEVSS. I can connect to this user using SQL_developer, but not through SQL Plus.

    Below I have connected using SYSTEM and then tried to connect using DEVSS, but this resulted in error

    Please advise... Anypointers will be useful!

    C:\Users\saring1 > SQLPLUS SYSTEM/password@MYDATA
    SQL * more: Production release 11.2.0.3.0 on Sun Jul 1 20:48:36 2012
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.

    Connected to:
    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
    With partitioning, OLAP, Data Mining and Real Application Testing options
    SQL > connect DEVSS/password
    ERROR:
    ORA-12154: TNS: could not resolve the connect identifier specified

    WARNING: You are more connected to ORACLE.
    SQL > connect DEVSS
    Enter the password:
    ERROR:
    ORA-12154: TNS: could not resolve the connect identifier specified

    SQL >
    If I try directly this way, I get an error like below-

    M:\ > sqlplus DEVSS/password@hostname
    SQL * more: Production release 11.2.0.3.0 on Sun Jul 1 21:44:10 2012

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

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


    Enter the user name:
    Enter the user name:

    Here are the files (tnsnames and listner.ora) from the server database.
    file tnsnames.ora on the client is similar.


    Tnsnames.ora
    **********************************************
    MYDATA =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP (PORT = 1251))(HOST = hostname))
    (CONNECT_DATA = (SERVICE_NAME = MYDATA)))
    ***********************************************

    listner.ora
    ******************************************
    #
    # Definition of database listener Net8
    #

    MYDATA =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP (PORT = 1251))(HOST = hostname))
    )
    )

    SID_LIST_MYDATA =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = d01/product/11.2.0.3/mydata)
    (SID_NAME = MYDATA)
    )
    )

    STARTUP_WAIT_TIME_MYDATA = 0
    CONNECT_TIMEOUT_MYDATA = 10
    TRACE_LEVEL_MYDATA = OFF

    LOG_DIRECTORY_MYDATA = /d01/product/11.2.0.3/mydata/network/admin
    LOG_FILE_DEVRHYP = MYDATA
    TRACE_DIRECTORY_MYDATA = /d01/product/11.2.0.3/mydata/network/admin
    TRACE_FILE_DEVRHYP = MYDATA
    ADMIN_RESTRICTIONS_MYDATA = WE
    SUBSCRIBE_FOR_NODE_DOWN_EVENT_MYDATA = OFF


    # adding parameters for the bug # 9286476
    LOG_STATUS_MYDATA = WE
    INBOUND_CONNECT_TIMEOUT_MYDATA = 60

    # ADR applies only to the 11gDB
    DIAG_ADR_ENABLED_MYDATA = WE
    ADR_BASE_MYDATA = /d01/product/11.2.0.3/mydata/admin/
    ************************************************

    Whirlpool says:
    Hello

    Please find the below output. Don't know why it gives a different errors, I tried two times...

    M:\>sqlplus scott/tiger@'hostname:1251/MYDATA'

    SQL * more: Production of the version 11.2.0.3.0 on Mon Jul 2 00:21:50 2012

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

    ERROR:
    ORA-01017: name of user and password invalid. connection refused

    If/when you use the username/password valid name that will connect you to th DB!

    >

    Enter the user name: scott
    Enter the password:
    ERROR:
    ORA-12560: TNS:protocol adapter error

    before you try to connect to 'local' DB & is not using SQL * Net

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

    All,

    Help, please. I get the error above despite all I know to do:

    tnsnames.ora entry for the remote database (it is what is on the local database):

    ORACLE6. STAGING =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oracle6.staging.hobank.net) (PORT = 1521))
    )
    (CONNECT_DATA = (SERVICE_NAME = banksys))
    )


    The following works without problems of local database to a remote database:

    On the local database:

    sqlplus kay/[email protected]
    ...
    ...

    Connected to:
    Oracle Database 10 g Enterprise Edition Release 10.2.0.2.0 - 64 bit Production
    With partitioning, OLAP and Data Mining options

    SQL > select * from emp;

    EMPNO, ENAME, JOB HIREDATE SAL COMM MGR
    ---------- ---------- --------- ---------- --------- ---------- ----------
    DEPTNO
    ----------
    2 Kay Baffy DBA 1 6 November 10 50000.25
    2

    * These data are correct and comes from the remote database *.

    Next, I created the database link that is connected to the local database:

    create the database public link oracle6.staging
    connect to identified by kay kay
    using 'oracle6.staging ';

    Database link created.

    !!! But the following does not work:

    SQL > select * from [email protected];
    Select * from [email protected]
    *
    ERROR on line 1:
    ORA-12154: TNS: could not resolve the connect identifier specified


    I am sure of the following:

    1 DB link has been created on the local database.
    2 oracle6.staging entry is tnsnames.ora
    3. I am able to connect to a remote database with: sqlplus kay/[email protected]

    * Any help will be be appreciated.* *.

    Thanks in advance.

    Baffy

    See the link:-hope, it will be useful for you.

    Troubleshooting of database links
    http://www.akadia.com/services/ora_dblinks.html

    Kind regards

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

  • Unable to connect, ORA-12154, the installation routine to find ODBC Microsoft errors

    Hi all

    I have a 64-bit Windows 7 Enterprise SP1 system and I wanted to be able to connect to an oracle database server. However, I am facing a problem with the ODBC configuration.

    I currently installed both below in... product\11.2.0\client_1 folder:
    1 oracle Database 11 g Release 2 (11.2.0.1.0) Client for Microsoft Windows (x 64) - http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html
    2 64 - bit components (ODAC) data access Oracle - http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html

    I launched the ODBC data sources administrator and added a user DSN but gave rise to two errors:
    1. the Setup for the Microsoft ODBC driver ODBC routines oracle is not found. Please you reintall the pilot.
    2. the specified DSN contains a mismatch of architecture between the driver and the application.

    In addition to that, if I go to the system DSN tab and tried to test the connection it gives me an error:
    1. cannot connect SQLState = 08004 [Oracle] [ODBC] [Ora] ORA-12154: TNS: can not solved the specified identifier.

    Anyone can guide me please thanks to this? Thanks in advance!

    Published by: VTech on February 26, 2013 14:13

    VTech wrote:
    Hi all

    I have a 64-bit Windows 7 Enterprise SP1 system and I wanted to be able to connect to an oracle database server. However, I am facing a problem with the ODBC configuration.

    I currently installed both below in... product\11.2.0\client_1 folder:
    1 oracle Database 11 g Release 2 (11.2.0.1.0) Client for Microsoft Windows (x 64) - http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html
    2 64 - bit components (ODAC) Oracle data access - http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html

    It is enough that one of them (the other should be enough).

    I launched the ODBC data sources administrator and added a user DSN but gave rise to two errors:
    1. the Setup for the Microsoft ODBC driver ODBC routines oracle is not found. Please you reintall the pilot.

    "Microsoft ODBC for Oracle" is a different provider than 'Oracle ODBC'. Make sure that you do not use Microsoft one.

    2. the specified DSN contains a mismatch of architecture between the driver and the application.

    This can happen if you mix 32-bit and 64-bit. There are two ODBC Control Panel in Windows 7:
    -64-bit, one is that of the Panel
    -the 32 bit one is c:\windows\syswow64\odbcad32.exe

    Because you use an Oracle 64-bit driver, you must use the 64-bit ODBC Administrator and 64-bit applications. If you try to use this ODBC connection with a 32-bit application, you will need to use the 32-bit ODBC (and the driver Oracle 32-bit).

    In addition to that, if I go to the system DSN tab and tried to test the connection it gives me an error:
    1. cannot connect SQLState = 08004 [Oracle] [ODBC] [Ora] ORA-12154: TNS: can not solved the specified identifier.

    Well it actually means that it loads correctly, Oracle is something. You must add an entry for the server you want to connect in tnsnames.ora, located in the folder \network\admin inside your Oracle client installation. Because it looks like someone else set up the server that you want to connect, your DBA should be able to provide the information that is written to the file.

  • The problem of ORA-12154 - listener listener two same service

    I have two entries in tnsnames.ora with SERVICE_ID even
    I can connect to REPSTG using sqlplus. cmd\ > sqlplus username/pass@REPSTG

    but when I try to connect to the ORCL using sqlplus. cmd\ > sqlplus username/pass@ORCL,.
    Oracle show message:
    ORA-12154: TNS: could not resolve the connect identifier specified

    I'm using Oracle 11 g R2 - Windows Server 2008 R2

    Here are my tnsnames.ora
    REPSTG = 
      (DESCRIPTION = 
        (ADDRESS_LIST =  (ADDRESS =  (PROTOCOL = TCP)(HOST = myhostname)(PORT = 1521)
          )
        )
        (CONNECT_DATA = 
          (SERVICE_NAME = repstg)
        )
      )
    
    
    ORCL = 
      (DESCRIPTION = 
        (ADDRESS_LIST =  (ADDRESS =  (PROTOCOL = TCP)(HOST = myhostname)(PORT = 1521)
          )
        )
        (CONNECT_DATA = 
          (SERVICE_NAME = repstg)
        )
      )
    Thank you

    Indra says:
    In my PB, I have two database:

    D:\ORACLE\db\product\11.2.0\dbhome_1
    D:\ORACLE\db\product\11.2.0\dbhome_2
    

    What do you evidence isn't two databases, it is two ORACLE_HOMEs. In other words, two installations of the RDBMS software. Do NOT confuse the software with a database.

    This and the rest of what you post in this thread shows a real misunderstanding of how oracle in general - and tns in particular - works.
    I suggest you start here > http://edstevensdba.wordpress.com/2011/02/09/sqlnet_overview/, and then follow up with some time spent in the manual of Concepts to tahiti.oracle.com

    When I check using lsnrctl status, is the location of listener.ora:
    D:\ORACLE\db\product\11.2.0\dbhome_1\network\admin\listener.ora

    and my listener entries are in the file D:\ORACLE\db\product\11.2.0\dbhome_1\network\admin\listener.ora...

    and I was checking the D:\ORACLE\db\product\11.2.0\dbhome_1\network\admin\listener.ora file and give the same entries...

    I'm always confused with this problem

  • Able to connect to SQL Developer but not a toad - ORA-12154: TNS

    My workplace uses TOAD as standard SQL tool to run against Oracle, although I prefer test and use SQL developer.

    When you try to connect to a database in TOAD I get the following error

    ORA-12154: TNS: could not resolve service name

    I'm using the TNSNAMES file. ORA and I am able to connect through SQL Developer, no problem.

    Also in the same file, I'm able to connect to the other TNS names, but all just not this one it seems.

    I find it very strange, because it seems that for this name TNS one, I specifically can not connect through TOAD

    I can connect to any other AMT via TOAD, and I can connect through SQL developer

    I also tried a TNSPING and his returning in OK for the server and the connection seem just.

    I am trying to connect to an Oracle 10 g with TOAD version 8.0.0.47 Server

    Any ideas appreciated!

    I'm doing this from memory, but...

    Oracle 10g database with TOAD version 8.0.0.47
    

    I believe that your version of toad is too low for this version of Oracle. You should be able to confirm with QUEST software.

    Best regards

    mseberg

    I found the page "which versions of Oracle of Toad for Oracle support?

    https://support.quest.com/search/SolutionDetail.aspx?ID=SOL21018

    What version of Oracle 10 is the question?

    https://support.quest.com/search/SolutionDetail.aspx?ID=SOL63225&category=solutions&SKB=1

    Published by: mseberg on July 22, 2011 15:47

    My rule with Toad's (once you get past the version number), if you cannot connect using SQL, Toad will never work.

    Published by: mseberg on July 22, 2011 15:55

  • 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: TNS: could not resolve the connect identifier specifier (XE)

    Hello

    «I installed on my laptop with win 7 Oracle Database 10g Release 2 (10.2.0.1) Express Edition for Microsoft Windows, but when I tried to connect with Toad for Oracle Freeware 10.6 I get the following error ' ORA-12154: TNS: could not resolve the connect identifier specifier (XE)» I read on the forum that the problem comes from the wrong configuration of the AMT.
    This is rhe tnsping respons
    "C:\Users\Sergiu > tnsping XE.

    AMT Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 13-NOV-2
    010 15:20:10

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

    Use settings files:
    C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = Sergiu-PC) (p)
    (ORT = 1521)) (CONNECT_DATA = (SERVER = dedicated) (SERVICE_NAME = XE)))
    OK (0 msec)
    "
    EARPHONE
    "
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (= Extproc PROGRAM)
    )
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (= Extproc PROGRAM)
    )
    )

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

    DEFAULT_SERVICE_LISTENER = (XE)
    "

    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)

    "

    TNSNAME
    "
    XE =
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = Sergiu-PC)
    (PORT = 1521)
    )
    (CONNECT_DATA =
    (SERVER = dedicated)
    (SERVICE_NAME = XE)
    )
    )

    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = IPC)
    (KEY = EXTPROC_FOR_XE)
    )
    (CONNECT_DATA =
    (PRESENTATION = RO)
    (SID = PLSExtProc)
    )
    )

    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = IPC)
    (KEY = EXTPROC_FOR_XE)
    )
    (CONNECT_DATA =
    (PRESENTATION = RO)
    (SID = CLRExtProc)
    )
    )

    "

    Can someone tell me what is the problem?

    Best regards

    It can be caused by the location of the TOAD software. The have you installed under "Program Files (x 86)? If Yes, then try to reinstall in a different directory, media in the path name can cause problems.

  • ORA-12154: TNS: could not resolve the specified connection identifier [10g XE]

    Greetings

    There are a lot of topics about this problem on the internet, but none of them deal with this issue properly, so I couldn't find a solution to the problem.

    I installed: Oracle Database 10 g Express Edition

    After that the installation was done, I opened the SQL command line
    and I used the command "connect" to connect
    I enter username
    Then I entered the password

    After a few seconds, I got the following error message:
    ORA-12154: TNS: could not resolve the connect identifier specified

    Screenshot of the error:
    http://I35.Tinypic.com/14o26g7.PNG

    I installed this version of Oracle on Windows XP 32 bit and Windows 7 32 bit and I get the same error message when it tries to connect.

    Why Oracle does not immediately after installation?
    Are there other measures that need to be accomplished in order to make this work? If so I'd appreciate any help step by step, I was stuck trying to find a solution for days.

    Published by: user10192105 on August 22, 2010 19:34

    >
    I was able to connect using the above command, but I would like to know why can't connect using a user name and password? I still cannot connect using a user name and password even after the environment variable.
    >

    The problem is that the normal user accounts are either locked, you use is maybe not the right password or they may not have the necessary privileges to establish a session (there are a number of reasons).

    Since you are in the console database, you don't need the environment variable set. SQL * Plus Gets the location of your database in the registry.

    Make the alter statement that I posted earlier for a user which you know that there is and we'll take it from there.

    John.

Maybe you are looking for