Keep getting ora-12514 for client test TAF to primary or standby readonly

I kept getting ora-12514 error while trying to access to the database.
Edited by: 846422 on Dec 16, 2011 5:14 AM

Hello;
( Consider a different service name, see my comment below )
After you start the service
exec dbms_service.start_service('hyrdev');
I would expect you might set Several of the default parameters
Ex.
BEGIN
   DBMS_SERVICE.MODIFY_SERVICE
   ('hyrdev',
   FAILOVER_METHOD => 'BASIC',
   FAILOVER_TYPE => 'SELECT',
   FAILOVER_RETRIES => 200,
   FAILOVER_DELAY => 1);
END;
/Also your startup trigger is much different than anything I have seen.
My Example (This was taken from the Oracle document and almost certainly pretested by Oracle, why change it?? )
CREATE TRIGGER CHECK_ERNIE_START AFTER STARTUP ON DATABASE
DECLARE
V_ROLE VARCHAR(30);
BEGIN
SELECT DATABASE_ROLE INTO V_ROLE FROM V$DATABASE;
IF V_ROLE = 'PRIMARY' THEN
DBMS_SERVICE.START_SERVICE('hyrdev');
ELSE
DBMS_SERVICE.STOP_SERVICE('hyrdev');
END IF;
END;
/There's another example here :
http://uhesse.wordpress.com/2009/08/19/connect-time-failover-transparent-application-failover-for-data-guard/
"lsnrctl status" will confirm if you are working.
MY test
  Instance "TRAINING", status READY, has 1 handler(s) for this service...
Service "ernie" has 1 instance(s).
  Instance "PRIMARY", status READY, has 1 handler(s) for this service...
The command completed successfullyFrankly I would use a different alias than "hyrdev" because by using that you make it very difficult see the new service.
Your Tnsnames.ora looks correct. Try using different service name.
You can always delete it later :
  DBMS_SERVICE.DELETE_SERVICE('ernie');
For additional details check Oracle Doc B14258-02 or B10802-01 and search for "DBMS_SERVICE"
Finally, check this Oracle note :
How to configure Client Failover after Data Guard Switchover or Failover [ID 316740.1]
Best Regards
mseberg
Edited by: mseberg on Dec 15, 2011 3:48 PM

Similar Messages

  • Suddenly getting ORA-12514 error Oracle 11gr2

    I installed Oracle 11g r2 fine, had 2 databases (se3 and mydb, both have db_domain .orcl i.e. mydb.orcl and se3.orcl) running on it fine till yesterday. but suddenly im getting ORA-12514 error (TNS:listener doesn't know of service requested in connect descriptor)..
    My tnsnames.ora file:
    # tnsnames.ora Network Configuration File: G:\oracledb\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    LISTENER_MYDB =
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    MYDB =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = mydb.orcl)
    SE3 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = se3.orcl)
    LISTENER_SE3 =
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    and my listener.ora file is as follows:
    # listener.ora Network Configuration File: G:\oracledb\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:G:\oracledb\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ADR_BASE_LISTENER = G:\oracledb
    * i have both of databases up and running(confirmed through administration assistant), the listener is up.. im able to execute "tnsping mydb/se3".. i'm not able to connect to either one of them through sqlplus/sql developer.. The result of "lsnrctl service" is as follows:
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       32-bit Windows Error: 2: No such file or directory
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    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
    The command completed successfully
    PLEASE HELP ME FRIENDS!! I HAVE A PROJECT DUE IN EARLY OCTOBER

    Hi,
    Instead of this:
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:G:\oracledb\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    have the following in your listener file
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:G:\oracledb\product\11.2.0\dbhome_1\bin\oraclr11.dll")
       (SID_DESC =
          (SID_NAME = mydb)
          (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)
        (SID_DESC =
          (SID_NAME = se3)
          (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)   
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    Also, dont have 'localhost' in your listener.ora file, provide the actual IP or hostanme. NEVER YOU should have
    localhost.
    Restart listener and try.
    Thanks &
    Best Regard,

  • After upgrading to OS X Yosemite, I keep getting popups asking for my "Local Items" keychain for cloudd, calendar, messenger and on and on...and then it wants me to change my password, only won't accept it when I do.

    After upgrading to OS X Yosemite, I keep getting popups asking for my "Local Items" keychain for cloudd, calendar, messenger and on and on...and then it wants me to change my password, only won't accept it when I do.

    There are several possible causes for this issue. Please take each of the following steps that you haven't already tried, testing after each one, until it's resolved. Back up all data before making any changes.
    Step 1
    Follow the directions in this support article.
    Step 2
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    Select the iCloud keychain from the list on the left side of the Keychain Access window. If your default keychain has a different name, select that.
    If the lock icon in the top left corner of the window shows that the keychain is locked, click to unlock it. You'll be prompted for the keychain password, which is the same as your login password.
    Select
              Keychain Access ▹ Keychain First Aid
    from the menu bar and repair the keychain.
    Step 3
    Open the iCloud preference pane and uncheck the Keychain box. You'll be prompted to delete the local iCloud keychain. Confirm. Then re-check the box. Follow one of the procedures described in this support article to set up iCloud Keychain on an additional device.
    Step 4
    Open the Keychains folder as in Step 1. There should be a file in that folder with the name "login.keychain". If there is also a file iwith the name "login_renamed_1.keychain", then please do as follows:
    ☞ Rename login.keychain to "login-old.keychain".
    ☞ Rename login_renamed_1.keychain to "login.keychain".
    You can then close the folder. 
    Delete the login keychain from the keychain list in Keychain Access. Choose
               Delete References
    when prompted, not Delete References & Files.
    Select
              File ▹ Add Keychain...
    from the menu bar. Add back the file now named "login.keychain". If any of your needed keychain items are missing from it, also add back the file now named "login-old.keychain". I suggest you transfer any needed items from that keychain to the login keychain, then delete it. The transfers are made by drag-and-drop in Keychain Access. You'll need to enter your password for each item transferred. 
    Run Keychain First Aid again. Quit Keychain Access.

  • Keep getting a request for password "for the CalDAV account for my email account when I log in my iPhone password. ????

    I keep getting a request "for the CalDAv account" when I log in using my iPhone password on my iPhone.  Just started happening.   ????

    If you are unable to remember your password, security questions, don’t have access to your rescue address or are unable to reset your password for whatever reason, your only option is to contact AppleCare(or Apple ID Support), upon speaking to an operator you should explain that your problem is related to your Apple ID, this way you will not be charged for assistance, even if you don’t have an AppleCare plan.
    The operator will take you through some steps you may have already tried, however they need to be sure they have exhausted all usual approaches before trying to reset your account, so you should try to be helpful and show patience with the procedure.
    The operator will need to verify they are speaking to the account holder and may ask you some questions that only the account holder could know, and you will need to answer them if the process is to proceed.
    Once the operator has verified your identity they will send a message through to your device which contains an alpha numeric code, which you will need to read back to them.
    Once this has been completed they will send an email to your iCloud email address after a period of 24 hours, so you should check that mail is enabled in your devices iCloud settings.
    Upon receipt of the email, use the reset link provided to reset your password, after which you should be able to make the adjustments to iCloud that you wish to do.

  • Keep getting auto updates for printer which I no longer have.

    I uninstalled my canon inkjet printer.  At least I believe I did - it doesn't come up when I run a search on Finder.  However I keep getting auto updates for it, which I would like to stop getting.  I may be slow but can't figure out how to do this.... thanks.

    Try going to the hard drive level Library/Printers and delete the Canon folder there.

  • I keep getting a 'Looking for backup disc' message from my  Time Capsule.

    I keep getting a 'Looking for backup disc' message from my  Time Capsule. I have set it up several times without any apparent problems (I have even done a Hard and Factory reset). Everything seems fine until I ask Timemachine to 'back up', and then the problems start.
    Any ideas?

    I had the exact same problem. I bought the Time Capsule this past July and it worked fine for about a month then it told me it hadn't backed up in 10 days and was stuck looking for the backup drive. I called Apple and they said the reason was that the Time Capsule was in Bridge mode. I launched Airport Utility and sure enough, it was. I changed it to DCHP and NAT (Airport Utility -> Network tab -> Router Mode). After updating the Time Capsule, I couldn't even get on the Internet, let alone do a backup. A logged into the software for my cable modem and discovered that it too was in Bridge mode.
    It turned out (for me) that neither should be in Bridge mode (which is for connecting two networks). Your cable modem only has one IP address. Your Time Capsule should be doing the NAT (Network Address Translation) which translates the internal IP addresses on your network to the one IP address your cable modem has. When I switched my Time Capsule to DHCP and NAT, it conflicted with the fact that the cable modem was also trying to do this. The answer was to turn this off on the modem (allowing all the packets to just go through the modem to the Time Capsule and let IT do the NAT). I did that last week and since then, my Time Capsule has been working perfectly.
    1) Go to your cable modem (via a browser, enter "http://192.168.100.1"). Log-in and find the setting that indicates NAT. If you're uncomfortable doing this or can't find it, call your cable company and ask Tech Support to do it for you. They can do it remotely.
    2) Launch Airport Utilty. Go to the Network Tab and change the router mode to "DHCP and NAT".
    3) You may need to restart your modem and Time Capsule. I can't remember if I had to or not.
    I hope this helps. I tried many things but this is the only solution that fixed it for me. And it makes sense. Only one device, the cable modem or the Time Capsule, can be doing the NAT.

  • I keep getting an error (for twelve updates), when trying to update CS5 Master Collection.  I used chat, and was told to come here.

    I keep getting an error (for twelve updates), when trying to update CS5 Master Collection.  I used chat, and was told to come here.

    update directly, http://www.adobe.com/downloads/updates/

  • Getting VFS manager for client J2E_iom_D failed: Activity report (get open

    Getting VFS manager for client J2E_iom_D failed: Activity report (get open activities for current repository and user) failed: Internal Server Error
    I cannot sync with dtr and moreover the tracks which i deleted still shows up in DTR folder and i am not bale to delete it.
    Please help....
    George

    NetWeaver Sneak ...  SP 16:  table PVC_ACTVERSVIEW missing i got answer from this.
    Had to redeploy sda and it solved all probs .it was the prob with WAS...

  • Trying to sync ipad keep getting a waiting for changes on desktop

    trying to sync ipad to itunes on my mac and i keep getting a waiting for changes on my itumes

    "Waiting for changes to be applied": Apple Support Communities

  • I want to get desktop path for client user using webutil

    oracle database 11g
    oracle forms 10 g
    client windows
    i want to get desktop path for client user using webutil
    as i want to save file in this path

    To get the user's path to their Desktop is a two step process.  First, you have to echo the %USERPROFILE% to a output file and secondly, read the directory from the output file in to Forms.  The code would look similar to the following:
    /* When-Button-Pressed trigger */
    DECLARE
      v_temp_path VARCHAR2(250);
      v_temp_file VARCHAR2(12) := 'webutil.log';
      f_file Client_Text_IO.File_Type;
    BEGIN
      Client_Host('cmd /c echo %USERPROFILE%\Desktop > c:\'||v_temp_file);
      f_file := Client_Text_Io.FOpen('c:\'||v_temp_file, 'R');
    Client_Text_Io.Get_Line(f_file,v_temp_path);
    Client_Text_Io.FClose(f_file);
       b_dummy := WebUtil_File.Delete_File('C:\'||v_temp_file);
      --At this point, you have the path stored in the v_temp_path variable.
      --You can assign this variable to a block item or reference it directly in your code.
    END;
    When you reference the value of the v_temp_path, don't forget to wrap the value in double-quotes (" ") becuase the path will have spaces.  Since your plan is to write a file to the user's desktop, your call to FOPEN will look  like this:
    f_file := Client_Text_Io.FOpen('"'||v_temp_file||'"','W');
    Hope this helps,
    Craig...

  • Getting VFS manager for client EED_diarough_D failed: Activity report (get

    Hi,
       I'm using NW 2004s SP9. While trying to check in the activities in NWDI from NWDS I'm geting the following error messege:
    " Getting VFS manager for client EED_diarough_D failed: Activity report (get open activities for current repository and user) failed: Internal Server Error"
    Can you please help to resolve this issue.
    Regards,
    Subhayu

    NetWeaver Sneak ...  SP 16:  table PVC_ACTVERSVIEW missing i got answer from this.
    Had to redeploy sda and it solved all probs .it was the prob with WAS...

  • Can I know how to get App Store applications get DRM removed for enterprise testing?

    Can I know how to get App Store applications get DRM removed for enterprise testing?

    http://www.apple.com/business/vpp/

  • KEEP GETTING ORA-04030: OUT OF PROCESS MEMORY During import using DataPump

    Hi,
    I know I have several issues with my datapump during imp, but I am stuck again people :(
    We took a expdp from an external client and we are trying to append the data to our existing db. When we do this, we keep
    getting this.
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    ORA-31693: Table data object "IWORKS"."TBLEDIFILE_DTL" failed to load/unload and is being
    skipped due to error:
    ORA-29913: error in executing ODCIEXTTABLEFETCH callout
    ORA-04030: out of process memory when trying to allocate 64528 bytes (sort subheap,sort key)
    and so on...for all the tables.
    I used 2 different impdp commands to see if I would get different results and they are:
    mpdp system@iworksdb directory=DATA_PUMP_DIR dumpfile=expdpgemdev.dmp
    job_name=impgemdev041708_01 INCLUDE=TABLE TABLE_EXISTS_ACTION=APPEND
    SCHEMAS=GEMDEV LOGFILE=IMPIWORKS_BOON.log REMAP_SCHEMA=GEMDEV:IWORKS
    REMAP_TABLESPACE=IWORKS_INDEX:IWORKS_IDX REMAP_TABLESPACE=IWORKS_IOT:IWORKS_IDX
    REMAP_TABLESPACE=IWORKS_TABLES:IWORKS_TABLES EXCLUDE=GRANT exclude=statistics
    STREAMS_CONFIGURATION=N
    impdp system@iworksdb directory=DATA_PUMP_DIR dumpfile=expdpgemdev.dmp job_name=impgemdev041708_02 SCHEMAS=GEMDEV
    LOGFILE=IMPIWORKS_BOON.log REMAP_SCHEMA=GEMDEV:IWORKS
    REMAP_TABLESPACE=IWORKS_INDEX:IWORKS_IDX REMAP_TABLESPACE=IWORKS_IOT:IWORKS_IDX
    REMAP_TABLESPACE=IWORKS_TABLES:IWORKS_TABLES EXCLUDE=GRANT exclude=statistics
    STREAMS_CONFIGURATION=N
    I have also enabled my 3gb limit on my Windows 2003 Server which has a total of 4gb of RAM and a 2.6 ghz dual core:
    Microsoft Windows [Version 5.2.3790]
    (C) Copyright 1985-2003 Microsoft Corp.
    C:\Documents and Settings\rdgadmin>cd ../..
    C:\>type boot.ini
    [boot loader]
    redirect=UseBiosSettings
    timeout=30
    default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
    [operating systems]
    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows Server 2003, Enterprise" /noexecute=optout /fastdetect /3GB /redirect
    Here is my Parameter file as well so this will show you how I setup my memory allocation as well.
    # Memory Allocations
    iworksdb.__db_cache_size=0
    iworksdb.__java_pool_size=0
    iworksdb.__large_pool_size=0
    iworksdb.__shared_pool_size=0
    iworksdb.__streams_pool_size=0
    *.db_16k_cache_size=673741824
    *.db_block_size=8192
    *.db_recovery_file_dest_size=1147483648
    *.pga_aggregate_target=1010612736
    *.sga_max_size=1521225472
    *.sga_target=1321225472
    # Instance Parameters
    *.control_files='C:\ORACLE\FILES\IWORKSDB\control01.ctl',
    'R:\ORACLE\FILES\IWORKSDB\control02.ctl',
    'C:\ORACLE\FILES\IWORKSDB\control03.ctl'
    *.db_domain=''
    *.db_name='iworksdb'
    *._kgl_large_heap_warning_threshold=0
    *.compatible='10.2.0.4.0'
    *.job_queue_processes=20
    *.open_cursors=20000
    *.session_cached_cursors=8000
    *.processes=300
    *.remote_login_passwordfile='EXCLUSIVE'
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.db_recovery_file_dest='c:\ORACLE\FILES\IWORKSDB'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=iworksdbXDB)'
    *.statistics_level=ALL
    *.db_writer_processes=4
    # CBO Settings
    *.optimizer_mode='FIRST_ROWS'
    *.optimizer_index_cost_adj=20
    *.query_rewrite_enabled=TRUE
    *.STAR_TRANSFORMATION_ENABLED=TRUE
    *._NEWSORT_ENABLED=TRUE
    *.OPTIMIZER_DYNAMIC_SAMPLING=4
    *.optimizer_index_caching=75
    *.optimizer_index_cost_adj=15
    Continued on the next post....

    Continuation....
    Here is my log file from the impdp:
    Import: Release 10.2.0.4.0 - Production on Thursday, 17 April, 2008 14:35:31
    Copyright (c) 2003, 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 options
    Master table "SYSTEM"."IMPGEMDEV041708_01" successfully loaded/unloaded
    Starting "SYSTEM"."IMPGEMDEV041708_01": system/********@iworksdb directory=DATA_PUMP_DIR dumpfile=expdpgemdev.dmp job_name=impgemdev041708_01 INCLUDE=TABLE TABLE_EXISTS_ACTION=APPEND SCHEMAS=GEMDEV LOGFILE=IMPIWORKS_BOON.log REMAP_SCHEMA=GEMDEV:IWORKS REMAP_TABLESPACE=IWORKS_INDEX:IWORKS_IDX REMAP_TABLESPACE=IWORKS_IOT:IWORKS_IDX REMAP_TABLESPACE=IWORKS_TABLES:IWORKS_TABLES STREAMS_CONFIGURATION=N
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    ORA-39152: Table "IWORKS"."SYS_TOKENTYPE" exists. Data will be appended to existing table but all dependent metadata will be skipped due to table_exists_action of append
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    ORA-31693: Table data object "IWORKS"."TBLEDIFILE_DTL" failed to load/unload and is being skipped due to error:
    ORA-29913: error in executing ODCIEXTTABLEFETCH callout
    ORA-04030: out of process memory when trying to allocate 64528 bytes (sort subheap,sort key)
    ORA-31693: Table data object "IWORKS"."TBLSUBSCRIBERBENEFITS_DTL" failed to load/unload and is being skipped due to error:
    ORA-29913: error in executing ODCIEXTTABLEFETCH callout
    ORA-04030: out of process memory when trying to allocate 64528 bytes (sort subheap,sort key)
    ORA-31693: Table data object "IWORKS"."TBLROUTE_DTL" failed to load/unload and is being skipped due to error:
    ORA-29913: error in executing ODCIEXTTABLEFETCH callout
    ORA-04030: out of process memory when trying to allocate 64528 bytes (sort subheap,sort key)
    ;;; Import> kill_job
    Job "SYSTEM"."IMPGEMDEV041708_01" stopped due to fatal error at 14:42:54
    So basically I have looked online at Metalink and they are telling me (VIA me opening a SR with them), that I should look at Note 233869.1 Diagnosing and Resolving ORA-4030 errors
    So I did this, and the only thing that can apply to me that I am thinking is maybe I have sized my SGA too big??? I mean what else can cause this issue?

  • 10g stopped working after 11g installed. Getting ORA-12514: error

    I had Oracle 10g installed in win2000 sp2. with port 1521.
    I have installed Oracle 11g on the same system. with port 1522.
    I am able to start both the instances and tnslistener but I am not able to connect to Oracle10g database. Getting following error.
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    I have done the following check.
    c:\> tnsping tek10g
    TNS Ping Utility for 32-bit Windows: Version 11.1.0.6.0 - Production on 14-MAR-2
    008 13:04:26
    Copyright (c) 1997, 2007, Oracle. All rights reserved.
    Used parameter files:
    C:\app\mmurugai\product\11.1.0\db_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = PC456)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = tek10g) (SRVR = DE
    DICATED)))
    OK (50 msec)
    2) Checked lsnrctl services
    LSNRCTL> services
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=PC456.SYNTELORG.COM)(PO
    T=1522)))
    Services Summary...
    Service "orcl11g" has 1 instance(s).
    Instance "orcl11g", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:3 refused:0 state:ready
    LOCAL SERVER
    Service "orcl11gXDB" has 1 instance(s).
    Instance "orcl11g", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: PC456, pid: 284>
    (ADDRESS=(PROTOCOL=tcp)(HOST=PC456.SYNTELORG.COM)(PORT=2963))
    Service "orcl11g_XPT" has 1 instance(s).
    Instance "orcl11g", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:3 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully
    LSNRCTL>
    I am not able to see my tek10g 10g database details.
    I also checked my tnsnames.ora file which has the entries properly.
    Sqlnet.ora file has
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    How to solve this issue? Is that possible to run oracle 10g and oracle 11g in same host?
    Thanks in Advance...
    regards,
    Manikandan

    The approach I would take, in general is:
    1) pick a listener, and only one. Get that working.
    2) Make sure all the databases register to that listener
    3) Fix the TNSNAMES.ORA files appropriately.
    To fix the listener
    1) Verify the listener address matches the current environment
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\oracle\app\oracle\product\10.2.0\server)
          (PROGRAM = extproc)
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = C:\oracle\app\oracle\product\10.2.0\server)     << - MUST point to correct HOME
          (PROGRAM = extproc)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
          (ADDRESS = (PROTOCOL = TCP)(HOST = myHOST)(PORT = myPORT))
      )where
    myHOST is this host's resolvable name or IP address
    myPORT is the port (default 1521) that the listener should monitor
    The HOST is often a problem if the machine uses DHCP.
    2) Register the databases
    On startup, database will auto-register to the listener defined in the init parameter 'LOCAL_LISTENER', which defaults to 'HOST={current_host}, PORT=1521'
    After startup, if the listener is taken down, you can register each database manually using the DBA command
    ALTER SYSTEM REGISTER;
    Either way, it should show up in the output of 'lsnrctl status'
    While you are accessing the database, you might want to find out which services the database supports. That can be done in SQLPlus using the command
    SHOW PARAMETER SERVICE_NAMES
    Note that the database name is the default service name.
    3) Fix [all] the TNSNAMES.ORA file[s].
    Each SERVICE_NAME from the previous list that you want to access from this client, yu should find an entry that looks like
    myTEST =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = myHOST)(PORT = myPORT))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = mySERVICE)
    myTEST is the alias I want to look up by using it as the connect target string.
    myHOST should match the HOST= entry in the LISTENER.ORA
    myPORT MUST match the PORT= entry in the LISTENER.ORA
    mySERVICE is the Service to which I am asking the listener to connect me, as found in the lsnrctl status output

  • Getting "ORA-12514 error" while connecting first time

    Hi,
    Getting below error while connecting to the database first time.
    ORA-12514: TNS:listener does not currently know of service requested in connect
    apludc01dat25:e2cmpc1 > tnsping ora37_ap
    TNS Ping Utility for Linux: Version 10.2.0.5.0 - Production on 26-MAR-2012 12:00:58
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    /grid/product/crs/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = apl11764clu01-scan-oravip.nat.bt.com)(PORT = 61901)) (CONNECT_DATA = (SERVICE_NAME = ORA37_ap))
    OK (0 msec)
    apludc01dat25:e2cmpc1 > sqlplus
    SQL*Plus: Release 10.2.0.5.0 - Production on Mon Mar 26 12:00:15 2012
    Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
    Enter user-name: outln@ora37_ap
    Enter password:
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    Enter user-name:
    apludc01dat25:e2cmpc1 > sqlplus
    SQL*Plus: Release 10.2.0.5.0 - Production on Mon Mar 26 12:00:22 2012
    Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
    Enter user-name: outln@ora37_ap
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP, Data Mining
    and Real Application Testing options
    SQL>
    Please help me out to resolve this issue.
    Thank you.
    Regards,
    Dasarath

    Hi,
    We are getting this error while connecting remotely.
    PFB output of listener status and services
    apl11764a001:ORA37a > lsnrctl services LISTENER_ORA37
    LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 26-MAR-2012 12:18:06
    Copyright (c) 1991, 2008, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_ORA37)))
    Services Summary...
    Service "ORA37_ap" has 1 instance(s).
    Instance "ORA37a", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:2 refused:0 state:ready
    LOCAL SERVER
    Service "ORA37_ap_XPT" has 1 instance(s).
    Instance "ORA37a", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:2 refused:0 state:ready
    LOCAL SERVER
    Service "ORA37aXDB" has 1 instance(s).
    Instance "ORA37a", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: apl11764a001, pid: 25970>
    (ADDRESS=(PROTOCOL=tcp)(HOST=apl11764a001)(PORT=10862))
    The command completed successfully
    apl11764a001:ORA37a > lsnrctl status LISTENER_ORA37
    LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 26-MAR-2012 12:18:20
    Copyright (c) 1991, 2008, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_ORA37)))
    STATUS of the LISTENER
    Alias LISTENER_ORA37
    Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
    Start Date 26-MAR-2012 12:15:17
    Uptime 0 days 0 hr. 3 min. 2 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /grid/product/crs/network/admin/listener.ora
    Listener Log File /grid/product/crs/log/diag/tnslsnr/apl11764a001/listener_ora37/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_ORA37)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.25.169.4)(PORT=62037)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.25.169.7)(PORT=62037)))
    Services Summary...
    Service "ORA37_ap" has 1 instance(s).
    Instance "ORA37a", status READY, has 1 handler(s) for this service...
    Service "ORA37_ap_XPT" has 1 instance(s).
    Instance "ORA37a", status READY, has 1 handler(s) for this service...
    Service "ORA37aXDB" has 1 instance(s).
    Instance "ORA37a", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Thank you.
    Regards,
    Dasarath

Maybe you are looking for

  • Using  cl_gui_textedit, text blocks always display prior document.

    We have two containers and we're using two instances of cl_gui_textedit. On the first call to the text screen, we see the two texts that we should see. The user saves the data and backs out to the selection screen, which contains an ALV display of do

  • I cant find create a Windows 7 or ... in my bootcamp

    i want install windows 8.1 on my macbook pro mid 2010 but i cant find create a Windows 7 or ... in my bootcamp I have yosemite on my macbook

  • Change Keyboard in the MacBook Pro

    I just bought a MacBookPro in the US, however I'm Portuguese! CanI physicaly change the keyboard? If yes, I much it might cost? Any idea? Thanks,

  • ITunes 10.5 crashes when iPhone 4 plugged in

    After my partition got corrupted last night (thanks 10.7.2 and FileVault!) I restored from a 1 month old backup. I updated to 10.7.2 and iTunes to 10.5. Now when I plug my iPhone 4 in (Running iOS 5 GM), it tells me I need to put the passcode in and

  • Help with Blackberry Link

    Hello - I just upgraded to the Q10 from the Bold 9000, and I am having problems getting the BlackBerry Link to work properly.  I successfully downloaded the application (Version 1.1.1 build 13) to my MacBook, but it does not recognize my Q10 when I u