Cannot Connect to Two 11g DBs - Same tnsnames.ora different Oracle_Home

We have two 11g databases on seperate Oracle Homes on the same server. The tnsnames.ora and listener.ora entries for db_2 were combined with those of db_1 in ...../db_1/network/admin. They are:
# tnsnames.ora Network Configuration File: /u01/app/oracle/product/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
DB1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST=10.200.18.28)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = DB1)
#DB2 =
# (DESCRIPTION =
# (ADDRESS = (PROTOCOL = TCP)(HOST=10.200.18.28)(PORT = 1521))
# (CONNECT_DATA =
# (SERVER = DEDICATED)
# (SERVICE_NAME = DB2)
# listener.ora Network Configuration File: /u01/app/oracle/product/11.1.0/db_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST =10.200.18.28)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = DB1)
(ORACLE_HOME = /u01/app/oracle/product/11.1.0/DB1)
#SID_LIST_LISTENER =
# (SID_LIST =
# (SID_DESC =
# (SID_NAME =DB2)
# (ORACLE_HOME = /u01/app/oracle/product/11.1.0/DB2)
DB2 is commented out because we coulod not reach either database when it was not. Now we can each one or the other. We were getting
"ora_12514 TNS:listener could not resolve seervice name given in connect description."
The problem is that we need to reach each database when connected to the server from eithere the client or server.
I would appreciate any information, direct experience or pointers to documents.
Thanks

You shouldn't need either DB1 or DB2 listed in your listener.ora file. They should automatically register with the listener if it is running on the default port (which yours is).
If you do want to statically register the instances, the syntax you have in your original post is a little wrong. It should be:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)
(SID_NAME = DB1)
(SID_DESC =
(ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_2)
(SID_NAME = DB2)
All in one variable, not two. Also, the home paths you had in your post were missing the _.
All that said, it seems to be much preferred to let the instance register itself. If you try the following, does the instance register?
* remove the SID_LIST_LISTENER configuration for DB1
* restart the listener
* connect to DB1 as someone with the DBA role and execute 'alter system register;'
* check the listener with 'lsnrctl status listener' and see whether the instance registered.
You should see something like: (notice 'READY' instead of 'UNKNOWN')
Instance "DB1", status READY, has 1 handler(s) for this service...

Similar Messages

  • Two database with the same sid but different ORACLE_HOME on one host

    two database with the same sid but different
    ORACLE_HOME on one host,and if configure them with
    two differnt lisnter staticaclly,this abosultely work
    because in the lisnter.ora we must provice
    ORACLE_HOME variable,with this ORACLE_HOME the client
    can differentiate which database to connect,but if
    use dynamically register feature,how can the client
    tell which database to connect?

    Also note that this type of configurtion may not be supported.
    Just because a given configuration works in certain given conditions does not mean that it would be supported.
    If this setup is for a configuration that has any value, please also Contact Oracle Support to get their inputs on what you are trying to accomplish.

  • Two methods with same name but different return type?

    Can I have two methods with same name but different return type in Java? I used to do this in C++ (method overloading or function overloading)
    Here is my code:
    import java.io.*;
    public class Test{
    public static void main(String ar[]){
    try{          
    //I give an invalid file name to throw IO error.
    File file = new File("c:/invalid file name becasue of spaces");
    FileWriter writer = new FileWriter(file ,true);
    writer.write("Test");
    writer.close();     
    } catch (IOException IOe){
         System.out.println("Failure");
    //call first method - displays stack trace on screen
         showerr(NPe);
    //call second method - returns stack trace as string
            String msg = showerr(NPe);
            System.out.println(msg);
    } // end of main
    public static void showerr(Exception e){
         StringWriter sw = new StringWriter();
         PrintWriter pw = new PrintWriter(sw);
         e.printStackTrace(pw);
         try{
         pw.close();
         sw.close();
         catch (IOException IOe){
         IOe.printStackTrace();     
         String stackTrace = sw.toString();
         System.out.println("Null Ptr\n" +  stackTrace );
    }//end of first showerr
    public static String showerr(Exception e){
         StringWriter sw = new StringWriter();
         PrintWriter pw = new PrintWriter(sw);
         e.printStackTrace(pw);
         try{
         pw.close();
         sw.close();
         catch (IOException IOe){
         IOe.printStackTrace();     
         return sw.toString();
    }//end of second showerr
    } // end of class
    [\code]

    Overloading is when you have multiple methods that have the same name and the same return type but take different parameters. See example
    public class Overloader {
         public String buildError(Exception e){
              java.util.Date now = new java.util.Date() ;
              java.text.DateFormat format = java.text.DateFormat.getInstance() ;
              StringBuffer buffer = new StringBuffer() ;
              buffer.append(format.format(now))
                   .append( " : " )
                   .append( e.getClass().getName() )
                   .append( " : " )
                   .append( e.getMessage() ) ;
              return buffer.toString() ;
         public String buildError(String msg){
              java.util.Date now = new java.util.Date() ;
              java.text.DateFormat format = java.text.DateFormat.getInstance() ;
              StringBuffer buffer = new StringBuffer() ;
              buffer.append(format.format(now))
                   .append( " : " )
                   .append( msg ) ;
              return buffer.toString() ;
         public String buildErrors(int errCount){
              java.util.Date now = new java.util.Date() ;
              java.text.DateFormat format = java.text.DateFormat.getInstance() ;
              StringBuffer buffer = new StringBuffer() ;
              buffer.append(format.format(now))
                   .append( " : " )
                   .append( "There have been " )
                   .append( errCount )
                   .append( " errors encountered.")  ;
              return buffer.toString() ;
    }Make sense ???
    Regards,

  • IPod touch 2G cannot connect to 802.11g

    I'm having trouble connecting my iPod touch 2G to a local wifi network.
    Up until a few months ago, I was using a Time Capsule as a wireless router for an internet connection. I could browse the internet on my iPod touch by connecting to my TC router wirelessly. But then my apartment landlord installed free wifi for all the renters, and at the same time my own internet device that was sharing the internet through the TC stopped working. Since then I have not been able to access the internet on my iPod touch.
    The wifi internet is working on my iMac (very well) and MacBook Pro (fairly well, I sometimes have to move it to another room). But no matter where I go in my apartment, I cannot connect on my iPod touch. In my room I cannot see the wifi network at all; in other rooms it appears momentarily, usually with 2 out of 3 bars on its signal strength icon, but whenever I try to connect I usually get an error that says "Failed to join... (the network)", and occasionally I get a pop-up error that says something like "Unable to join... (the network" and it has a big "Dismiss" button.
    The iPod touch can grab wifi with seemingly no problem at other locations, such as my workplace, my church, businesses in town, etc.
    An app on my iMac called iStumbler reports that my home network is 802.11g. I believe this should be supported on my iPod touch? If so, I cannot figure out why it is not working at home.
    Is it most likely that its antenna is going bad? Or the signal is too weak (it shouldn't be, the signal source is right next to my apartment building, and my iMac shows a strong signal)? Or could it be some kind of software/hardware setting that I should get my landlord to look at or tweak?
    I'm a bit frustrated!

    I did all like you said. After that i have seen that my ipod touch isn't supporting 40mhz mode so i changed it to 20 Mhz and i put B+G band because my ipod is not supporting B+G+N mode. Nothing, i cannot connect. On my other 2 routers i can connect but...my other two are not mine
    I did some screenshots of my router's configuration. If is something to change please help me!

  • Cannot connect to Oracle 11g XE through SQLPlus

    Have been trying to resolve this all day. I have Oracle 11g XE installed on my local desktop (Windows 7 64 bit)for which I have been using for over a year for development. The recent "Sandy" storm killed the power at our office for a week. Upon returning to the office, I can not seem to connect to the Oracle on my desktop from my desktop. The only thing that supposedly have changed was the router re-assigned IP addresses. However, I have modified my tnsnames to reflect the proper IP address. Still I get the below error trying to connect through SQL*Plus (without specifying the service):
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm
    Process ID: 0
    Session ID: 0 Serial number: 0
    When I try to specify the service name "...system/password@xe", it gives me the following error:
    SQL*Plus: Release 11.2.0.2.0 Production on Thu Nov 8 19:54:17 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    Here's the results from ipconfig
    IPv4 Address. . . . . . . . . . . : 192.168.80.194
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 192.168.80.1
    Here's my tnsnames.ora
    XE =
    (DESCRIPTION =
    (ADDRESS_LIST =
              (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.80.194)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
         (SID = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    listener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.80.194)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    sqlnet.ora
    # 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, ONAMES, HOSTNAME)
    lsnrctl service output
    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 08-NOV-2012 19:48
    :55
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    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
    The command completed successfully
    lsnrctl status output
    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 08-NOV-2012 19:56
    :48
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Produ
    ction
    Start Date 08-NOV-2012 19:56:41
    Uptime 0 days 0 hr. 0 min. 11 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File C:\ORACLEXE\APP\ORACLE\PRODUCT\11.2.0\SERVER\network\a
    dmin\listener.ora
    Listener Log File C:\oraclexe\app\oracle\diag\tnslsnr\EWANG-W7\listener\
    alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.80.194)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    Both the "OracleServiceXE" and "OracleXETNSListener" has been started.
    Would really appreciate it if someone can help me resolve this. Thanks!

    Found the log. Below is the latest:
    Dump file c:\oraclexe\app\oracle\product\11.2.0\server\rdbms\trace\xe_ora_25252.trc
    Fri Nov 09 10:12:25 2012
    ORACLE V11.2.0.2.0 - Production vsnsta=0
    vsnsql=16 vsnxtr=3
    *** 2012-11-09 10:12:25.530
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
    Windows NT Version V6.1 Service Pack 1
    CPU : 4 - type 586, 4 Physical Cores
    Process Affinity : 0x0x00000000
    Memory (Avail/Total): Ph:11433M/16359M, Ph+PgF:20698M/32717M, VA:3843M/4095M
    Instance name: xe
    Redo thread mounted by this instance: 0 <none>
    Oracle process number: 0
    Windows thread id: 25252, image: ORACLE.EXE (SHAD)
    *** 2012-11-09 10:12:25.542
    2012-11-09 10:12:25.530: [ default]ut_read_reg:2:ocr registry key SOFTWARE\Oracle\olr cannot be opened. error 2
    2012-11-09 10:12:25.544: [ default]ut_read_reg:2:ocr registry key SOFTWARE\Oracle\ocr cannot be opened. error 2

  • Connect to two routers at same time?

    I connect to internet throught router #1
    Set up time capsule as stand alone (i.e. did not join network on router #1).  Let's call time capsule router #2
    When I look at my wifi, I have to join router #1 and get internet access, and no access to files on time capsule OR join router #2 with access to files, but no internet access.
    Any way to join both networks (routers) at the same time?
    I know, I could set up time capsule to join the netwrk on router #1, but as stand alone, file transfer is faster.
    Thanks.

    It is not possible for the AirPort networking feature of your Mac to be connected to two wifi networks simultaneously.
    If you're going to use the Time Capsule for backup only, you're probably better off buying a FireWire hard drive since that will be much faster than any wifi-based backup device.
    Alternatively, connect your Time Capsule to "router #1" with an ethernet cable and then you can use it both for your wifi connection and backups.
    If you don't need to use "router #1" then just use the Time Capsule - it's a very good router and wifi hub.

  • When try to update apps, put my password in it comes up with error message, cannot connect to iTunes store? Same for new apps too?

    I have tried to correct error message by updating iPad, iTunes and security but still get same message "cannot connect to iTunes store?

    it only happens for previous purchases - if you have a computer you can try to download your purchase history there and then just sync them to your device - http://support.apple.com/kb/ht2519 - http://support.apple.com/kb/ht1386.

  • Cannot connect to database from a client machine (ORA-12154)

    Hi,
    I have installed Oracle XE Server on one of my machines and Oracle XE Client on another. When I try to connect to the server from the client using command line, error ORA-12154 is displayed. I am pasting the data of my .ora files so that you can point out the errors if any in these files.
    Listener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = abo-server.abosoftware.org)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    Sqlnet.ora
    # 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)
    Tnsnames.ora
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = abo-server.abosoftware.org)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    I will be very happy if anyone can suggest me a solution.
    Thanks & Regards,
    Harshad

    Harshad,
    CONNECT system/[email protected]
    This was not what I asked you to try, this cannot work ;).
    I asked you to try :
    connect system/[email protected]:1521/XE
    I have also tried accessing the database homepage remotely using the url
    http://abo-server.abosoftware.org:8080/apex
    Per default only local access (from the same machine) is allowed via http.
    You can change that either via the GUI (log in as SYSTEM):
    Home>Administration>Manage HTTP Access
    OR
    connect as SYSTEM via sqlplus and run:
    SQL>exec dbms_xdb.setListenerLocalAccess(false);###
    It is documented at
    http://download-west.oracle.com/docs/cd/B25329_01/doc/install.102/b25144/toc.htm#BABIJBHJ
    And yes, you need to open both ports 1521 and 8080 to access it remotely.
    ~Dietmar.

  • 11g dataguard client tnsname.ora entry format for switchover and failover

    I need format for the tnsnames.ora to use for the enduser when failover or switchover occurs in 11g dataguard.

    http://download.oracle.com/docs/cd/B19306_01/network.102/b14213/tnsnames.htm#sthref722

  • Can we have two clusters in same domain running different versions of WLS

    I have not tested this yet but was looking for help from people who might have done this already.. Is it possible to have this scenario:
              create two independent clusters, say C1 and C2 as part of a single domain D. C1 has 2 managed servers running WLS8.1 and C2 has 2 managed servers running WLS7.0
              Can this be done?
              Thanks,
              Raghu

    It is definetely inviting for trouble.
              We can have two clusters from same version of weblogic server within a domain.
              If we have a WLS8.1 domain, the managed servers that we create from that domain should be from WLS8.1.
              As far I remember, its not a supported configuration to have different versions(major versions) of Admin and managed servers.
              -Vijay

  • Cannot connect to Discoverer 11g PLUS

    Hallo,
    i want to connect to my Discoverer 11g plus and get following error Message:
    RMI-protocoll with JRMP transport : connection refused to host: 127:0.0.1; nested excecption is:
    java.net.ConnectExceptopm: Connection refused: connect.
    In the Weblogic - logs:
    Meldungs-ID     JPS-03001
    Meldungsebene     1
    URI     /discoverer/app/directPartialConnect;jsessionid=pZlpNmwH8W81D7kd7jcbD30h8Tyv1ZZR1lh6wpfYq8DDFJlJ4kyn!1031453079
    Beziehungs-ID     0:1
    Argument 1     java.util.logging.LoggingPermission
    Argument 2     control
    Argument 3     null
    Argument 4     java.lang.NoSuchMethodException: java.util.logging.LoggingPermission.<init>(java.lang.String)
    Meldung     Cannot instantiate permission class "java.util.logging.LoggingPermission", target "control", or actions "null" as defined in the system policy context.
    Please, i need your help!

    I had a similar problem with a vanilla install of 11g on my local Windows XP box. The difference was that I could connect using SqlPlus but could not connect with Sql Developer.
    In Sql Developer, I first tried "Connection type = basic", "Hostname = localhost", "Port = 1521" and "sid = orcl".
    I then tried "Connection type = TNS", "Network Alias = ORCL".
    Neither worked.
    In the end, I got around the first problem by replacing "localhost" with the machine's IP address. I got around the second problem by looking at windows services and noticing that the "OracleOraDb11g_home1TNSListener" service was set to start automatically but was not started. I started it manually and all was good. I'm sure this willl alll fall apart when my IP address changes due to DHCP but at least I will know where to look.

  • Apple Mail - Two archives with same messages are different sizes

    I have two different arhives, both with 2077 messages that I want to archive. But one is 1.03GB and the other is 700GB. I'm nervous as I need to back these up bu don't want to lose anything. Any ideas why the difference?

    I can't start over as both are archives. Do you mean load up the messages and then export a new arhive. Obviously I could do that, and I should probably shoose the bigger arhive in case there is more "importnat" info, but still want to knwo what the difference is when both archives are the same size.

  • Import Library Error two functions with same name on different namespaces

    Im trying impor a library developed by me. In this library have two functions ShowMenu. First function be inside into a class and its declared as
    void __fastcall TTrayicon:howMenu(). The second function has declared as extern "C" __declspec(dllexport) ShowMenu(int x, int y).
    When i use de assistant to import this library i select the library and its header file. But in the next step the assistant show to me the first function.
    Anyone explain what's happen?

    I'm not sure what kind of answer you're looking for. LabVIEW's Import Library wizard does not always properly handle accessing functions in standard C++ DLLs. See this for more info.

  • Cannot connect to Database after install Developer Suite

    Help..
    I installed Oracle Database and everything seems work properly. I can connect to the database. (system/oracle@orcl)
    well, but after I install the developer suite, I can't connect to the database anymore.
    I did check the services and both OracleOraDb10g_home1TNSListener and OracleServiceORCL are started.
    I try to search help from google but I cannot solve the problem by myself. I also include two ora file below,
    tnsnames.ora
    =====
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ====
    listener.ora
    ===
    # listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ====
    everything seems should working properly but I still have problem cannot connect to the database. SQLPlus says "ORA-12154" and "ORA-12514"
    please help me.. I need to finish my project within next 2 weeks or I have to study one more year. T_T

    Hi ...
    The Oracle Doc points out as actions in this type of error:
    - 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.According to the above and my LISTENER settings in listener.ora file which is...
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
      )there is one ')' missing closing parenthesis....
    So , modify your LISTENER settings ... according to the below....The difference is the ')' in bold....
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    Can you connect now.....????
    Regards,
    Simon

  • ITunes Cannot Connect, wont open!

    I'm posting this on behalf of a friend - she has a new Dell Windows XP, and for a couple months, in order to use iTunes & the music store, she disabled Norton AntiVirus and it worked fine. For some reason, now (before & after installing 7.0.1) it says 'Cannot connect to Music Store' (the same error message as when the firewall is enabled - but its NOT) Any ideas? I'm fresh out of 'em.

    For some reason, now (before & after installing 7.0.1) it says 'Cannot connect to Music Store' (the same error message as when the firewall is enabled - but its NOT)
    NIS generates new rules for every new version of itunes, so you can run into this sort of thing when you upgrade itunes.
    which version of Norton Internet Security is she using? 2005, 2006 or an earlier version?

Maybe you are looking for

  • Error trying to install iTunes 10.4 on MacPro

    I have tried several times to install the iTunes 10.4 upgrade on my new MacPro and I keep getting the message "there has been an unexpected error and the install failed" The install went ok on my iMac desk top. Booth computers share the same wireless

  • Can you automate keyboard channel selection?

    Hi, is it possible to automate channel selection on a midi heyboard controller, in order the needed sound to be automatically selected while playing? Thanks, Pi

  • Is it a best practice to have a template with one master page?

    I am a newbie FM 11 writer and am cleaning up some unorganized books. Should I copy one set of Master Pages to all files in the book. Currently my TOC and certain other files have unique master pages. I would like to set up our books using best pract

  • Message Server cannot be started and throw ERROR: MsSetWorkDir: getcwd

    When I would like to start the ERP SAP instance by startsap or by MMC, below error message is found: (1138942) New Child Process created. (1138942) Starting local Command: Command:  ms.sapECD_DVEBMGS11            pf=/usr/sap/ECD/SYS/profile/ECD_DVEBM

  • "Seeing" the disk in time capsule

    How can I see the files saved on Time Capsule? I use it for auto backups, but I don't know that it contains what I told it to save. Can I "read" it?