Ora-12154 after creation of second database

DB 10g ver 10.1.0.2.0
OS Windows server 2003 32bit +sp1
Summary:
Due to the addition of extra storage to the server I decided to rebuild from scratch, and all was working correctly until I came to create a second database on the server, once this is created I get ORA-12154 errors at logon for both databases.
Full:
Installation of Windows and Oracle are fine, creation of the first database also works correctly and connection is without problems e.g sqlplus user/pass@database1 allows me to logon.
On creation of the second database the same command: sqlplus user/pass@database1 or sqlplus user/pass@database2 gives me an ORA-12154 error.
If in the command prompt window I set ORACLE_SID=database1 then try sqlplus user/pass it connects without problems, the same for database2, although sqlplus user/pass@database1 still fails.
I have checked tnsnames.ora, all looks fine, I used the net configuration assistant to generate the entries and used the connection test to verfiy all was ok, both connection tests worked fine.
I can tnsping both database1 and database2 and lsnrctl status shows
Service "database1" has 1 instance(s).
Instance "database1", status READY, has 1 handler(s) for this service...
Service "database1XDB" has 1 instance(s).
Instance "database1", status READY, has 1 handler(s) for this service...
Service "database2" has 1 instance(s).
Instance "database2", status READY, has 1 handler(s) for this service...
Service "database2XDB" has 1 instance(s).
Instance "database2", status READY, has 1 handler(s) for this service...
I have searched through back posts and the web and as yet have not been able to find how to resolve this. Any pointers or ideas as to why I cannot use the sqlplus user/pass@database to connect?
TIA
Will
.

Hi,
Thanks for the quick reply, I created the listener using the net configuration assistant, I assumed this would add all necessary configuration entries?
I have added an extra section as suggested to the listener.ora, it now reads
# listener.ora Network Configuration File: c:\oracle\product\10.1.0\db_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
     (GLOBAL_DBNAME = dm)
     (ORACLE_HOME = c:\oracle\product\10.1.0\db_1)
     (SID_NAME = dm)
    (SID_DESC =
     (GLOBAL_DBNAME = medline)
     (ORACLE_HOME = c:\oracle\product\10.1.0\db_1)
     (SID_NAME = medline)
    (SID_DESC =
      (SID_NAME = PLSExtProc)
      (ORACLE_HOME = c:\oracle\product\10.1.0\db_1)
      (PROGRAM = extproc)
LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = TCP)(HOST = well-mccarthy02)(PORT = 1521))
      (ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
  )Is this correct, I have bounced the listener and still get ora-12154 errors on connection.
running lsnrctl services gives:
LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 21-FEB-2006 13:28
:10
Copyright (c) 1991, 2004, Oracle.  All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=well-mccarthy02)(PORT=15
21)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
  Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
      "DEDICATED" established:0 refused:0
         LOCAL SERVER
Service "dm" has 2 instance(s).
  Instance "dm", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
      "DEDICATED" established:1 refused:0
         LOCAL SERVER
  Instance "dm", status READY, has 1 handler(s) for this service...
    Handler(s):
      "DEDICATED" established:0 refused:0 state:ready
         LOCAL SERVER
Service "dmXDB" has 1 instance(s).
  Instance "dm", status READY, has 1 handler(s) for this service...
    Handler(s):
      "D000" established:0 refused:0 current:0 max:1002 state:ready
         DISPATCHER <machine: WELL-MCCARTHY02, pid: 1680>
         (ADDRESS=(PROTOCOL=tcp)(HOST=well-mccarthy02)(PORT=1505))
Service "medline" has 2 instance(s).
  Instance "medline", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
      "DEDICATED" established:0 refused:0
         LOCAL SERVER
  Instance "medline", status READY, has 1 handler(s) for this service...
    Handler(s):
      "DEDICATED" established:1 refused:0 state:ready
         LOCAL SERVER
Service "medlineXDB" has 1 instance(s).
  Instance "medline", status READY, has 1 handler(s) for this service...
    Handler(s):
      "D000" established:0 refused:0 current:0 max:1002 state:ready
         DISPATCHER <machine: WELL-MCCARTHY02, pid: 2804>
         (ADDRESS=(PROTOCOL=tcp)(HOST=well-mccarthy02)(PORT=1677))
The command completed successfullywith the original listener.ora file lsnrctl services gave
LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 21-FEB-2006 13:36
:13
Copyright (c) 1991, 2004, Oracle.  All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=well-mccarthy02)(PORT=15
21)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
  Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
      "DEDICATED" established:0 refused:0
         LOCAL SERVER
Service "dm" has 1 instance(s).
  Instance "dm", status READY, has 1 handler(s) for this service...
    Handler(s):
      "DEDICATED" established:0 refused:0 state:ready
         LOCAL SERVER
Service "dmXDB" has 1 instance(s).
  Instance "dm", status READY, has 1 handler(s) for this service...
    Handler(s):
      "D000" established:0 refused:0 current:0 max:1002 state:ready
         DISPATCHER <machine: WELL-MCCARTHY02, pid: 1680>
         (ADDRESS=(PROTOCOL=tcp)(HOST=well-mccarthy02)(PORT=1505))
Service "medline" has 1 instance(s).
  Instance "medline", status READY, has 1 handler(s) for this service...
    Handler(s):
      "DEDICATED" established:0 refused:0 state:ready
         LOCAL SERVER
Service "medlineXDB" has 1 instance(s).
  Instance "medline", status READY, has 1 handler(s) for this service...
    Handler(s):
      "D000" established:0 refused:0 current:0 max:1002 state:ready
         DISPATCHER <machine: WELL-MCCARTHY02, pid: 2804>
         (ADDRESS=(PROTOCOL=tcp)(HOST=well-mccarthy02)(PORT=1677))
The command completed successfully

Similar Messages

  • ORA-12154- during creation new database

    Hi All,
    when creating new database I I get this ora error ORA-12154 , Step : copying database files.
    Could you please help ?
    Thanks,

    Hi,
    ORA-12154:
         TNS:could not resolve the connect identifier specified
    Cause:      A connection to a database or other service was requested using a connect identifier, and the connect identifier specified could not be resolved into a connect descriptor using one of the naming methods configured. For example, if the type of connect identifier used was a net service name then the net service name could not be found in a naming method repository, or the repository could not be located or reached.
    Action:      
    - If you are using local naming (TNSNAMES.ORA file):
    - Make sure that "TNSNAMES" is listed as one of the values of the NAMES.DIRECTORY_PATH parameter in the Oracle Net profile (SQLNET.ORA)
    - Verify that a TNSNAMES.ORA file exists and is in the proper directory and is accessible.
    - Check that the net service name used as the connect identifier exists in the TNSNAMES.ORA file.
    - Make sure there are no syntax errors anywhere in the TNSNAMES.ORA file. Look for unmatched parentheses or stray characters. Errors in a TNSNAMES.ORA file may make it unusable.
    - If you are using directory naming:
    - Verify that "LDAP" is listed as one of the values of the NAMES.DIRETORY_PATH parameter in the Oracle Net profile (SQLNET.ORA).
    - Verify that the LDAP directory server is up and that it is accessible.
    - Verify that the net service name or database name used as the connect identifier is configured in the directory.
    - Verify that the default context being used is correct by specifying a fully qualified net service name or a full LDAP DN as the connect identifier
    - If you are using easy connect naming:
    - Verify that "EZCONNECT" is listed as one of the values of the NAMES.DIRETORY_PATH parameter in the Oracle Net profile (SQLNET.ORA).
    - Make sure the host, port and service name specified are correct.
    - Try enclosing the connect identifier in quote marks. See the Oracle Net Services Administrators Guide or the Oracle operating system specific guide for more information on naming.

  • ORA-12154 after 10g Developer installed

    Guys
    Not seen any specific references to these exact circumstances, and this may be in the wrong forum, but please bear with me .....
    I've recently installed Oracle Developer Suite 10.1.2.0.2 on to my PC. Now, every time I try to connect to any Oracle database via PL/SQL Developer, Impromptu/Cognos etc, I get;
    ORA-12154: TNS:could not resolve the connect identifier specified
    Everything worked fine before the Developer install. As far as I can see my PC has exactly the same files and settings as before, as my old PC that was dumped a couple of weeks ago and as colleague's PCs who have not installed Oracle 10g Developer and are happily accessing databases.
    Is there something the install amends that may have impacted?? Something that I need to be aware of or accomodate??
    Thanks in advance for any help
    Ian

    You are about the 100000000 person with this problem.
    This problem occurs when not reading the installation manual, not trying to find out what is going on, and jumping to the Usenet or this forum rightaway to ask this boring question AGAIN.
    Why do people never pay attention? Why can't they be bothered to read the troubleshooting section in the Net administrators manual?
    Why does everyone need to be spoon fed.
    The answer is for the 100000001 time:
    You have installed Developer in a different Oracle_home, you now have TWO different tnsnames.ora, and you need either
    - to synchronize them
    or
    - to set TNS_ADMIN string variable in HKLM\software\oracle to the old tnsnames.ora directory.
    Can't anyone sue Bill Gates for causing a worldwide epidemia of laziness?
    Sybrand Bakker
    Senior Oracle DBA

  • ORA-12154 after a few hours

    My application runs fine for a few hours, before returning an "ORA-12154: TNS:could not resolve service name" error when trying to open an ADO connection to an Oracle 9i database.
    1) What does this mean? It can't find the name server, it can't find a matching name in the name server, it can't find the machine the name refers to, or it can't find the requested database on the machine? Or something else?
    2) What could be the cause? Since it works perfectly for some time before giving an error, I assume everything is set up correctly. Are there options other than a glitch in the network? Is it possible for the application itself to be doing something that triggers the TNS error?
    3) What can be done about it? If it's a temporary problem reaching the name server, is it possible to somehow cache the results, so that if the name server isn't found, it will default to the previous definition of the name?

    I'm not entirely surprised nobody has a solution to my problem, but surely somebody can at least explain what the error message means? Does it mean that no definition for the name is found at all, or could it occur if the definition points to a machine that is no longer accessible? If connection to the name server is lost, will Oracle look in the local tnsnames.ora instead of reporting that failure to connect?

  • Rollback segment is filling up during creation of the database

    Hi
    The Rollback segment is showing around 520mb immediately after
    creation of the database after following the wizard provided in
    the enterprise manager of oracle. What might be the reason. How
    to reduce it. Could any one give me a solution for this matter.
    Thanks in Advance.

    I tried creating the password file using the following command:
    orapwd file=/home/oracle/product/9.2.0/dbs/orapwHR.ora
    password=HR entries=5
    and got the same error:
    ORA-01501 Create Database failed.
    ORA-01990 -ERROR opening password file '/home/oracle/product/9.2.0/dbs/orapw'
    ORA-27037 Unable to obtain file status.
    Linux error: 2: No such file or directory.
    Additional information: 3.
    Does anybody know how to fix this problem?
    Thanks,
    Katya

  • ORA-03121 After installing Gateway

    Hello Experts,
    i am trying to connec to MS Sql Server 2000 on remote win2003 machine by using my machine which is WinXP Oracle 10g 10.1.0.2. I installed and configure Gateway as well which is on diffrent home than the oracle in my machine.
    when i issue command on SQL Prompt
    connect imosadmin/imos@odbc:dsnimos
    i got
    ORA-03121: no interface driver connected - function not performed
    where as dsnimos is a dsn to MS SQL Server2000
    and imosadmin/imos is a username and password for the database.
    After doing all this my other database services also stop working :(
    Please check the configurations which i made as well may be i am wrong somewhere.....
    For further info i am pasting my configuration files.
    Gateway Home C:\OraHome_1\network\admin\listener.ora
    LISTENER =
    (ADDRESS_LIST=
         (ADDRESS=(PROTOCOL=tcp)(HOST=zahid)(PORT=1522))
         (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))     
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=tg4msql)
    (ORACLE_HOME=C:\OraHome_1)
    (PROGRAM=tg4msql)
    Rest everything is commented
    Oracle Database home C:\oracle\product\10.1.0\Db_1\NETWORK\ADMIN\listener.ora
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = zahid)(PORT = 1521))
    C:\oracle\product\10.1.0\Db_1\NETWORK\ADMIN\tnsnames.ora
    tg4msql=
    (DESCRIPTION=
    (ADDRESS= (PROTOCOL=TCP) (HOST=zahid) (PORT=1522) )
    (CONNECT_DATA=
    (SID=tg4msql))
    (HS=OK))

    ORA-12154 means that the Oracle database cannot resolve the tnsnames entry 'tg4msql'. Just make sure that your oracle database has the following entry in the $ORACLE_HOME/network/admin/tnsnames.ora entry:
    tg4msql=
    (DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=TCP)(HOST=zahid)(PORT=1522)
    (CONNECT_DATA=
    (SID=tg4msql)
    (HS=OK)
    But checking your config you have...
    To start with, activate an sqlnet trace on your database, add following lines to the sqlnet.ora in your C:\oracle\product\10.1.0\Db_1\NETWORK\ADMIN\ path:
    TRACE_LEVEL_CLIENT=16
    TRACE_FILE_CLIENT=client.trc
    TRACE_FILE_DIRECTORY=C:\TEMP
    and restart your SQL*Plus session and try the select again. This should generate a sqlnet client trace which hopefully will show why the database cannot resolve 'tg4msql' to the tnsnames.ora entry specified. For example are you using the TNS_ADMIN variable?
    Regards,
    Ed

  • Loosing connections with ORA-12154

    Our scenario goes like this. We run transaction(1000's) fine for a while
    (hours!), then we get the following errors in sequence for short period of
    time(~2-5 minutes):
    <JDBC Pool> Sleeping in createResource()
    <JDBC Pool> Sleeping in createResource()
    <JDBC Pool> Connection for pool "bankframePool" created.
    <JDBC Pool> Connection for pool "bankframePool" created.
    <JDBC Pool> Sleeping in createResource()
    <JDBC Pool> Sleeping in createResource()
    Our application, during that time, stops with ORA-12154 from Oracle. Then
    everything seems to recover fine and we process transaction again fine for
    hours. Why would we loose the connections like this while we are running
    transaction non stop through the system?
    Regards,
    Andre Dionne

    We are running on solaris 8. This morning we tried to start the application
    servers with the minimum connection equal to the maximum(150) and we got
    ORA-12154 after creating 122 connections. Could it be related to the Oracle
    OCI8 driver we are using?
    "Joseph Weinstein" <[email protected]> wrote in message
    news:[email protected]..
    >
    >
    Andre Dionne wrote:
    Our scenario goes like this. We run transaction(1000's) fine for a while
    (hours!), then we get the following errors in sequence for short period
    of
    time(~2-5 minutes):
    <JDBC Pool> Sleeping in createResource()
    <JDBC Pool> Sleeping in createResource()
    <JDBC Pool> Connection for pool "bankframePool" created.
    <JDBC Pool> Connection for pool "bankframePool" created.
    <JDBC Pool> Sleeping in createResource()
    <JDBC Pool> Sleeping in createResource()
    Our application, during that time, stops with ORA-12154 from Oracle.Then
    everything seems to recover fine and we process transaction again finefor
    hours. Why would we loose the connections like this while we are running
    transaction non stop through the system?
    Regards,
    Andre DionneHi. For stability and performance, I recommend defining your connectionpool
    to make all it's connections at startup (init = max). Oracle is sometimesweak
    when being asked for lots of connections at any one time. Sometimes itgets overrun,
    and fails some connection attempts. Also, tell me if you're running onSolaris.
    Joe

  • A question about CREATE PUBLIC DATABASE LINK and ORA-12154 error

    Dear all,
    I have a problem about public database link creation and I would appreciate if you could kindly give me a hand. I have the following connection parameters in my
    tnsnames.ora file:
    DGPAPROD.WORLD =
         (DESCRIPTION =
           (ADDRESS_LIST =
            (ADDRESS = (COMMUNITY=tcp.world)
              (PROTOCOL=TCP)(HOST=ORASR001)(PORT=1521)
           (CONNECT_DATA = (SID = DGPAPROD))
    ...Having the above mentioned parameters I can connect to this remote database directly in a SQL*Plus shell:
    $ sqlplus username/[email protected] works pretty well and the connection is established without any problem.
    Now, what I would like to do is to create a public database link to this remote database in order to avoid the user/connection switching for viewing the
    content of this database. I proceeded according to the syntax indicated in the Oracle online documentation:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_5005.htm#SQLRF01205
    Therefore I run the following in order to create a public database link
    CREATE PUBLIC DATABASE LINK SR001_dblink CONNECT TO user IDENTIFIED BY password USING 'DGPAPROD.WORLD';Apparently there is no error and the link is created successfully. However it cannot resolve the remote host and whenever I run the following query
    (myenterprise is the name of a table in that remote database)
    SELECT *
    FROM myenterprise@SR001_dblink
    ERROR at line 1:
    ORA-12154: TNS:could not resolve the connect identifier specifiedWhat causes this problem?
    Thanks in advance,
    Kind Regards,
    Dariyoosh

    spajdy wrote:
    You must have defined DGPAPROD.WORLD in tnsnames.oar on server where you DB is runnig.Hello there,
    Thanks a lot for this nice solution. In fact I had to add the connection parameters into the tnsnames.ora file of the server on which the link was created (not the tnsnames.ora of my oracle client stored on the localhost)
    After a bit googling I found another solution that allows to create the database link:
    CREATE PUBLIC DATABASE LINK SR001_dblink CONNECT TO user IDENTIFIED BY password USING '(DESCRIPTION =  (ADDRESS_LIST =  (ADDRESS = (COMMUNITY=tcp.world)
    (PROTOCOL=TCP)(HOST=ip_adresse)(PORT=1521)))(CONNECT_DATA = (SID = GPAPROD)))';Thanks a lot for your help!
    Kind Regards,
    Dariyoosh
    Edited by: dariyoosh on 18 nov. 2009 07:15

  • Problem in accessing second database instance on same host (ORA-12514)

    Hi,
    I had a database ICMDB installed on my machine. After that i created a second database instance (Service name: BI_APPS) using DBCA on the same machine. Using NETCA i also created a new listener OracleOraDb11g_home1TNSListenerBI_APPS_LISTENER on port 1522 on my machine. Then i configured this listener to listen for connections to service BI_APPS by adding the following to my tnsnames.ora:
    BI_APPS_LISTENER =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1522))
    Then i changed the port in my tns entry for BI_APPS to 1522 as follows:
    BI_APPS =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = BI_APPS)
    I then restarted the following services:
    OracleOraDb11g_home1TNSListener
    OracleServiceBIAPPS
    OracleOraDb11g_home1TNSListenerBI_APPS_LISTENER
    After this, when i try to access my first DB ICMDB via toad, the connection is successful. However, when i try to access the service BI_APPS i get the following error:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.
    What am i doing wrong? Here is the content of my files:
    TNSNAMES.ORA
    # tnsnames.ora Network Configuration File: D:\app\Oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    BI_APPS_LISTENER =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1522))
    BI_APPS =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1522))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = BI_APPS)
    LISTENER_ICMDB =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1521))
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    ICMDB =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = icmdb)
    SQLNET.ORA
    # sqlnet.ora Network Configuration File: D:\app\Oracle\product\11.2.0\dbhome_1\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)
    LISTENER.ORA
    # listener.ora Network Configuration File: D:\app\Oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    BI_APPS_LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1522))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
    ADR_BASE_BI_APPS_LISTENER = D:\app\Oracle
    SID_LIST_BI_APPS_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = D:\app\Oracle\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:D:\app\Oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    Here is output of lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 12-DEC-2013 16:17:01
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
    Start Date                12-DEC-2013 10:34:35
    Uptime                    0 days 5 hr. 42 min. 26 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   D:\app\Oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
    Listener Log File         d:\app\oracle\diag\tnslsnr\ICMDEVDB\listener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ICMDEVDB)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.109)(PORT=1521)))
    Services Summary...
    Service "BIAPPSXDB" has 1 instance(s).
      Instance "biapps", status READY, has 1 handler(s) for this service...
    Service "BI_APPS" has 1 instance(s).
      Instance "biapps", status READY, has 1 handler(s) for this service...
    Service "icmdb" has 1 instance(s).
      Instance "icmdb", status READY, has 1 handler(s) for this service...
    Service "icmdbXDB" has 1 instance(s).
      Instance "icmdb", status READY, has 1 handler(s) for this service...
    The command completed successfully

    Jimit wrote:
    Hi Ed,
    I understand your point, however whenever i have tried to use the same listener to access my second instance, this is the error i have always received:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.
    That does not indicate you need a second listener.
    And, after deleting the listener.ora file ,if i try the the command lsnrctl start, i get the error:
    ORA-12560: TNS:protocol adapter error
    Hence i restored the files. What do i do?
    I've never experienced a 12560 trying to start a listener.  I'll need to see if I can create a test system on Windows and try to recreate.  Will be a good subject for my blog, that has been too long with no new content.
    Since this is windows, I'd first check that the Windows service for the listenr is started.
    Whatever, multiple listeners is NOT the solution.

  • Ora-12154  problem with database link and transparent gateway

    Hello,
    I’m trying to make a communication between oracle and SQL server 2005.
    I use oracle 10g E.E Release 10.2.0.3.0 and the transparent gateway for SQL server 10201_gatway_win32.zip.
    Install:
    The oracle database is installed into a server named ss-serv. This server has two partition disk C and E. Oracle database is installed in E and the gateway in C. There is already a database (instance) running in the oracle home (in E).
    I configured the gateway as described into: http://download.oracle.com/docs/cd/B...3/conf_sql.htm.
    In sql server 2005, there is a database running named ClientTricks.
    I created a user named Avogadro with a login.
    In the partition C where the gateway is installed, the file inittg4msql.ora is like this:
    HS_FDS_CONNECT_INFO= ss-serv. ClientTricks
    The file sqlnet.ora where the gateway is installed is configured like this:
    SQLNET.AUTHENTIFICATION_SERVICES=(NTS)
    NAMES.DIRECTORY_PATH = (TNSNAMES, EZCONNECT)
    I configured the listener that is in the C partition where the gateway is installed, and the tnsnames that is in the oracle database in E partition disk like this:
    Listener :
    LISTENER=
    (ADDRESS=
    (PROTOCOL=TCP)
    (HOST=ss-serv)
    (PORT=1521))
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=tg4msql)
    (ORACLE_HOME=C:\oracle\product\10.2.0\tg_1)
    (PROGRAM=tg4msql)
    tnsnames:
    mytg4msql=
    (DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=TCP)
    (HOST=ss-serv)
    (PORT=1521)
    (CONNECT_DATA=
    (SID=tg4msql))
    (HS=OK))
    After edited the listener, I stop and start the listener for the transparent gateway from administrative tools in the services.
    Then, connected in oracle (in a database named fakeclient) I created a database link in sqlplus.The the dblink were created, but when I tried to querry some data from ClientTricks by executing the following instructions:
    select * from s_client@dblink
    i got this fatal and terrible error :
    ora-12154 TNS:could not resolve the connect identifier specified
    I verified all my procedure and stapes, all seems to be good. I did a tnsping of mytg4msql
    I got this error in the command prompt:TNS-03505 fail to resolve name
    Could someone help me ?
    Sorry for my English ,I’m French
    best regards

    Hi Mkirtley,
    i clarify you what i've done:
    Pease have a look in the link in my first post. Then, i said that in oracle database home the listener is in port 1521
    here is this listener:
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=PLSExtproc)
    (ORACLE_HOME=E:\oracle\production\10.2.0\db_1)
    (PROGRAM=extproc)
    LISTENER=
    (DESCRIPTION_LIST=
    (DESCRIPTION=
    (ADDRESS= (PROTOCOL=TCP)(HOST=ss-serv)(PORT=1521))
    (ADDRESS= (PROTOCOL=IPC)(KEY=EXTPROC0))
    Here is the tnsnames.ora in oracle database home:
    N.B in this ora file, there's already some descriptions for the database running, so i just add these lines under the description in ora file.Here is:
    Jest=
    (DESCRIPTION=
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=TCP)(HOST=ss-serv)(PORT=2000))
    (CONNECT_DATA=
    (SID=tg4msql)
    (HS=OK)
    for the listener of the gateway (installed in C partition):
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=tg4msql)
    (ORACLE_HOME=C:\oracle\production\10.2.0\tg_1)
    (PROGRAM=tg4msql)
    LISTENER=
    (DESCRIPTION_LIST=
    (DESCRIPTION=
    (ADDRESS= (PROTOCOL=TCP)(HOST=ss-serv)(PORT=2000))
    (ADDRESS= (PROTOCOL=IPC)(KEY=EXTPROC1))
    here are all i did.
    Best regards

  • ORA-12154 Connection error from HFM to Oracle Database

    Hi,
    I am trying to configure Hyperion HFM but can write to HFM database.
    The implementation architecture:
    Hyperion 11.1.2.2 (with all the requiered patches for HFM, FDM, Shared Services, Workspace and Oracle Application Development)
    Server 1:
    Windows Server 2008 x64
    Installed products: Foundation (EPMA, CalcManager), BI, HFM web components and ADM driver
    Configured products: Foundation(EPMA, CalcManager), BI.
    Database Client: 11gR2 x64
    Server 2:
    Windows Server 2008 x64
    Installed products: HFM, FDQM
    Configured Products: FDQM, HFM
    Database Client: 11gR2 x32, 11gR2 x64 (x32 version installed first)
    Server 3:
    Database: Oracle 11.2.0.2
    All the products from server 1 are working fine, FDQM (server 2) is also working fine, but, when I try to do any action related with HFM database the system fails.
    I have tested the connection is these scenarios:
    1. SQLdeveloper: successfull!, I can create tables, views, etc. Double checking the user privileges it has all the required.
    2. tnsping: successfull!
    3. HFMApplicationCopy utility: Successfull using UDL file and writing the connection parameters.
    4. EPM System Configurator: the configurator successfully validates the database connection information, but does not create the tables on the database. No errors in the configtool log.
    5. EPM Diagnostic Tool: fails with this error message:
    ------------STARTING VALIDATION SCRIPTS----------
    LOGGING IN HFM....
    CREATING APPLICATION....
    ERROR: Unable to CreateApplicationCAS
    Number (dec) : -2147215936
    Number (hex) : &H800415C0
    Description  : <?xml version="1.0"?>
    +<EStr><Ref>{DC34A1FD-EE02-4BA6-86C6-6AEB8EF5E5A3}</Ref><AppName/><User/><DBUpdate>1</DBUpdate><ESec><Num>-2147467259</Num><Type>1</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>HfmADOConnection.cpp</File><Line>511</Line><Ver>11.1.2.2.300.3774</Ver><DStr>ORA-12154: TNS:could not resolve the connect identifier specified</DStr></ESec><ESec><Num>-2147215616</Num><Type>1</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxSQLConnectionPool.cpp</File><Line>585</Line><Ver>11.1.2.2.300.3774</Ver></ESec><ESec><Num>-2147215936</Num><Type>0</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxServerImpl.cpp</File><Line>8792</Line><Ver>11.1.2.2.300.3774</Ver></ESec><ESec><Num>-2147215936</Num><Type>0</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxServer.cpp</File><Line>90</Line><Ver>11.1.2.2.300.3774</Ver></ESec><ESec><Num>-2147215936</Num><Type>1</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxClient.cpp</File><Line>1356</Line><Ver>11.1.2.2.300.3774</Ver><PSec><Param><server_name></Param></PSec></ESec><ESec><Num>-2147215936</Num><Type>1</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxClient.cpp</File><Line>936</Line><Ver>11.1.2.2.300.3774</Ver></ESec><ESec><Num>-2147215936</Num><Type>0</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxClient.cpp</File><Line>4096</Line><Ver>11.1.2.2.300.3774</Ver></ESec></EStr>+
    Source       : Hyperion.HFMErrorHandler.1
    ERROR: while Application created
    7. HFM Classic application creation: fails with the following error:
    Error*11*<user_name+>*10/19/2012 08:30:52*CHsxServer.cpp*Line 90*<?xml version="1.0"?>+
    +<EStr><Ref>{DC34A1FD-EE02-4BA6-86C6-6AEB8EF5E5A3}</Ref><AppName/><User/><DBUpdate>1</DBUpdate><ESec><Num>-2147467259</Num><Type>1</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>HfmADOConnection.cpp</File><Line>511</Line><Ver>11.1.2.2.300.3774</Ver><DStr>ORA-12154: TNS:could not resolve the connect identifier specified</DStr></ESec><ESec><Num>-2147215616</Num><Type>1</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxSQLConnectionPool.cpp</File><Line>585</Line><Ver>11.1.2.2.300.3774</Ver></ESec><ESec><Num>-2147215936</Num><Type>0</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxServerImpl.cpp</File><Line>8792</Line><Ver>11.1.2.2.300.3774</Ver></ESec><ESec><Num>-2147215936</Num><Type>0</Type><DTime>10/19/2012 8:30:52 AM</DTime><Svr><server_name></Svr><File>CHsxServer.cpp</File><Line>90</Line><Ver>11.1.2.2.300.3774</Ver></ESec></EStr>+
    8. EPMA Application deployment: fails with same message.
    Please help me with some insights on this problem, I have tried everything but nothing works.
    Regards
    Edited by: Otein on 19-oct-2012 14:04

    Hi,
    I Have solved one of my problems, the one that keep HFM from connecting to the Oracle database.
    I just change the TNSNAMES.ORA, like this:
    Initial tnsnames.ora
    PRUEBA.WORLD=
    +(DESCRIPTION_LIST =+
    +(DESCRIPTION =+
    +(LOAD_BALANACE = ON)+
    +(FAILOVER = ON)+
    +(ADDRESS_LIST =+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = <server_name>)(PORT = <port>))+
    +)+
    +(CONNECT_DATA =+
    +(SERVICE_NAME = <service_name>)+
    +)+
    +)+
    +)+
    Modified tnsnames.ora
    PRUEBA.WORLD=
    +(DESCRIPTION =+
    +(LOAD_BALANACE = ON)+
    +(FAILOVER = ON)+
    +(ADDRESS_LIST =+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = <server_name>)(PORT = <port>))+
    +)+
    +(CONNECT_DATA =+
    +(SERVICE_NAME = <service_name>)+
    +)+
    +)+
    I Just delete the line "+(DESCRIPTION_LIST =+" and its corresponding closing parenthesis, I did this cause in the configuration utility log I saw this line:
    +TNS parsing: Entry: DESCRIPTION_LIST [[Address: Protocol:(TCP) Host:(<server_name>) Port:(1521) SID:(<service_name>)]]+
    So, if the applications were trying to connect to connection descriptor DESCRIPTION_LIST, the driver could not recognize DESCRIPTION_LIST as a valid one.
    There is a lot going on behind the scenes when you work with Oracle Database as the repository, maybe there is some other way to address this issue, but it worked for me, hope it can help you too.

  • ORA-12154 Error After Install of Enterprise Manager

    I have a new new laptop with minimal software installed. Everything was fine and I was able to connect to 4 different Oracle 9i databases.
    This morning I installed Oracle Enterprise Manager (10g) and now I get the dreaded ORA-12154 error.
    I now find a copy of TNSNAMES.ORA in three places. I have copied the correct version to the two new 10G locations and I have verified that all three copies of TNSNAMES.ORA and SQLNET.ORA are correct and identical.
    Do anybody have any idea what else could be wrong?

    I am certain the TNSNAMES.ORA file is fine as it is "pushed" from a central IT department. I have compared it to the one on a second computer (which has only 9i installed) in my office and they are identical.
    I examined the Oracle 9i directories and there was no LISTENER.ORA anywhere. On the 9i only computer the command - C:\>dir listener.ora /s /p executed in a DOS window returned no files.
    Everything was working fine until I installed Enterprise Manager 10g (10.2.0.2.1).
    I have TOAD installed and it connects to both of the 9i development and production databases, so I know the TNSNAMES.ORA is okay.
    It woudl seem that there is a conflict between 10g and 9i Developer/2000.

  • Ora 12154 error when trying to add a database to VS Server Explorer

    Hi Everyone,
    I get the Ora 12154 error when trying to add a database to VS Server Explorer.
    How do I get around this problem.
    The database service is running and I can connect to the database with pl/sql.
    I can also tnsping the database and that is also ok.
    Looks like a problem with the odp.net software.
    I am running the 32 bit Oracle 11g on a Windows7 Home Premium 64 bit PC.
    I am new to this stuff so please help me step by step.
    Thanks.
    Emad

    Hi J. B.
    I have a question related to this. After you told me about the //host:1521/database alias I tried it in a VB 2008 program and it worked and returned data. At least I know that it can be used in a VB program without issues. I just now need to be able to add a connection with the Server Explorer.
    Anyway here is the VB coding I used. I'm new to this and still learning:
    Imports Oracle.DataAccess.Client ' Visual Basic ODP.NET Oracle managed provider
    Public Class Form1
    ' String to connect to the database.
    Dim strConnectionString As String = _
    "Data Source=//emad-pc:1521/emadeva;User ID=scott;Password=tiger;" '
    ' Associate the connection string with a connection object.
    Dim objOracleConnection As New OracleConnection(strConnectionString)
    ' SQL query for returning data rows.
    Dim strSqlQuery As String = _
    "Select dname, deptno " & _
    "From dept " & _
    "Where deptno = 10" '
    ' Command object to make this query work.
    Dim objOracleCommand As New OracleCommand(strSqlQuery, objOracleConnection)
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    ' Identify what type of command is being used.
    objOracleCommand.CommandType = CommandType.Text
    Try
    objOracleConnection.Open()
    ' Set up a Data Reader and load it with data.
    Dim objOracleDataReader As OracleDataReader = _
    objOracleCommand.ExecuteReader()
    objOracleDataReader.Read()
    ' Convert the department number to a string.
    lblDepartmentNumberFromOracle.Text = _
    CStr(objOracleDataReader.Item("deptno"))
    Catch ex As Exception
    MessageBox.Show(ex.Message, "Error")
    End Try
    End Sub
    End Class
    I still want to thank you for the help you are providing.
    Truly,
    Emad

  • ORA-12154 on database link

    I have two oracle databases which I want to connect,
    these are the entries in tnsnames.ora
    UAT =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 10.16.72.166)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = uat849)
    itdev6 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 10.16.72.167)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = itdev6)
      )I logged into UAT and create the link.
    this is my sql for dblink creation
    CREATE public DATABASE LINK test1 CONNECT TO username IDENTIFIED BY password USING 'itdev6';
    this database link created successfully. But when I try to run a query against it I'm getting an error
    select * from kh_gps_email_info_tab@test1
    ORA-12154: TNS:could not resolve the connect identifier specified
    Can anyone help me on this please?

    Try this
    itdev6.world =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 10.16.72.167)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = itdev6.world)
    CREATE public DATABASE LINK test1 CONNECT TO username IDENTIFIED BY password USING 'itdev6.world';

  • ORA-12154: TNS:Could not connect to Oracle database.

    Hi All,
    I'm getting the following error while trying to access OBIEE dashboard.
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 12154, message: ORA-12154: TNS:could not resolve the connect identifier specified at OCI call OCIServerAttach. [nQSError: 17014] Could not connect to Oracle database. (HY000)
    I have oracle 10g R2, I can connect my database using SQLPLUS. I am not able to do Update Row Count from Admin tool also. If anyone come across this issue, please share your experience. Anyhelp would be appreciated.
    Thanks,
    Ravi

    The problem is OBIEE server not able to read the tnsnames.ora file. That depends upon the what you set as ORACLE_HOME. that can be find with tnsping command at command line. Follow this article about setting up oracle home and oci drivers
    http://oraclebizint.wordpress.com/2007/10/03/oracle-bi-ee-101332-identifying-oracle-homes-for-oci-drivers/
    please make sure that your DB-home is the first entry in your PATH environment variable.
    Have you created TNS_ADMIN environment variable. Create a environment variable TNS_ADMIN which maps to location where tnsnames.ora file located.
    let me know if you are not able to load after this steps.
    - Madan

Maybe you are looking for

  • Acrobat 9 Pro in CS4 - Acrobat X upgrade doesn't work with this!!!

    I bought this upgrade which recognised that there was a version of Acrobat on my system but later on during the installation, said it was not an eligible product.  Doubt very much I'll get a refund from the vendor now the package is opened and used.

  • Clearing CACHE and Web Previews in Safari 4.0.3???

    I had a problem where an old page was loading in a window of Safari and it was because the cache page was loading, not the real, new updated page. (Discovered by opening in FireFox...) Now I see that in /users/myname/Library/Caches there are 2 folder

  • Mini not going to sleep

    After installing the latest firmware 1.01 on my Intel CoreDuo Mini it no longer goes to sleep although the screen goes black at the prescribed time. I now have to press the button in the back to 'force' it to go to sleep. Has anybody else noticed thi

  • HDMI to mini displayport

    Hi The belkin av360 hdmi-to-mini displayport converter is used for ps3 xbox, does this also work with a PC, so in effect the iMac becomes an external display Many thanks

  • Trying to get rid of banding in an Illustrator CS6 image

    I'm working on a small project in Illustrator CS6, and a gradient within the project is quite visibly displaying banding. I would use Photoshop's dither to fix this, if not for the fact that I'm going to export this as an SVG, rather than a raster im