Multiple extproc entries in listener.ora

Hello gurus and friends,
I have two versions of Oracle
(8.1.5 and 8.1.6) running on the
same server.
Is it possible to set up a single listener
serving both instances to have 2 different
extproc services with differnet locations
for oracle home.
If I don't do this, and just have one
extproc, it invariably points to the wrong
oracle home and errors immediately.
Adeeva.

Yes this is possible. Consult the Net8
Administrator's guide for the full details.
In short you will need to:
1. use the 8.1.6 listener
2. configure the 8.1.6 listener.ora file to include 2 separately named extproc addresses
in this example I use the 0 suffix for 8.1.5 and 1 for 8.1.6
3. In the SID_DESC list make sure you use a
full path to the program for the PROGRAM
attribute. If you don't then the 8.1.6
listener will use the 8.1.6 version of
extproc for the 8.1.5 instance.
4. Each tnsnames file (8.1.5 and 8.1.6) must have the appropriate extproc entry. I've included the one for 8.1.5 below.
Robert
=============sample listener.ora=============
# LISTENER.ORA Network Configuration File: e:\Oracle\Ora816\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = tarawera)(PORT = 1521))
(DESCRIPTION =
(PROTOCOL_STACK =
(PRESENTATION = GIOP)
(SESSION = RAW)
(ADDRESS = (PROTOCOL = TCP)(HOST = tarawera)(PORT = 2481))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc1)
(ORACLE_HOME = e:\Oracle\Ora816)
(PROGRAM = e:\Oracle\Ora816\bin\extproc)
(SID_DESC =
(GLOBAL_DBNAME = tara816.us.oracle.com)
(ORACLE_HOME = e:\Oracle\Ora816)
(SID_NAME = tara816)
(SID_DESC =
(SID_NAME = PLSExtProc0)
(ORACLE_HOME = e:\Oracle\Ora815)
(PROGRAM = e:\Oracle\Ora815\bin\extproc)
(SID_DESC =
(GLOBAL_DBNAME = tara815.us.oracle.com)
(ORACLE_HOME = e:\Oracle\Ora815)
(SID_NAME = TARA815)
==== sample tnsnames.ora
# E:\ORACLE\ORA815\NETWORK\ADMIN\TNSNAMES.ORA Configuration File:e:\Oracle\Ora815\network\admin\tnsnames.ora
# Generated by Oracle Net8 Assistant
EXTPROC_CONNECTION_DATA.US.ORACLE.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(CONNECT_DATA =
(SID = PLSExtProc0)
(PRESENTATION = RO)
null

Similar Messages

  • IPC entries in the listener.ora

    My listener.ora looks like the following,
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (ADDRESS = (PROTOCOL = TCP)(HOST = server1)(PORT = 1521))
    Can I remove the IPC entries in the listener.ora?
    Database version is 11.2.0.3 and OS is Sun Solaris

    1009506 wrote:
    My listener.ora looks like the following,
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (ADDRESS = (PROTOCOL = TCP)(HOST = server1)(PORT = 1521))
    Can I remove the IPC entries in the listener.ora?I give up.
    Can you?
    FWIW, you can remove the whole listener.ora file & the listener will still start & run without error.
    How do I ask a question on the forums?
    SQL and PL/SQL FAQ

  • Needs Clarification Regarding Listener.ora file

    I want a clarification regarding listener.ora file I've Listener.ora file and its content look like as:
    # 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)
    (SID_DESC =
    (GLOBAL_DBNAME = Oracle8)
    (SID_NAME = ORCL)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.10)(PORT = 1521))
    I can understand every entry in this file accept the following
    *(SID_DESC =*
    *(SID_NAME = PLSExtProc)*
    *(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)*
    *(PROGRAM = extproc)*
    *(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))*
    Although rest of entries refer to network services(Database name) and host address and protocol etc.
    what these above refere to.
    Please clarify me in this.
    Regards,
    D.Abbasi

    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    that about External Procedure, If you don't use "External Procedure" you can remove it, by the way you should avoid default configure.
    http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/advcfg.htm#sthref1331
    http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/advcfg.htm#NETAG0132
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_extern_proc.htm#sthref1658
    Sample create External Procedure:
    http://surachartopun.com/2008/07/create-and-run-sample-external.html

  • What's wrong with my listener.ora?

    Hello.
    I must say I've never understood how listener.ora works (it used to work but someone modified it), but by now it'd be enough to know what's wrong with this:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = zippo)(PORT = 1522))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = CSR2)
    (ORACLE_HOME = /opt/oracle/product/9.2.0)
    (SID_NAME = CSR2)
    My problem is that when I try to connect from my PC "sqlplus csr_admin@csr2/csr" I get "ERROR: ORA-12154: TNS: could not resolve service name"
    This is my entry in my local tnsnames.ora:
    CSR2.world =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = zippo)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = CSR2)
    An this, the entry in the entntry at the server's tnsnames.ora:
    CSR2 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = zippo)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = CSR2)
    Release 9.2.0.3.0
    Thanks in advance.

    It's funny but the date I posted this topic isn't OK (more than 3 years ago)

  • Listener.ora syntax error in NV string

    Hi. I'm attempting to establish a connection with an Access db using ODBC. I've edited my listener.ora file to read the following:
    # listener.ora Network Configuration File: C:\oracle\product\10.1.0\Db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.1.0\Db_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = capital2)
    (ORACLE_HOME = C:\oracle\product\10.1.0\Db_1)
    (PROGRAM = hsodbc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hostname.domain)(PORT = 1521))
    When I restart the listener, I get the following error:
    LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 16-JUN-2005 12:34:47
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    Starting tnslsnr: please wait...
    TNSLSNR for 32-bit Windows: Version 10.1.0.2.0 - Production
    System parameter file is C:\oracle\product\10.1.0\Db_1\network\admin\listener.ora
    Log messages written to C:\oracle\product\10.1.0\Db_1\network\log\listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=host.domain)(PORT=1521)))
    TNS-01155: Incorrectly specified SID_LIST_LISTENER parameter in LISTENER.ORA
    NL-00303: syntax error in NV string
    Listener failed to start. See the error message(s) above...
    I'm guessing that my listener.ora file has a ")" in the wrong place or something to that effect. Would anyone mind pointing this out for me?
    Thanks!

    normel start :
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Myserver)(PORT = 1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    you start:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = webserver)(PORT = 1521))
    ) )

  • Listener.ORA file in a RAC environment. VIP used. Is ithis OK

    Dear Sirs:
    Environment is - Oracle 10G (10.2.0.3.0) running on RHEL 4.0 for Intel Itanium, two node RAC
    The listener.ora file is as follows
    LISTENER_MYDB1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = mydb1-vip)(PORT = 1521)(IP = FIRST))
    (ADDRESS = (PROTOCOL = TCP)(HOST = *192.168.1.10*)(PORT = 1521)(IP = FIRST))
    SID_LIST_LISTENER_MYDB1 =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /oracle/ora10g/product/1020/db_1)
    (PROGRAM = extproc)
    INBOUND_CONNECT_TIMEOUT_LISTENER_MYDB1=110I am seeing that the VIP is used. Is this OK or should the public IP be used?? Everymonth during high activity the listener simply refused connection.
    Please help.
    regards,
    Caesar

    I am seeing that the VIP is used. Is this OK or should the public IP be used?? yes,its ok to use both.
    Everymonth during high activity the listener simply refused connection. whats the error msg you getting ,check log file for more detail.

  • Errors in my listener.ora file

    oracle 10.2
    windows xp
    database run locally on my PC. just a test DB. I get errors when i try to start the listener pointing to the sidlist_listener line?
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = D:\app\product\10.2\db_1)
          (PROGRAM = extproc)
           (SID_DESC =
              (GLOBAL_DBNAME= orcl10g2.world)
              (SID_NAME = orcl10g2)
              (ORACLE_HOME = D:\app\product\10.2\db_1)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522))
      )TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    System parameter file is D:\app\product\10.2\db_1\network\admin\listener.ora
    Log messages written to D:\app\product\10.2\db_1\network\log\listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1522)))
    TNS-01155: Incorrectly specified SID_LIST_LISTENER parameter in LISTENER.ORA
    NL-00303: syntax error in NV string
    Listener failed to start. See the error message(s) above...

    Hi,
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = D:\app\product\10.2\db_1)
          (PROGRAM = extproc)
           (SID_DESC =
              (GLOBAL_DBNAME= orcl10g2.world)
              (SID_NAME = orcl10g2)
              (ORACLE_HOME = D:\app\product\10.2\db_1)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522))
      )correct this
    (GLOBAL_DBNAME= orcl10g2.world)
    (ORACLE_HOME = D:\app\product\10.2\db_1)
    (SID_NAME = orcl10g2)
    ADDRESS_LIST - missing
    - Pavan Kumar N
    Oracle 9i/10g - OCP
    http://oracleinternals.blogspot.com/

  • Listener name in the listener.ora file is getting change from GPROD to %s_

    Dear Experts,
    Please note that after doing the R12.1 upgrade, When i bounce the database i have noted that my database listener name in the listener.ora file is getting change from GPROD to %s_db_listener%. Again every time after changeing the listener log file i am able to start the listener.
    Please advise.
    [oracle@upgrade 11.2.2]$ lsnrctl start GPROD
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 07-OCT-2011 10:07:33
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Starting /u04/d01/tech_st/11.2.2/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.2.0 - Production
    System parameter file is /u04/d01/tech_st/11.2.2/network/admin/GPROD_upgrade/listener.ora
    Log messages written to /u04/d01/tech_st/11.2.2/log/diag/tnslsnr/upgrade/gprod/alert/log.xml
    TNS-01151: Missing listener name, GPROD, in LISTENER.ORA
    Listener failed to start. See the error message(s) above...
    [oracle@upgrade 11.2.2]$ vi /u04/d01/tech_st/11.2.2/log/diag/tnslsnr/upgrade/gprod/alert/log.xml
    [oracle@upgrade 11.2.2]$ cd network/admin/GPROD_upgrade/
    [oracle@upgrade GPROD_upgrade]$ ls
    listener_ifile.ora listener.ora listener.ora_bkpaug2911 sqlnet_ifile.ora sqlnet.ora tnsnames.ora
    [oracle@upgrade GPROD_upgrade]$ vi listener.ora
    (SID_DESC =
    (ORACLE_HOME= /u04/d01/tech_st/11.2.2)
    (SID_NAME = GPROD)
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u04/d01/tech_st/11.2.2)
    (PROGRAM = extproc)
    STARTUP_WAIT_TIME_%s_db_listener% = 0
    CONNECT_TIMEOUT_%s_db_listener% = 10
    TRACE_LEVEL_%s_db_listener% = OFF
    LOG_DIRECTORY_%s_db_listener% = /u04/d01/tech_st/11.2.2/network/admin
    LOG_FILE_%s_db_listener% = %s_db_listener%
    TRACE_DIRECTORY_%s_db_listener% = /u04/d01/tech_st/11.2.2/network/admin
    TRACE_FILE_%s_db_listener% = %s_db_listener%
    ADMIN_RESTRICTIONS_%s_db_listener% = OFF
    IFILE=/u04/d01/tech_st/11.2.2/network/admin/GPROD_upgrade/listener_ifile.ora

    Step 1- Run the autoconfig on the db tier.
    Step -2 Automatically it is changing the setting in the database listener log file and it is showing 4 database listeners are up .
    [oracle@upgrade 11.2.2]$ ps -ef |grep inh
    oracle 756 1 0 11:01 ? 00:00:00 /u04/d01/tech_st/11.2.2/bin/tnslsnr GPROD -inherit
    oracle 757 756 0 11:01 ? 00:00:00 /u04/d01/tech_st/11.2.2/bin/tnslsnr GPROD -inherit
    oracle 758 757 0 11:01 ? 00:00:00 /u04/d01/tech_st/11.2.2/bin/tnslsnr GPROD -inherit
    oracle 759 757 0 11:01 ? 00:00:00 /u04/d01/tech_st/11.2.2/bin/tnslsnr GPROD -inherit
    oracle 1721 31038 0 11:02 pts/2 00:00:00 grep inh
    applmgr 31380 1 0 10:53 ? 00:00:00 /u04/d02/apps/tech_st/10.1.2/bin/tnslsnr APPS_GPROD -inherit
    Step - 3
    Again down the apps tier services.
    Step -4
    Reset the listener.ora file in the database tier
    Please advise.
    Regards
    Mohammed.

  • TNS-01155: Incorrectly specified SID_LIST_LISTENER parameter in LISTENER.ORA

    Hi,
    Could anyone please let me know why my listener is not getting started. Please check below my listener status and the error I am getting while starting the listener.
    [oracle@localhost ~]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 05-JAN-2014 05:11:41
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       Linux Error: 2: No such file or directory
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       Linux Error: 111: Connection refused
    And bleow is the error which I am getting while starting the listener:
    [oracle@localhost ~]$ lsnrctl start
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 05-JAN-2014 05:11:54
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Starting /u01/home/oracle/product/11.2.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    System parameter file is /u01/home/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Log messages written to /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    TNS-01155: Incorrectly specified SID_LIST_LISTENER parameter in LISTENER.ORA
    NL-00305: the specified path name does not exist
    Listener failed to start. See the error message(s) above...
    please check below my listener entries:
    [oracle@localhost admin]$ more listener.ora
    # listener.ora Network Configuration File: /u01/home/oracle/product/11.2.0/db_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = mydb)
          (ORACLE_HOME = /u01/home/oracle/product/11.2.0/db_1)
        (SID_DESC =
          (GLOBAL_DBNAME = orcl)
          (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
          (SID_NAME = ORCL)
    ADR_BASE_LISTENER = /u01/app/oracle
    [oracle@localhost admin]$ more tnsnames.ora
    # tnsnames.ora Network Configuration File: /u01/home/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    MYDB =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = mydb)
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = ORCL)
    Please help me how should I get it resolve.
    Regards,
    Michel

    Problem is resolved. Thanks everyone.

  • How to add an entry to TNSNAMES.ORA?

    Hello,
    if I add the following entry to the TNSNAMES.ORA:
    test1_10.121.34.56 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.121.34.56)(PORT = 1521))
    (CONNECT_DATA =
    (SID = test1)
    (SERVER = DEDICATED)
    how could I activate it please without rebooting?
    I'm using Oracle 9i Release 9.2.0.8.0 at CentOS 4.7
    Linux machine (which is compatible to RHEL 4.7).
    Thank you
    Alex

    Hello all, thank you for your support.
    Could we please start from the beginning?
    (and I'll use the real IP addresses this time, sorry)
    {color:#0000ff}oracle@ablora01:admin&gt; <strong>host ablora01.internal.XXX.com</strong>
    ablora01.internal.XXX.com has address 10.121.42.100
    {color}
    I have neither sqlnet.ora nor listener.ora and
    I have the following 2 entries in my tnsnames.ora:
    {color:#0000ff}oracle@ablora01:admin&gt; <strong>ll /abl/apps/oracle/9.2/network/admin/</strong>
    -rw-r--r-- 1 oracle oinstall 825 Jul 26 2003 libnk59.def
    drwxr-xr-x 2 oracle oinstall 4096 Nov 5 16:25 samples
    -rw-r--r-- 1 oracle oinstall 130 Mar 18 2002 shrept.lst
    -rw-r--r-- 1 oracle oinstall 24 Aug 7 2000 snmp_ro.ora
    -rw-r--r-- 1 oracle oinstall 717 Nov 5 17:15 sqlnet.log
    -rw-r--r-- 1 oracle oinstall 756 Nov 5 17:08 tnsnames.ora
    oracle@ablora01:admin&gt; <strong>cat /abl/apps/oracle/9.2/network/admin/tnsnames.ora</strong>
    # TNSNAMES.ORA Network Configuration File: /abl/apps/oracle/9.2/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    TEST1_10.121.42.81 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.121.42.81)(PORT = 1521))
    (CONNECT_DATA =
    (SID = test1)
    (SERVER = DEDICATED)
    BOCHUM_10.121.42.100 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.121.42.100)(PORT = 1521))
    (CONNECT_DATA =
    (SID = BOCHUM)
    (SERVER = DEDICATED)
    {color}
    When I try to tnsping the first entry it works:
    {color:#339966}oracle@ablora01:admin&gt;<strong> tnsping BOCHUM_10.121.42.100</strong>
    TNS Ping Utility for Linux: Version 9.2.0.8.0 - Production on 05-NOV-2008 17:19:34
    Copyright (c) 1997, 2006, Oracle Corporation. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.121.42.100)(PORT = 1521))) (CONNECT_DATA = (SID = BOCHUM) (SERVER = DEDICATED)))
    <strong>OK (0 msec)</strong>
    {color}
    When I try to tnsping the 2nd entry it fails:
    {color:#ff0000}oracle@ablora01:admin&gt; <strong>tnsping TEST1_10.121.42.81</strong>
    TNS Ping Utility for Linux: Version 9.2.0.8.0 - Production on 05-NOV-2008 17:20:21
    Copyright (c) 1997, 2006, Oracle Corporation. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.121.42.81)(PORT = 1521))) (CONNECT_DATA = (SID = test1) (SERVER = DEDICATED)))
    <strong>TNS-12541: TNS:no listener</strong>{color}
    When I look at the listener I get:
    {color:#339966}oracle@ablora01:admin&gt; <strong>lsnrctl status</strong>
    LSNRCTL for Linux: Version 9.2.0.8.0 - Production on 05-NOV-2008 17:21:55
    Copyright (c) 1991, 2006, Oracle Corporation. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 9.2.0.8.0 - Production
    Start Date 04-NOV-2008 17:35:04
    Uptime 0 days 23 hr. 46 min. 50 sec
    Trace Level off
    Security OFF
    SNMP OFF
    Listener Log File /abl/apps/oracle/9.2/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ablora01.internal.XXX.com)(PORT=1521)))
    Services Summary...
    Service "BOCHUM" has 1 instance(s).
    Instance "BOCHUM", status READY, has 1 handler(s) for this service...
    Service "test1" has 1 instance(s).
    <strong>Instance "test1", status READY, has 1 handler(s) for this service...</strong>
    Service "test1XDB" has 1 instance(s).
    Instance "test1", status READY, has 1 handler(s) for this service...
    The command completed successfully{color}
    When I try sqlnet it first fails and I have to reenter password:
    {color:#339966}{color:#ff0000}oracle@ablora01:admin&gt; <strong>sqlplus scott/tiger@TEST1_10.121.42.81</strong>
    SQL*Plus: Release 9.2.0.8.0 - Production on Wed Nov 5 17:10:42 2008
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    {color:#ff0000}ERROR:
    {color}<strong>{color:#ff0000}ORA-12541: TNS:no listener
    {color}</strong>{color}
    {color:#ff0000}{color:#ff0000}Enter user-name: scott
    Enter password:{color}
    Connected to:
    Oracle9i Release 9.2.0.8.0 - Production
    JServer Release 9.2.0.8.0 - Production
    SQL&gt; select * from tab;
    TNAME TABTYPE CLUSTERID
    BONUS TABLE
    DEPT TABLE
    EMP TABLE
    SALGRADE TABLE
    {color}
    Do you please know, why it complains about the missing listener?
    And my actual target is to allow a program from 10.121.42.81
    to connect to the "test1" instance.
    Regards
    Alex
    Edited by: user10507116 on Nov 5, 2008 12:29 PM

  • Listener.ora question

    Sorry if this is a duplicate question, as I'm in a big hurry.
    DBCA added my public ip to my listener.ora on all my rac nodes about two years ago. It's been running fine for the most part, but now I'm wondering if it's been causing some hanging issues during both planned and un-planned shutdowns.
    The VIP is the correct way to go. I just hadn't noticed that the public ip was also in it. Should I remove it? Should I change it to the VIP ip?
    Here's the listener.ora for on node.
    LISTENER_TRAC201 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = trac201-vip)(PORT = 1621)(IP = FIRST)) <-- VIP obviously
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 138.72.249.161)(PORT = 1621)(IP = FIRST)) <-- Public ip of host.
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    )

    138.72.249.161 -> that's public IP, right?
    if VIP Failover Take Long Time... after stop listener or...
    because "lsnrctl stop" listener has to wait for TCP timeout before it can check next address.
    Oracle recommend to use IPC address first
    LISTENER_TRAC201 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = trac201-vip)(PORT = 1621)(IP = FIRST)) <-- VIP obviously
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 138.72.249.161)(PORT = 1621)(IP = FIRST)) <-- Public ip of host.
    Example:
    $ lsnrctl status
    LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 26-AUG-2009 01:57:01
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=rac01-vip)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=rac01)(PORT=1521)))
    and setting listener:
    this's video cast can help idea: http://www.youtube.com/watch?v=VRwLsZ-AE-w
    Example:
    $ lsnrctl service
    Service "service01" has 2 instance(s).
    Instance "racdb1", status READY, has 2 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    REMOTE SERVER
    (ADDRESS=(PROTOCOL=TCP)(HOST=rac01-vip)(PORT=1521))
    "DEDICATED" established:15314 refused:0 state:ready
    LOCAL SERVER
    Instance "racdb2", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:248 refused:0 state:ready
    REMOTE SERVER
    (ADDRESS=(PROTOCOL=TCP)(HOST=rac02-vip)(PORT=1521))
    The command completed successfully
    I'm wondering if it's been causing some hanging issues during both planned and un-planned shutdowns.Could you explain?
    How about interconnect... Giagabit NIC or Cross Cable?

  • Tnsnames.ora / listener.ora files on Oracle Standby Database

    Hi I am configuring an Oracle Standby Database to my production system 4.7 and Oracle 9.2.0.4
    My production server is: PR01
    Database SID: PRD
    Standby database server is: PRDR
    Database SID: PRD
    I have already configured the server to a standby database offline backup. Was generated the control files of the standby database and the database is in standby mode.
    Now I will create a script to start the synchronization of offline redolog from the production server to standby server.
    I have a question: in the document SAP Oracle Standby Database, tells me I should change the tnsnames.ora production server pointing to an additional entry disaster recovery server. The tnsnames.ora  file must have two entries???  corresponding to a production server and another to the disaster recovery server??
    In several links of oracle tells me I should configure listener.ora disaster recovery server that is true??
    Guys my question is: where should I change my listener.ora and tnsnames.ora files?
    Please clear my doubt.
    Best regards,
    Desiree

    Hi Desiree,
    The entry in your TNSNAMES.ORA is a nothing but a tns service, when you define archive log destination it will point to a service. This service's host name will be resolved in your tnsnsmaes.ora file.
    Below is the eg of an entry in pfile:
    *.log_archive_dest_2='SERVICE=<service_name> ARCH OPTIONAL'
    Below is the entry in your tnsnames.ora file
    <service_name>.WORLD=
      (DESCRIPTION = (ADDRESS_LIST = (ADDRESS =
              (COMMUNITY = SAP.WORLD)
              (PROTOCOL = TCP)
              (HOST = <DR_HOST>)
              (PORT = 1527)
        (CONNECT_DATA =
           (SID = <DB_SID>)
           (GLOBAL_NAME = <DB_SID>.WORLD)
    So, your tnsnames.ora will have one entry for your host and the other for the DR host, i.e two entries.
    Listener entry for the convenience when there is a switch over.
    Regards,
    Bala

  • I am facing problem when configuring listener.ora and tnsnamess.ora in listener side it is showing The listener supports no services The command completed successfully  and in when i cross check with listener from tns it is showing the error

    i am facing problem when configuring listener.ora and tnsnamess.ora in listener side it is showing The listener supports no services The command completed successfully  and in when i cross check with listener from tns it is showing the error
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    here is my listener file
    lsn =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.125.128)(PORT = 1575))
    #ADR_BASE_LISTENER = /u01/app/oracle
    (SID_LIST_LISTENER=
    (SERVICE_NAME=kull)
    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1)
    tnsnames.ora
    to_lsn=
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = server1)(PORT = 1575))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = kull )
    my database name is kull
    please somebody help

    Biswaranjan wrote:
    i have two database one is kull and another is kk
    i configured listener.ora in kull
    and tnsnames.ora in kk
    when i am running lsnrctl start listener in database kull
    This makes no sense.  You don't configure a listener nor a tnsnames.ora "in a database".   I hope this is just a language issue and not reflective of a fundamental misunderstanding of how tns works.
    read: http://edstevensdba.wordpress.com/2011/02/09/sqlnet_overview/ Help! I can’t connect to my database 
    read: http://edstevensdba.wordpress.com/2011/02/16/sqlnet_client_cfg/ Help! I can’t connect to my database (part duex)
    it is showing the message
    Alias                     lsn
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                05-JUL-2013 19:08:06
    Uptime                    0 days 0 hr. 0 min. 0 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/product/11.2.0/db_1/log/diag/tnslsnr/server1/lsn/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1575)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=server1)(PORT=1575)))
    The listener supports no services
    The command completed successfully
    and in another database in kk when i am giving the command tnsping to_lsn
    it is giving this message
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = server1)(PORT = 1575)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = kull)))
    OK (0 msec)
    but when i am cross check sqlplus system/manager@ to_lsn
    it is giving the following error
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor

  • Trouble with listener.ora and tnsnames.ora

    I can't get the listener running.
    Trying to start the listener results in the following message:
    LSNRCTL for MacOS X Server: Version 9.2.0.1.0 - Beta on 04-JAN-2003 23:35:28
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Message 1070 not found; No message file for product=network, facility=TNSTNS-12545: Message 12545 not found; No message file for product=network, facility=TNS
    TNS-12560: Message 12560 not found; No message file for product=network, facility=TNS
    I suspect i have a configuration error in listener.ora or tnsnames.ora, but I'm stumped at this point.
    Can anyone help?
    Much appreciated.
    John freberg
    TNS-00515: Message 515 not found; No message file for product=network, facility=TNS
    MacOS X Server Error: 2: No such file or directory

    Assume you've got $ORACLE_HOME
    We'd end run listener problems by setting/exporting TNS_ADMIN and putting tnsnames.ora and listener.ora files in a standard place ( ../dbs for our site) rather than Oracle's defaults.
    We'd also found that there is a parsing problem of the tnsnames.ora file by 9.2 ( its in AIX and MAC versions at least). Placing the entire description section on a single line consistently resolved problem.
    Opening a Tar on that one.
    So Now we're accessing Dbs based on mac and AIX from Multiple MAC and AIX remote sites with SQLPLUS and thin clients.
    JD

  • Listener.ora file

    Hi,
    How do I update the listener.ora file to add my listener names hrms for my database with the same name. Current it is
    # listener.ora Network Configuration File: F:\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 = F:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = Peopletools)(PORT = 1521))
    Thanks for your help

    Thanks for all your help - all was good until a re-boot!
    I'm trying to access direct the server, single server install set the ORACLE_SID=hrms
    Here is the tnsnames.ora file -
    # tnsnames.ora Network Configuration File: F:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    hrms =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Peopletools)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = hrms)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    and the listener.ora file
    # listener.ora Network Configuration File: F:\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 = F:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = hrms)
    (ORACLE_HOME = F:\oracle\product\10.2.0\db_1)
    (SID_NAME = hrms)
    (SID_DESC =
    (GLOBAL_DBNAME = Oracle8)
    (SID_NAME = ORCL)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Peopletools)(PORT = 1521))
    Thanks!!

Maybe you are looking for