Ora-12154 VMWare Server Number of virtual CPUs

Installation of Oracle 10g completed successfully with 2 virtual CPUs configured. Listener and database services start automatically and the system behaves normally.
Restart VM, modify the Virtual CPU from 2 to 1, Listener and database services show as started, but the databases does not start. The alert log shows no attempt was made to start the db. Listener.log shows ora-12154.
A manual attempt to start of the database shows ora-12154. (via sqlplus)
Restart VM, switch back to 2 CPUs, (making no configuration changes to the listener.ora, tnsnames.ora or anything else) and the database starts ok.
Any ideas on how many Virtual CPUs configured could be affecting the start of the db?
Thanks!
Configuration:
OS Version: Windows 2003 Server
Oracle Version : 10.2.0.4 Enterprise Edition
Virtual CPUs: 2
Virtual Memory: 1G

Hi user624886
Can you please read that in metalink
Doc ID:      Note:114085.1
Subject:      TROUBLESHOOTING GUIDE: TNS-12154 TNS:could not resolve service name
Did you set proper tnsnames.ora file?
Here are the steps:
http://download-uk.oracle.com/docs/cd/B19306_01/network.102/b14212/troublestng.htm#CEGJAGGH
and also:
http://ayyudba.blogspot.com/2007/11/good-article-on-ora-12154.html

Similar Messages

  • Start Guest OS Automatically through VMware Server 2 Web Console

    Hi All,
    Does anyone know how to get the guest OS to automatically start/stop when VMware starts/stops?  The user's manual says to click on Edit Virtual Machine Startup/Shutdown Settings, but that link is not there for me under the Commands tab.  I also upgraded this from Hardware v4 to v7.  I'm not sure if that makes a difference.  Any thoughts or ideas would be greatly appreciated, because when my VMware server restarts, I cannot get it to automatically start the virtual machines.
    Reference from the User's Manual:
    Enabling System-Wide Startup and Shutdown Settings
    You can enable virtual machines to be started and shut down automatically and configure how and when virtual machines are started and shut down.
    To enable system-wide startup and shutdown settings
    1 Select the host in the Inventory panel.
    2 In the Commands section of the host Summary tab, click Edit Virtual Machine Startup/Shutdown Settings.
    This is within the VMware Server 2 user's guide under Managing Your VMware Server -> Configuring Virtual Machine Startup and Shutdown Settings

    Hi Paul,
    I see now what you mean.  You have to select the host for the entire system, not the guest OS.  That's what confused me. 
    Didn't previous versions have a link on there to define how the startup of the specific guest OS functioned?
    Chris

  • 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

  • TNS error ORA-12154 : can connect to one server but not to another.

    Hello,
    I have a Forms 6.0 application running on a Solaris box. It connects
    fine to an Oracle 9.0 server but fails with ORA-12154 when trying to
    connect to Oracle 10g running on a different server.
    'sqlplus' can connect fine to both servers .
    'tnsping'result is succesful from the Solaris client to both servers.
    Configuration details are as follows. (IP Addresses have been
    sanitised. I've included the client side listener and also entries for
    the 'local' Oracle 8i server running on the Solaris 'client' although
    I think some of this may be not relevant):
    1. Connecting to Server 9.0 : application CAN connect successfully:
    a. application URL
    http://host_ip_address:7778/dev60cgi/if60cgi?config=rack : application
    runs successfully
    b. client's formsweb.cfg excerpt:
    [rack]
    pageTitle=yadayada
    form=login01
    userid=user/pass@nn_rackspace
    archive=f60all.jar, oracle_ice-4_03_1.jar
    c. client's tnsnames.ora excerpt (local services not excluded):
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = sun1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = orcl)
    RR =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = sun1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = RR)
    NN_RACKSPACE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 1.2.33.44)(PORT =1521))
    (CONNECT_DATA =
    # (SERVER = DEDICATED)
    (SERVICE_NAME = QQ1.QONNECTIS.COM)
    NN_QQ3 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 2.3.44.55)(PORT = 1521))
    (CONNECT_DATA =
    # (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.qonnectis.com)
    NN_QQ3.qonnectis.com =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 2.3.44.55)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 2.3.44.55)(PORT = 1521))
    (CONNECT_DATA =
    # (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.qonnectis.com)
    d. client's sqlnet.ora: contains ONLY:
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
    e. client's listener.ora excerpt:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /space/oracle/OraHome1)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = orcl)
    (ORACLE_HOME = /space/oracle/OraHome1)
    (SID_NAME = orcl)
    (SID_DESC =
    (GLOBAL_DBNAME = NN)
    (ORACLE_HOME = /space/oracle/OraHome1)
    (SID_NAME = NN)
    (SID_DESC =
    (GLOBAL_DBNAME = RR)
    (ORACLE_HOME = /space/oracle/OraHome1)
    (SID_NAME = RR)
    f. remote server's tnsnames.ora excerpt:
    QQ1.QONNECTIS.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = qanasta1.qonnectis.com)
    (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = QQ1.qonnectis.com)
    QQ1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)
    (HOST = qanasta1.qonnectis.com)
    (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = QQ1)
    QQ3.QONNECTIS.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 2.3.44.55)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = orcl.qonnectis.com)
    g. remote server's sqlnet.ora contains only:
    NAMES.DEFAULT_DOMAIN = qonnectis.com
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
    h. remote server's listener.ora excerpt:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)
    (HOST =qanasta1.qonnectis.com)
    (PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /opt/oracle/product/9.2.0.1.0)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = QQ1.qonnectis.com)
    (ORACLE_HOME = /opt/oracle/product/9.2.0.1.0)
    (SID_NAME = QQ1)
    i. on Solaris client, tnsping nn_rackspace : succeeds
    j. on Solaris client, sqlplus user/pass@nn_rackspace: succeeds
    k. on server, Oracle server processes have names like ora_d000_QQ1.
    l. on server, Oracle connected listener processes show up in ps
    listing like oracleQQ1 (LOCAL=NO)
    m. On server, lsnrctl status reports amongst other things
    Service "QQ1.qonnectis.com" has 2 instance(s).
    Instance "QQ1", status UNKNOWN, has 1 handler(s) for this service...
    Instance "QQ1", status READY, has 1 handler(s) for this service...
    2. Connecting to Server 10g : application does NOT connect successfully:
    a. application URL
    http://host_ip_address:7778/dev60cgi/if60cgi?config=rack2
    b. client's formsweb.cfg excerpt:
    [rack2]
    pageTitle=yadayada
    form=login01
    userid=user/pass@nn_qq3
    archive=f60all.jar, oracle_ice-4_03_1.jar
    c. client's tnsnames.ora excerpt (local services not excluded):
    -as above-
    d. client's sqlnet.ora: contains ONLY:
    -as above-
    e. client's listener.ora excerpt:
    -as above-
    f. remote server's tnsnames.ora excerpt:
    # default sid 'orcl' : for local access
    orcl =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.qonnectis.com)
    # QQ3_Vlan : default sid 'orcl' : access over 10. private net from qq1
    QQ3_VLAN =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.99.99.99)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.qonnectis.com)
    # nn_qq3 : default sid 'orcl' : access from external sites by public
    # external IP - specifically sun admin dba tool in twx
    NN_QQ3 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 2.3.44.55)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.qonnectis.com)
    g. remote server's sqlnet.ora contains only:
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    NAMES.DEFAULT_DOMAIN = qonnectis.com
    h. remote server's listener.ora excerpt:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/OraHome_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = orcl)
    (ORACLE_HOME = /u01/app/oracle/OraHome_1)
    (SID_NAME = orcl)
    i. on Solaris client, tnsping nn_qq3 : succeeds
    j. on Solaris client, sqlplus user/pass@nn_qq3: succeeds
    k. on server, Oracle server processes have names like ora_d000_orcl .
    l. on server, Oracle connected listener processes show up in ps
    listing like oracleorcl (LOCAL=NO)
    m. On server, lsnrctl status reports amongst other things
    Service "orcl" has 1 instance(s).
    Instance "orcl", status UNKNOWN, has 1 handler(s) for this
    service...
    Service "orcl.qonnectis.com" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    As you can see, I have tried adding an alias for the default domain
    name suffix '.qonnectis.com' in the tnsnames.ora files on the solaris
    client and on the new 10g server.
    Just to add to the fun, the 'new' server running Ora 10g CANNOT connect
    to the old server running Ora 9:
    sqlplus user/pass@nn_qq3
    sqlplus user/pass@nn_qq3.qonnectis.com both fail.
    While the old 9.0 server CAN connect to the new 10g one:
    sqlplus user/[email protected] succeeds.
    Sorry this is such a mess. TBH I find this whole area extremely
    confusing.
    All suggestions welcome. Unfortunately I am away on holiday next week
    but will follow up any leads when I get back.
    thanks!
    Victor Churchill.

    Hi DianeinBirmingham,
    Welcome to the Apple Discussions
    The Log goes further
    Chat ended with error -8
    Video Conference Error Report:
    Video Conference Support Report:
    Video Conference User Report:
    Binary Images Description for "iChat":
    This bit suggests the ports are not open.
    Intermittent success like this And the ports not being open suggests a Modem that might be SIP aware such a Thomson-Alcatel Speedtouch device.
    Can you tell us what modem you have ?
    7:55 PM Friday; July 13, 2007

  • Cannot sqlplus sys as sysdba from remote server :ORA-12154

    Hi,
    I am trying to connect from linux VM app server to the database as sys as sysdba but it returns TNS error. I verified that listener is up, the REMOTE_LOGIN_PASSWORDFILE is exclusive and there is password file.
    [ORACLE@SERVER admin]$ sqlplus sys as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Apr 12 21:45:08 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Enter password:
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    ==============================================
    It works when I give the DB name
    [ORACLE@SERVER admin]$ sqlplus sys@ODB2 as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Apr 12 21:49:50 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>
    ==================================================
    Could anyone please help me with the issue ?
    Edited by: Cherrish on Apr 12, 2013 10:53 PM

    Cherrish wrote:
    Hi,
    I am trying to connect from linux VM app server to the database as sys as sysdba but it returns TNS error. I verified that listener is up, the REMOTE_LOGIN_PASSWORDFILE is exclusive and there is password file.
    [ORACLE@SERVER admin]$ sqlplus sys as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Apr 12 21:45:08 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Enter password:
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specifiedRealize that sqlplus line above shows no @TNS_ALIAS so no SQL*Net should be used to connect.
    please type EXACTLY (line for line) as shown below
    env | sort
    sqlplus
    / as sysdba
    COPY the results from above then PASTE all back here

  • The server could not be found on the network ORA-12154

    Hi All,
    I have problem with one application. She run with Oracle DB. I installed Win2008R2 x64 and Oracle DB 32bit on the same server. I tried connect to DB via Oracle SQL Developer and SQL Plus and both run without problem, but when I insert the same parameters into application OpenText Content Server 10, then I see this Error:
    Content Server Error:
    [Error: The server could not be found on the network. ----> Error stack ----> 1) E675414020:The server could not be found on the network.:ORA-12154: TNS:could not resolve the connect identifier specified ]
    This application need only 3 parameters (System User Name, password and service name). I compare it with ORA files (listener, sqlnet and tnsnames) and I think that all is right. Here are this three files
    listener:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = WIN-R0OEE0OAE5Z)(PORT = 1521))
    sqlnet:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    tnsnames
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = WIN-R0OEE0OAE5Z)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    Do you have any idea where is problem?
    Thank you
    Vaclav

    893964 wrote:
    Hi All,
    I have problem with one application. She run with Oracle DB. I installed Win2008R2 x64 and Oracle DB 32bit on the same server. I tried connect to DB via Oracle SQL Developer and SQL Plus and both run without problem, but when I insert the same parameters into application OpenText Content Server 10, then I see this Error:
    Content Server Error:
    [Error: The server could not be found on the network. ----> Error stack ----> 1) E675414020:The server could not be found on the network.:ORA-12154: TNS:could not resolve the connect identifier specified ]
    This application need only 3 parameters (System User Name, password and service name). I compare it with ORA files (listener, sqlnet and tnsnames) and I think that all is right. Here are this three files
    listener:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = WIN-R0OEE0OAE5Z)(PORT = 1521))
    sqlnet:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    tnsnames
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = WIN-R0OEE0OAE5Z)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    Do you have any idea where is problem?
    Thank you
    VaclavYou listener has nothing to do with this error. Your request for a connection never left the client machine.
    http://edstevensdba.wordpress.com/2011/02/26/ora-12154tns-03505/

  • Licensing number invalid - VMWare Server 2.0.2 on Windows XP

    Hi,
    I installed the vmware 2.0.2 server and created a vm and got the no-license message. Then tried to enter the license for windows from the download page and vmware server said that the license number is invalid. Searched the forum and deinlstalled the vmware server and reinstalled it. During install it did not ask for a key. After installation tried to enter the key and it did not accet it. Please help.
    Best regards

    Here seem to be 2 solutions.
    1. Uninstall the software together with serial key (the uninstall must ask about it).Then reinstall.
    2.  Find the registry key
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\VMware, Inc.\VMware Server
    for 64 bit or
    [HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc.\VMware Server
    for 32-bit. Delete the value License.vs.1.0-00 .
    Then add to the key Dormant\License.gsx.3.0-00 the following values:
    "Serial"="<new_serial>"
    "Name"="<Name>"
    "CompanyName"="<Company_name>"
    "LastModified"="2008-12-01 @ 16:00:00 UTC"
    and restart VMWare Host Agent service.
    Paul Svirin
    StarWind Software developer ( http://www.starwindsoftware.com )

  • Hyper-V Question -- Running Hyper-V or VMWare on a Windows Virtual Server

    So my research tells me there likely is not a way to do this, but I think someone must have run into it before or there has been a previous need.
    We have recently had two Windows Server 2012 R2 Standard virtual machines created for our use in our data center.  We are using them to run a series of web scanning and monitoring tools.  We want to run these tools within various Windows OS environments
    with different combinations of browsers/applications/etc, making VMs the obvious way to go (preferably multiple VMs per virtual server).  I don't know much about the virtual data center here, but when I try to enable Hyper-V, the system tells me it is
    running and cannot run within itself.  Likewise, if I try to install VMWare, it tells me it is not compatible with Hyper-V.
    This may be akin to asking for Inception, but is there a way around it?  Does anyone know of a way to run a VM inside a virtual server, or does anyone see an alternate solution?  So far the only one I've come up with is to requisition physical
    servers, install Windows Server 2012 on each, and then use a single level of either Hyper-V or VMWare to create the virtual machines we need.  
    Any information is greatly appreciated.

    I think you might be missing something here.
    You have Server Standard installed on the Bare metal.  Then you add the Hyper-V Role.  Then you open the Hyper-V Management Console and you begin creating VMs.
    You do not add the Hyper-V Role within a virtual machine (VM).
    The same process goes for VMware (ESX) - You install ESX on the bare metal, then you open the manager and you create VMs.
    Now, if all you have are two VMs (which your first statement sounds like) you cannot enable Hyper-V in the VMs and then run nested VMs in that VM.  This just does not work today.
    XenServer can do this in a real way, but only with x86 paravirtualized Linux machines.  And ESX can do this with some very specific emulation settings - and at that your eyes probably just glazed over.
    To do this right, you need the physical machines.
    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.

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

  • Hi...Please help...Getting ORA 12154 TNS Listener could not resolve...

    Hi,
    I have just loaded Oracle 10g Rel 2 in Win 2003 Enterprise Edition.
    But when I try to connect to sqlplus, I am getting ORA -12154 : TNS: Listener could not resolve the connect identified specified.
    I have registered the database, the listener and tnsnames have been set correctly.
    I have also set the Oracle Home environment variable.
    Still getting the error.
    Any help will be highly appreciated.
    Thanks,

    I agree
    ORA-12145: (does not exist in the standard manuals)
    ORA-12154: TNS:could not resolve the connect identifier specified
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    ORA-12541: TNS:no listener
    It is pretty easy to fat-finger these 4 message numbers. As a result, when a person has the actual and complete error message and an error number for a different message, it is usually not a bad idea to use the actual message. (Based on transposing only 3 digits compared to typing over 50 characters correctly.)
    In this case the OP has really bollixed things: Subject implies a true 12154, text in the thread is an actual 12514 but mentions 12154.
    As a result, there are several potentially correct answers, depending on the interpretation of the question.
    - sb92075 gave the correct answer based on the number
    - I gave the correct answer based on the message in the thread
    - Anurag and Ed gave the correct answer based on 'the question is not formed correctly'
    Edited by: Hans Forbrich on Jan 24, 2010 7:13 AM
    (BTW - ORA-12415 and ORA-12451 are the other permutations ... described http://download.oracle.com/docs/cd/B19306_01/server.102/b14219/e12400.htm#sthref3357)

  • Error in vmware server 1.0.4 & solaris 10

    After I add a scsi disk, then network can not work. Why ?
    Error is:
    Failed to plumb IPv4 interface(s): pcn0
    Failed to configure IPv4 DHCP interface(s): pcn0
    this is the VMX:
    config.version = "8"
    virtualHW.version = "4"
    scsi0.present = "TRUE"
    scsi0.virtualDev = "lsilogic"
    memsize = "1024"
    MemAllowAutoScaleDown = "FALSE"
    ide0:0.present = "TRUE"
    ide0:0.fileName = "Solaris 10 (experimental).vmdk"
    ide1:0.present = "TRUE"
    ide1:0.fileName = "G:\Software\Sun\Solaris 10 for X86\sol-10-u4-ga-x86-dvd.iso"
    ide1:0.deviceType = "cdrom-image"
    floppy0.fileName = "A:"
    ethernet0.present = "TRUE"
    ethernet0.virtualDev = "e1000"
    sound.present = "TRUE"
    sound.virtualDev = "es1371"
    sound.fileName = "-1"
    sound.autodetect = "TRUE"
    displayName = "Solaris 10 (experimental)"
    guestOS = "solaris10"
    nvram = "Solaris 10 (experimental).nvram"
    ide1:0.autodetect = "TRUE"
    floppy0.startConnected = "FALSE"
    sound.startConnected = "FALSE"
    ide0:0.redo = ""
    ethernet0.addressType = "generated"
    uuid.location = "56 4d 1e dd 23 f8 b6 7f-90 e9 b2 f6 f3 d3 26 d8"
    uuid.bios = "56 4d 1e dd 23 f8 b6 7f-90 e9 b2 f6 f3 d3 26 d8"
    tools.remindInstall = "TRUE"
    ethernet0.generatedAddress = "00:0c:29:d3:26:d8"
    ethernet0.generatedAddressOffset = "0"
    scsi1.present = "TRUE"
    scsi1:0.present = "TRUE"
    scsi1:0.fileName = "D:\Virtual Machines\Solaris\share\datadisk1.vmdk"
    scsi1:0.mode = "independent-persistent"
    scsi1.virtualDev = "lsilogic"
    priority.grabbed = "normal"
    priority.ungrabbed = "normal"
    scsi1:0.redo = ""

    I have faced a similar problem, but I was testing a lot of things simultaneously (not very smart obviously), of which was adding SCSI and IDE disks.
    Anyway:
    I am running VMware server 1.0.4 on Windows XP.
    I have a Solaris 10 8/07 virtual machine installed.
    The VM is NATing through the host os's network.
    I have two network adapters (physically on my laptop), one wireless and one wired, I can have any combination of them being enabled or disabled according to where I am working, and sometimes I start the virtual machine with neither of them enabled.
    When I installed the Solaris VM, the network interface was configured as pcn0. At some point (don't know exactly what i was testing then) pcn0 was no longer available and pcn1 suddenly appeared. Later on this happened again and pnc1 disappeared and I got pcn2.
    As far as I can tell this happens when I start the VM with a different combination of NIC's enabled / disable , i.e. for some reason, having a different physical interface enabled causes Solaris in the VM to configure a different instance of the pcn interface.
    I am not sure yet if this is really what is going on, but for now I am focusing on testing what is running on the vm rather than giving in to my technical cravings to get to the roots of this problem, so for a quick fix, just grep for pcn in /etc/path_to_inst, and try plumbing the instances you find there. The one that does not return an error is the one that is currently working.
    Just change your hostname.pcnx or pcnx.dhcp file to reflect the correct instance number and do an "svcadm clear physical" this will get your network started and start all the dependent services.
    Hope this helps.

  • ORA-12154: Error when connecting to asm instance

    hi all, I am now facing new problem with asm of clusterware, I failed to connect to asm instance, there is how I did it:
    sqlplus /nologSQL*Plus: Release 11.2.0.1.0 Production on Wed Jul 7 04:58:52 2010
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    SQL> connect sys@+ASM as sysasm
    Enter password:
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    I consider listener is correct configed.
    lsnrctl statusLSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 07-JUL-2010 08:51:49
    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 - Produ
    ction
    Start Date 05-JUL-2010 22:12:29
    Uptime 1 days 6 hr. 39 min. 23 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File E:\app\11.2.0\grid\network\admin\listener.ora
    Listener Log File e:\app\11.2.0\grid\log\diag\tnslsnr\rac1\listener\aler
    t\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\LISTENERipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.110)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.112)(PORT=1521)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+asm2", status READY, has 1 handler(s) for this service...
    Service "itpub" has 1 instance(s).
    Instance "itpub2", status READY, has 1 handler(s) for this service...
    Service "itpubXDB" has 1 instance(s).
    Instance "itpub2", status READY, has 1 handler(s) for this service...
    The command completed successfully
    How to resolve the promblem? Best regards..

    thank you for you kind.. I forgot it... but after I modify tnsname.ora, Error number changed..
    tnsname.ora:
    # tnsnames.ora Network Configuration File: E:\oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ITPUB =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac-cluster-scan)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = itpub)
    +ASM =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac-cluster-scan)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = +ASM)
    *>sqlplus /nolog*
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Jul 7 12:50:07 2010
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    SQL> connect sys@+asm as sysasm
    Enter password:
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    SQL>
    tnsping +asmTNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 07-JUL-2
    010 12:51:09
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    E:\oracle\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = rac-clus
    ter-scan)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = +as
    m)))
    OK (20 msec)

  • ORA-12154 could not resolve the connect indentifier specified

    [http://www.freeimagehosting.net/image.php?793d240bb3.jpg]
    when i try to install oracle 10g i find this problem i wish you help me

    user473080 wrote:
    [http://www.freeimagehosting.net/image.php?793d240bb3.jpg]
    when i try to install oracle 10g i find this problem i wish you help meIn the future please work from a command line and use copy and paste to put commands and results in your posts. Many people's corporate nets block access to blog sites.
    I have recently blogged extensively on this very subject. See edstevensdba.wordpress.com. I can't post a link to the exact article, because my corporate website blocks access to blog sites. I have also, many many times posted on this error in this forum, which a cursory search would have turned up. But once again, back by popular request:
    =================================
    ORA-12154: TNS:could not resolve the connect identifier specified
    This error means one thing, and one thing only. The client could not find the specified entry in the tnsnames.ora file being used.
    As a follow-on to that statement, remember that when you use a dblink, the database in which the link is defined is acting as a client to the database that is the target of the link. So in this case, the tnsnames.ora file on the host of your source should have an entry for your target db, as defined in the db_link.
    And for the umpteenth time ... this error has <b><i><u>NOTHING</u></i></b> to do with the status of a listener. The connection request never got far enough to reach a listener. If anyone tells you to check a listener in response to ora-12154, they are not paying attention, or do not understand how TNS works. This error is the equivalent of not being able to place a telephone call because you don't know the number of the party you want to reach. You wouldn't debug that situation by going to the other guy's house and testing his telephone, or by going to the phone company and testing the switchboard. And you don't debug a ORA-12154 by checking the listener. If I had a top ten list of "Incredibly Simple Concepts (tm)" that should be burned into the brain of everyone who claims to be an Oracle DBA, it would include "ORA-12154 Has Nothing To Do With The Listener".
    =================================
    A couple of important points.
    First, the listener is a server side only process. It's entire purpose in life is to receive requests for connections to databases and set up those connections. Once the connection is established, the listener is out of the picture. It creates the connection. It doesn't sustain the connection. One listener, with the default name of LISTENER, running from one oracle home, listening on a single port, will serve multiple database instances of multiple versions running from multiple homes. It is an unnecessary complexity to try to have multiple listeners or to name the listener as if it belongs to a particular database. That would be like the telephone company building a separate switchboard for each customer.
    Additional notes on the listener: One listener is capable of listening on multiple ports. But please notice that it is the listener using these ports, not the database instance. You can't bind a specific listener port to a specific db instance. Similarly, one listener is capable of listnening on multiple IP addresses (in the case of a server with multiple NICs) But just like the port, you can't bind a specific ip address to a specific db instance.
    Second, the tnsnames.ora file is a client side issue. It's purpose is for address resolution - the tns equivalent of the 'hosts' file further down the network stack. The only reason it exists on a host machine is because that machine can also run client processes.
    Assume you have the following in your tnsnames.ora:
    larry =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = curley)
      )Now, when you issue a connect, say like this:
    $> sqlplus scott/tiger@larrytns will look in your tnsnames.ora for an entry called 'larry'. Finding it, tns sends a request through the normal network stack to (PORT = 1521) on (HOST = myhost) using (PROTOCOL = TCP), asking for a connection to (SERVICE_NAME = curley).
    Where is (HOST = myhost) on the network? When the request gets passed from tns to the next layer in the network stack, the name 'myhost' will get resolved to an IP address, either via a local 'hosts' file, via DNS, or possibly other less used mechanisms. You can also hard-code the ip address (HOST = 123.456.789.101) in the tnsnames.ora.
    Next, the standard networking process delivers the message to port 1521 on myhost. Hopefully, there is a listener on myhost configured to listen on port 1521, and that listener knows about SERVICE_NAME = curley. If so, the listener will spawn a server process to act as the intermediary between your client and the database instance. Communication to the server process will be on a randomly selected available port. At that point the listener is out of the process and continues to user port 1521 to await other connection requests.
    What can go wrong?
    First, there may not be an entry for 'larry' in your tnsnames. In that case you get "ORA-12154: TNS:could not resolve the connect identifier specified" No need to go looking for a problem on the host, with the listener, etc. If you can't place a telephone call because you don't know the number (can't find your telephone directory (tnsnames.ora) or can't find the party you are looking for listed in it (no entry for larry)) you don't look for problems at the telephone switchboard.
    Maybe the entry for larry was found, but myhost couldn't be resolved to an IP address (say there was no entry for myhost in the local hosts file). This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe there was an entry for myserver in the local hosts file, but it specified a bad IP address. This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe the IP was good, but there is no listener running: "ORA-12541: TNS:no listener"
    Maybe the IP was good, there is a listener at myhost, but it is listening on a different port. "ORA-12560: TNS:protocol adapter error"
    Maybe the IP was good, there is a listener at myhost, it is listening on the specified port, but doesn't know about SERVICE_NAME = curley. "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor"
    Third: If the client is on the same machine as the db instance, it is possible to connect without referencing tnsnames and without going through the listener.
    Now, when you issue a connect, say like this:
    $> sqlplus scott/tigertns will attempt to establish an IPC connection to the db instance. How does it know the name of the instance? It uses the current value of the enviornment variable ORACLE_SID. So...
    $> export ORACLE_SID=fred
    $> sqlplus scott/tigerIt will attempt to connect to the instance known as "fred". If there is no such instance, it will, of course, fail. Also, if there is no value set for ORACLE_SID, the connect will fail.
    check executing instances to get the SID
    [oracle@vmlnx01 ~]$ ps -ef|grep pmon|grep -v grep
    oracle    4236     1  0 10:30 ?        00:00:00 ora_pmon_vlnxora1set ORACLE_SID appropriately, and connect
    [oracle@vmlnx01 ~]$ export ORACLE_SID='vlnxora1
    [oracle@vmlnx01 ~]$ sqlplus scott/tiger
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:42:37 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing optionsNow set ORACLE_SID to a bogus value, and try to connect
    SQL> exit
    [oracle@vmlnx01 ~]$ export ORACLE_SID=FUBAR
    [oracle@vmlnx01 ~]$ sqlplus scott/tiger
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:42:57 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    Enter user-name: Now set ORACLE_SID to null, and try to connect
    [oracle@vmlnx01 ~]$ export ORACLE_SID=
    [oracle@vmlnx01 ~]$ sqlplus /scott/tiger
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:43:24 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    ERROR:
    ORA-12162: TNS:net service name is incorrectly specifiedOk, that is how we get from the client connection request to the listener. What about the listener's part of all this?
    The listener is very simple. It's job is to listen for connection requests and make the connection (server process) between the client and the database instance. Once that connection is made, the listener is out of the picture. If you were to kill the listener, all existing connections would continue. The listener is configured with the listener.ora file, but if that file doesn't exist, the listener is quite capable of starting up with all default values. One common mistake with the listner configuration is to specify "HOST=localhost" or "HOST=127.0.01". This is a NONROUTABLE ip address. LOCALHOST and ip address 127.0.0.1 always mean "this machine on which I am sitting". So, all computers are known as "localhost" or "127.0.0.1". If you specify this address, the listener will only be capable of receiving requests from the machine on which it is running. If you specified that address in your tnsnames file - on a remote client machine - the request would be routed to the machine on which the requesting client resides. Probably not what you want.
    =====================================

  • Oracle 10g installation ora 12154 i really need help anyone

    history: reinstallation, can't pass ora 12154; system windows xp sp2 problem ora 12154
    Destination Folder: L:\oraclexe\
    Port for 'Oracle Database Listener': 1521
    Port for 'Oracle Services for Microsoft Transaction Server': 2030
    Port for HTTP Listener: 8081
    My friend, I believe you created a mess by Installing Oracle 10g Enterprise with your DHCP enable in Windows.
    There are only 2 options if you want to install Oracle 10g Enterprise on Windows.
    1. You install it using Static IP or not connected to network
    2. You install Microsoft Loopback, it is a virtual Network driver and this should be assigned as your primary Network driver instead of your current Network.
    So if you don't want any headache, the easiest way is uninstall your Oracle 10g, disable the DHCP and use static instead, then install again. that will work for sure.
    Don't try to play with the listener and everything because you will get into deeper and deeper problem that end up into frustration :(
    cheers
    Edited by: Chubbyd4d on May 19, 2009 12:58 PM
    Destination Folder: L:\oraclexe\
    Port for 'Oracle Database Listener': 1521
    Port for 'Oracle Services for Microsoft Transaction Server': 2030
    Port for HTTP Listener: 8081
    My friend, I believe you created a mess by Installing Oracle 10g Enterprise with your DHCP enable in Windows.
    There are only 2 options if you want to install Oracle 10g Enterprise on Windows.
    1. You install it using Static IP or not connected to network
    2. You install Microsoft Loopback, it is a virtual Network driver and this should be assigned as your primary Network driver instead of your current Network.
    So if you don't want any headache, the easiest way is uninstall your Oracle 10g, disable the DHCP and use static instead, then install again. that will work for sure.
    Don't try to play with the listener and everything because you will get into deeper and deeper problem that end up into frustration :(
    cheers
    Edited by: Chubbyd4d on May 19, 2009 12:58 PM
    clean start
    ================================================================================================================
    Output generated from configuration assistant "Oracle Net Configuration Assistant":
    Parsing command line arguments:
    Parameter "orahome" = N:\oracle10g
    Parameter "orahnam" = OraDb10g_home1
    Parameter "instype" = typical
    Parameter "inscomp" = client,oraclenet,javavm,server,ano
    Parameter "insprtcl" = tcp,nmp
    Parameter "cfg" = local
    Parameter "authadp" = NO_VALUE
    Parameter "nodeinfo" = NO_VALUE
    Parameter "responsefile" = N:\oracle10g\network\install\netca_typ.rsp
    Done parsing command line arguments.
    Oracle Net Services Configuration:
    Profile configuration complete.
    The information provided for this listener is currently in use by other software on this computer.
    Listener start failed. Listener may already be running.
    Listener configuration complete.
    Default local naming configuration complete.
    Oracle Net Services configuration successful. The exit code is 0
    Configuration assistant "Oracle Net Configuration Assistant" succeeded
    ================================================================================================================
    Output generated from configuration assistant "iSQL*Plus Configuration Assistant":
    iSQL*Plus 10.1.0.2.0
    Copyright (c) 2004 Oracle. All rights reserved.
    Starting iSQL*Plus ...
    iSQL*Plus started.
    Configuration assistant "iSQL*Plus Configuration Assistant" succeeded
    ================================================================================================================
    Output generated from configuration assistant "Oracle Database Configuration Assistant":
    Configuration assistant "Oracle Database Configuration Assistant" failed
    ================================================================================================================
    Output generated from configuration assistant "Oracle Database Configuration Assistant" (attempt 2):
    Configuration assistant "Oracle Database Configuration Assistant" failed
    ================================================================================================================
    Output generated from configuration assistant "Oracle Database Configuration Assistant" (attempt 3):
    Configuration assistant "Oracle Database Configuration Assistant" failed
    install microsoft loop back adapter okay
    ip 10.10.1.1
    255.255.255.0
    still ora 12154
    disable dhcp client on services.msc
    still ora 12154
    pls help
    this is a fresh install
    do i need to remove my oracle 10xe which is perfect working installed on a different drive
    pls help me
    Edited by: oraclehelper on May 20, 2009 1:45 AM

    Destination Folder: L:\oraclexe\
    Port for 'Oracle Database Listener': 1521
    Port for 'Oracle Services for Microsoft Transaction Server': 2030
    Port for HTTP Listener: 8081
    My friend, I believe you created a mess by Installing Oracle 10g Enterprise with your DHCP enable in Windows.
    There are only 2 options if you want to install Oracle 10g Enterprise on Windows.
    1. You install it using Static IP or not connected to network
    2. You install Microsoft Loopback, it is a virtual Network driver and this should be assigned as your primary Network driver instead of your current Network.
    So if you don't want any headache, the easiest way is uninstall your Oracle 10g, disable the DHCP and use static instead, then install again. that will work for sure.
    Don't try to play with the listener and everything because you will get into deeper and deeper problem that end up into frustration :(
    cheers
    Edited by: Chubbyd4d on May 19, 2009 12:58 PM
    Destination Folder: L:\oraclexe\
    Port for 'Oracle Database Listener': 1521
    Port for 'Oracle Services for Microsoft Transaction Server': 2030
    Port for HTTP Listener: 8081
    My friend, I believe you created a mess by Installing Oracle 10g Enterprise with your DHCP enable in Windows.
    There are only 2 options if you want to install Oracle 10g Enterprise on Windows.
    1. You install it using Static IP or not connected to network
    2. You install Microsoft Loopback, it is a virtual Network driver and this should be assigned as your primary Network driver instead of your current Network.
    So if you don't want any headache, the easiest way is uninstall your Oracle 10g, disable the DHCP and use static instead, then install again. that will work for sure.
    Don't try to play with the listener and everything because you will get into deeper and deeper problem that end up into frustration :(
    cheers
    Edited by: Chubbyd4d on May 19, 2009 12:58 PM
    clean start
    ================================================================================================================
    Output generated from configuration assistant "Oracle Net Configuration Assistant":
    Parsing command line arguments:
    Parameter "orahome" = N:\oracle10g
    Parameter "orahnam" = OraDb10g_home1
    Parameter "instype" = typical
    Parameter "inscomp" = client,oraclenet,javavm,server,ano
    Parameter "insprtcl" = tcp,nmp
    Parameter "cfg" = local
    Parameter "authadp" = NO_VALUE
    Parameter "nodeinfo" = NO_VALUE
    Parameter "responsefile" = N:\oracle10g\network\install\netca_typ.rsp
    Done parsing command line arguments.
    Oracle Net Services Configuration:
    Profile configuration complete.
    The information provided for this listener is currently in use by other software on this computer.
    Listener start failed. Listener may already be running.
    Listener configuration complete.
    Default local naming configuration complete.
    Oracle Net Services configuration successful. The exit code is 0
    Configuration assistant "Oracle Net Configuration Assistant" succeeded
    ================================================================================================================
    Output generated from configuration assistant "iSQL*Plus Configuration Assistant":
    iSQL*Plus 10.1.0.2.0
    Copyright (c) 2004 Oracle. All rights reserved.
    Starting iSQL*Plus ...
    iSQL*Plus started.
    Configuration assistant "iSQL*Plus Configuration Assistant" succeeded
    ================================================================================================================
    Output generated from configuration assistant "Oracle Database Configuration Assistant":
    Configuration assistant "Oracle Database Configuration Assistant" failed
    ================================================================================================================
    Output generated from configuration assistant "Oracle Database Configuration Assistant" (attempt 2):
    Configuration assistant "Oracle Database Configuration Assistant" failed
    ================================================================================================================
    Output generated from configuration assistant "Oracle Database Configuration Assistant" (attempt 3):
    Configuration assistant "Oracle Database Configuration Assistant" failed
    install microsoft loop back adapter okay
    ip 10.10.1.1
    255.255.255.0
    still ora 12154
    disable dhcp client on services.msc
    still ora 12154
    pls help
    this is a fresh install
    do i need to remove my oracle 10xe which is perfect working installed on a different drive
    pls help me

  • ODBC-datasource generating ORA-12154 (possible listener issue)

    Hi,
    I am trying to configure ao ODBC-datasoure from a client (using instant client 11.2) to a 11.2g Oracle DB server. The database listener is configured to use a non standard port 1700 in this case.
    There is a firewall between the client and the server which is configured to allow connections to the database server on the specified port, when I use telnet from the client to the server, the connection opens on this port, but when I try to test the odbc-datasource I have configured ig et the error ORA-12154.
    The link below outlines the details of the error:
    http://ora-12154.ora-code.com/
    To the context should be added, that there is no problem to use SQL Plus from a computer behind the firewall to connect to the database server using the TNS name that is being used in the ODBC-datasource.
    I have tried to configure the odbc-datasource using both a tns_names.ora file, and also directly in the odbc-datasource using //[ip address] : [port]/TNS_NAME. Both ways of configuring the odbc-datasource generates the same error. I am currently suspecting that the error might be due to some sort of connection redirection on the part of the tns listener on the database server which triggers the firewall to terminate the connection. Could this be the case?
    Does anyone have any suggestions what this error might be caused by. Any suggestions on how to continue my troubleshooting would also be valueble. Further, what kind of configuration would need to be inplace, on the tns-listener / database server side to make this sort of configuration to work.
    Finally, I should also ask that I have tested the same ODBC-datasource configuration in a test system without any firewall inbetween, and that configuration works fine, so there seems to be no problem with the client software configuration per se.
    Any help is apprichated.
    /Eaglecoth

    Cabelcow wrote:
    I managed to solve this issue myself.
    Since there seems to be some problem locating the server I added "HOSTNAME" to the following line in the SQLNET.ORA file on the server:
    names.directory_path = (HOSTNAME,TNSNAMES)
    This solved the issue by using the following syntax in the ODBC Configuration:
    TNS Service Name: [ip-address]:[port]/[TNS NAME]
    Where the TNS_NAME should be that of the TNS_NAME for the database defined in the TNSNAMES_ORA at the server. Note that this value is case sensetivetnsnames.ora is ONLY used by the client side application. It is the tns complement to the local 'hosts' file. It is used by the CLIENT to resolve an alias (tns net service name) to a host (ultimately an ip), port, and service name. Your assertion that the tns_name should be ... hmm, now that I read that again, are you saying that the tnsnames entry on the client should match the one in the tnsnames file on the server? If so, yes and no. There is no technical requirement that they match. It is simply that it is usually assumed that the one on the server is correct and may be used as a model for what to do on the client. The server - acting as a server - doesn't even use the tnsnames.ora file. It exists on the server only to support any client process that may happen to be running on the same box as the db.
    Maybe this will help you understand the connections
    =================================
    ORA-12154: TNS:could not resolve the connect identifier specified
    This error means one thing, and one thing only. The client could not find the specified entry in the tnsnames.ora file being used.
    As a follow-on to that statement, remember that when you use a dblink, the database in which the link is defined is acting as a client to the database that is the target of the link. So in this case, the tnsnames.ora file on the host of your source should have an entry for your target db, as defined in the db_link.
    And for the umpteenth time ... this error has <b><i><u>NOTHING</u></i></b> to do with the status of a listener. The connection request never got far enough to reach a listener. If anyone tells you to check a listener in response to ora-12154, they are not paying attention, or do not understand how TNS works. This error is the equivalent of not being able to place a telephone call because you don't know the number of the party you want to reach. You wouldn't debug that situation by going to the other guy's house and testing his telephone, or by going to the phone company and testing the switchboard. And you don't debug a ORA-12154 by checking the listener. If I had a top ten list of "Incredibly Simple Concepts (tm)" that should be burned into the brain of everyone who claims to be an Oracle DBA, it would include "ORA-12154 Has Nothing To Do With The Listener".
    =================================
    A couple of important points.
    First, the listener is a server side only process. It's entire purpose in life is to receive requests for connections to databases and set up those connections. Once the connection is established, the listener is out of the picture. It creates the connection. It doesn't sustain the connection. One listener, with the default name of LISTENER, running from one oracle home, listening on a single port, will serve multiple database instances of multiple versions running from multiple homes. It is an unnecessary complexity to try to have multiple listeners or to name the listener as if it belongs to a particular database. That would be like the telephone company building a separate switchboard for each customer.
    Additional notes on the listener: One listener is capable of listening on multiple ports. But please notice that it is the listener using these ports, not the database instance. You can't bind a specific listener port to a specific db instance. Similarly, one listener is capable of listnening on multiple IP addresses (in the case of a server with multiple NICs) But just like the port, you can't bind a specific ip address to a specific db instance.
    Second, the tnsnames.ora file is a client side issue. It's purpose is for address resolution - the tns equivalent of the 'hosts' file further down the network stack. The only reason it exists on a host machine is because that machine can also run client processes.
    Assume you have the following in your tnsnames.ora:
    larry =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = curley)
      )Now, when you issue a connect, say like this:
    $> sqlplus scott/tiger@larrytns will look in your tnsnames.ora for an entry called 'larry'. Finding it, tns sends a request through the normal network stack to (PORT = 1521) on (HOST = myhost) using (PROTOCOL = TCP), asking for a connection to (SERVICE_NAME = curley).
    Where is (HOST = myhost) on the network? When the request gets passed from tns to the next layer in the network stack, the name 'myhost' will get resolved to an IP address, either via a local 'hosts' file, via DNS, or possibly other less used mechanisms. You can also hard-code the ip address (HOST = 123.456.789.101) in the tnsnames.ora.
    Next, the standard networking process delivers the message to port 1521 on myhost. Hopefully, there is a listener on myhost configured to listen on port 1521, and that listener knows about SERVICE_NAME = curley. If so, the listener will spawn a server process to act as the intermediary between your client and the database instance. Communication to the server process will be on a randomly selected available port. At that point the listener is out of the process and continues to user port 1521 to await other connection requests.
    What can go wrong?
    First, there may not be an entry for 'larry' in your tnsnames. In that case you get "ORA-12154: TNS:could not resolve the connect identifier specified" No need to go looking for a problem on the host, with the listener, etc. If you can't place a telephone call because you don't know the number (can't find your telephone directory (tnsnames.ora) or can't find the party you are looking for listed in it (no entry for larry)) you don't look for problems at the telephone switchboard.
    Maybe the entry for larry was found, but myhost couldn't be resolved to an IP address (say there was no entry for myhost in the local hosts file). This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe there was an entry for myserver in the local hosts file, but it specified a bad IP address. This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe the IP was good, but there is no listener running: "ORA-12541: TNS:no listener"
    Maybe the IP was good, there is a listener at myhost, but it is listening on a different port. "ORA-12560: TNS:protocol adapter error"
    Maybe the IP was good, there is a listener at myhost, it is listening on the specified port, but doesn't know about SERVICE_NAME = curley. "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor"
    Third: If the client is on the same machine as the db instance, it is possible to connect without referencing tnsnames and without going through the listener.
    Now, when you issue a connect, say like this:
    $> sqlplus scott/tigertns will attempt to establish an IPC connection to the db instance. How does it know the name of the instance? It uses the current value of the enviornment variable ORACLE_SID. So...
    $> export ORACLE_SID=fred
    $> sqlplus scott/tigerIt will attempt to connect to the instance known as "fred". If there is no such instance, it will, of course, fail. Also, if there is no value set for ORACLE_SID, the connect will fail.
    check executing instances to get the SID
    [oracle@vmlnx01 ~]$ ps -ef|grep pmon|grep -v grep
    oracle    4236     1  0 10:30 ?        00:00:00 ora_pmon_vlnxora1set ORACLE_SID appropriately, and connect
    [oracle@vmlnx01 ~]$ export ORACLE_SID='vlnxora1
    [oracle@vmlnx01 ~]$ sqlplus scott/tiger
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:42:37 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing optionsNow set ORACLE_SID to a bogus value, and try to connect
    SQL> exit
    [oracle@vmlnx01 ~]$ export ORACLE_SID=FUBAR
    [oracle@vmlnx01 ~]$ sqlplus scott/tiger
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:42:57 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    Enter user-name: Now set ORACLE_SID to null, and try to connect
    [oracle@vmlnx01 ~]$ export ORACLE_SID=
    [oracle@vmlnx01 ~]$ sqlplus /scott/tiger
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:43:24 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    ERROR:
    ORA-12162: TNS:net service name is incorrectly specifiedOk, that is how we get from the client connection request to the listener. What about the listener's part of all this?
    The listener is very simple. It's job is to listen for connection requests and make the connection (server process) between the client and the database instance. Once that connection is made, the listener is out of the picture. If you were to kill the listener, all existing connections would continue. The listener is configured with the listener.ora file, but if that file doesn't exist, the listener is quite capable of starting up with all default values. One common mistake with the listner configuration is to specify "HOST=localhost" or "HOST=127.0.01". This is a NONROUTABLE ip address. LOCALHOST and ip address 127.0.0.1 always mean "this machine on which I am sitting". So, all computers are known as "localhost" or "127.0.0.1". If you specify this address, the listener will only be capable of receiving requests from the machine on which it is running. If you specified that address in your tnsnames file - on a remote client machine - the request would be routed to the machine on which the requesting client resides. Probably not what you want.
    =====================================

Maybe you are looking for