How the listener working without listener.ora file?

Hi alls,
System env.
Oracle : 8.1.6
OS: Win2K
There's no file listener.ora on the machine. But there's a TNSlistener service running. Is the listener can start with tnsnames.ora?
Any idea?
Witch.

I'm surely that nobody delete that file.
On the last Friday, I logon to the server and tried to use svrmgrl but I got an error like this
"SVRMGR> connect sys@tcard;
Password:
ORA-12154: TNS:could not resolve service name".
So I checked the listener by running this command
"lsnrctl services"
and I got this
"Connecting to (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY))
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 (ADDRESS=(PROTOCOL=tcp)(PORT=1521))
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
32-bit Windows Error: 49: Unknown error
I tried to check the file "tnsnames.ora" but didn't find it.
Any idea?
Thanks,
Witchuda.

Similar Messages

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

  • How to flush an instance in the listener.ora file

    Hi,
    We have Oracle DB server 10.2.0.3.0 running in RHEL4 2.6.9-42. It is a RAC Configured, previously 8 instances. Now we only have seven because we remove the other one; removedserver.company.com
    Unfortunately, it was not removed following the correct method because the server was destroyed. We are able to remove it from the list of RAC though using deletenode.sh (in fact it is no longer appearing in +./olsnodes+).
    Our problem now is that the instance name is still appearing in our listener.ora file. And I am getting error in alert.log
    ORA-00130: invalid listener address '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=+removedserver.company.com+) (PORT=xxxx)))'
    If I will edit the listener.ora manually and removed the instance from there, my problem will be
    1. it might be added again in the listener.ora when we do adautoconfig
    2. I am not sure of the impact if I will do it manually.
    Hope somebody would help.
    Thanks in advance.

    SQLNET files, listener.ora and tnsnames.ora must be hand edited by the DBA. Services, too, must be reconfigured by the DBA.
    The impact of doing it manually is that it works. <g>

  • Can't get Listener to use the Correct listener.ora file

    I am on a Windows 2003 Server. I have copied the 10gR2 ORACLE_HOME from a diffent Windows 2003 server on to this one.
    I want to start the Oracle Listener on this server. I have:
    set TNS_ADMIN = E:\oracle\product\10.2.0\network\admin\EBIZBLK_nvciebizdbblk. In this folder is a listener.ora file.
    set ORACLE_HOME = E:\oracle\product\10.2.0
    This is what I get:
    C:\Documents and Settings\oracle>lsnrctl start
    LSNRCTL for 32-bit Windows: Version 10.2.0.4.0 - Production on 02-FEB-2009 15:42:06
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Starting tnslsnr: please wait...
    Failed to open service <OracleTNSListener>, error 1060.
    TNSLSNR for 32-bit Windows: Version 10.2.0.4.0 - Production
    Message 279 not found; No message file for product=NETWORK, facility=NL
    Message 1073 not found; No message file for product=NETWORK, facility=TNS
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.4.0 - Production
    Start Date 02-FEB-2009 15:42:10
    Uptime 0 days 0 hr. 0 min. 2 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Log File listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=nvciebizdbblk.NVCI.org)(PORT=1521)))
    The listener supports no services
    The command completed successfully

    Chris Wendell wrote:
    I am on a Windows 2003 Server. I have copied the 10gR2 ORACLE_HOME from a diffent Windows 2003 server on to this one.
    I want to start the Oracle Listener on this server. I have:
    set TNS_ADMIN = E:\oracle\product\10.2.0\network\admin\EBIZBLK_nvciebizdbblk. In this folder is a listener.ora file.
    set ORACLE_HOME = E:\oracle\product\10.2.0
    This is what I get:
    C:\Documents and Settings\oracle>lsnrctl start
    LSNRCTL for 32-bit Windows: Version 10.2.0.4.0 - Production on 02-FEB-2009 15:42:06
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Starting tnslsnr: please wait...
    Failed to open service <OracleTNSListener>, error 1060.
    TNSLSNR for 32-bit Windows: Version 10.2.0.4.0 - Production
    Message 279 not found; No message file for product=NETWORK, facility=NL
    Message 1073 not found; No message file for product=NETWORK, facility=TNSAny time you get "Message nnn not found; No message file for product...", it means your environment is not set up correctly ... there are some environment variables that have incorrect values. Thus, it can't even find the message file to report the message associated with "Messasge nnn". No doubt because you installed by simply copying some files instead of running the installer.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.4.0 - Production
    Start Date 02-FEB-2009 15:42:10
    Uptime 0 days 0 hr. 0 min. 2 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Log File listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=nvciebizdbblk.NVCI.org)(PORT=1521)))
    The listener supports no services
    The command completed successfullyLooks like the listener is running, but it has no services registered with it. So far I see no indication that it is using the wrong listener.ora, only that some incorrect environment variables are preventing it from completely reporting any problems. How many listener.ora files do you have, and where are they located?

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

  • Problem in ammending listener.ora file

    Hi,
    I am using oracle database 11.2.0 Enterprise edition on windows 7
    I want to clone orcl database on the same node with finance sid
    I have done the following steps successfully but stuck to make changes in tnsnames.ora and listener.ora. I am posting both here please let me know where is the problem.
    When I try to connect both databases separately i can connect. But rman is not connect to clone database separately or together with the following commands and giving me the following error
    C:\Users\Administrator>rman target  sys/malik123@orcl auxiliary sys/malik123@finance
    Recovery Manager: Release 11.2.0.1.0 - Production on Thu Aug 22 11:52:31 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: ORCL (DBID=1350300533)
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04006: error from auxiliary database: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    My tnsnames.ora and listener.ora are as follows
    ----------------------------------------Tnsnames.ora---------------------------------------
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = server1)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl)
    FINANCE =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = server1)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = finance)
    -------------------------------------------LISTENER.ORA-------------------------------------
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = server1)(PORT = 1521))
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME=orcl)
          (SID_NAME = orcl)
          (ORACLE_HOME = D:\app\oracle\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:D:\app\oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
      (SID_DESC =
          (GLOBAL_DBNAME=finance)
          (SID_NAME = finance)
          (ORACLE_HOME = D:\app\oracle\product\11.2.0\dbhome_1)
    ADR_BASE_LISTENER = D:\app\oracle
    -------------------------------------------Questions------------------------------------------------
    What mistake i   have made and what's wrong with listenere.ora?
    Please note that I am logged in as Administrator on windows operating system which is the part of dba_group
    Thanks
    Malik

    Hi Malik,
    Please ensure there are no spaces left in the listener.ora file.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME=orcl)
          (SID_NAME = orcl)
          (ORACLE_HOME = D:\app\oracle\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:D:\app\oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
                 <<<<<<<<<<                   
      (SID_DESC =
          (GLOBAL_DBNAME=finance)
          (SID_NAME = finance)
          (ORACLE_HOME = D:\app\oracle\product\11.2.0\dbhome_1)
                   <<<<<<<<<<     
    Please restart the listener, and confirm whether that tnsping for  ORCL and FINANCE is working..
    Thanks &
    Best Regards,

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

  • R12 upgrade , after 6678700, started services, listener.ora file missing

    Hi ,
    1)- Upgrading to r12 from 10.5.10.2
    2)- 6678700 completed (so far just for US, not NLS).
    3)-Just for testing purpose , when started services, got following errors related to listener.ora.
    Please help.
    Executing service control script:
    /u01/oracle/inst/apps/TEST_epiktest/admin/scripts/adalnctl.sh start
    script returned:
    adalnctl.sh version 120.3
    Checking for FNDFS executable.
    Starting listener process APPS_TEST.
    adalnctl.sh: exiting with status 1
    adalnctl.sh: check the logfile /u01/oracle/inst/apps/TEST_test/logs/appl/admin/log/adalnctl.txt for more information ...
    .end std out.
    grep: /u01/oracle/inst/apps/TEST_test/ora/10.1.2/network/admin/listener.ora: No such file or directory
    .end err out.

    grep: /u01/oracle/inst/apps/TEST_test/ora/10.1.2/network/admin/listener.ora: No such file or directoryPlease run AutoConfig and make sure it completes successfully -- AutoConfig will create the listener.ora file for you.
    Thanks,
    Hussein

  • What's the value of GLOBAL_DBNAME in the listener.ora ?

    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    SQL>
    SQL>
    SQL> show parameter db_name
    NAME                         TYPE      VALUE
    db_name                      string    Oracle11
    SQL> show parameter service_names
    NAME                         TYPE      VALUE
    service_names                        string      primary
    SQL>
    SQL>
    SQL> ho
    [oracle@primary admin]$
    [oracle@primary admin]$ cat listener.ora
    # listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = primary)                        ================> Note Here , i asked this parameter .
          (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
          (SID_NAME = primary)
    LISTENER =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.178)(PORT = 1525))
    ADR_BASE_LISTENER = /u01/app/oracle
    [oracle@primary admin]$
    [oracle@primary admin]$
    [oracle@primary admin]$ exit
    exit
    SQL> in my option , i think the value of GLOBAL_DBNAME equal to the value of DB_NAME . But it's wrong , the remote client can't connect the database .
    when its value equal to the value of SERVICE_NAMES , the remote client can connect the database .
    what's the value of GLOBAL_DBNAME in the listener.ora ?

    GLOBAL_DBNAME     The global database name is a concatentation of a domain and a database name. The GLOBAL_DBNAME is the same as SERVICE_NAMES parameter in the parameter file or a concatentation of the DB_DOMAIN and the DB_NAME parameters in the parameter file. For example, <SID>.xyz.com. Do not set the GLOBAL_DBNAME parameter in the listener.ora file when using failover / TAF or when using multiple listeners or Oracle Parallel Server. Setting the GLOBAL_DBNAME parameter under these circumstances will disable failover and TAF.from: http://oracledba.ezpowell.com/oracle/net8Listener.html

  • How to write the listener.ora and tnsnames.ora

    Hi, there
    I store my oracle database in the machine A. In the machine B,
    it only install the oracle without create database. How should
    I write the
    listener.ora and tnsnames.ora? So that the machine B could
    acces the database which store in the machines A.
    Could you give me a simple example and with some description.
    Thanks you very much!!
    null

    wrjih (guest) wrote:
    : Hi, there
    : I store my oracle database in the machine A. In the machine B,
    : it only install the oracle without create database. How should
    : I write the
    : listener.ora and tnsnames.ora? So that the machine B could
    : acces the database which store in the machines A.
    : Could you give me a simple example and with some description.
    : Thanks you very much!!
    1 - you can simply copy the files from the server to the client.
    If they are correct, it must work fine
    2 - Follow the examples inside the
    $ORACLE_HOME/network/admin/samples
    3 - Follow my examples:
    I will try to make it simple:
    The server must have the listener.ora. The client does not need
    it if you don't have a database there.
    I cannot tell you what is mandatory in the file, and what is not.
    The listener.ora has the interface (addr or name)
    to listen, the port/proto, and some info about your database
    ($ORACLE_HOME and Name).
    #--- Listener.ora -- my minimal settings ---
    LISTENER =
    (ADDRESS_LIST =
    (ADDRESS=(PROTOCOL= TCP)(Host=Server)(Port= 1521))
    (ADDRESS=(PROTOCOL= IPC)(KEY = ORCL))
    STARTUP_WAIT_TIME_LISTENER = 1
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = OFF
    TRACE_LEVEL_CLIENT=OFF
    SID_LIST_LISTENER =
    (SID_LIST=(SID_DESC=
    (SID_NAME = SACS)
    (ORACLE_HOME=/oracle/805)))
    #---- end of listener.ora ---
    Both machines can, and should have similar TNSNAMES.ORA:
    tnsnames.ora has the address or name of the server, and the Name
    of the database you wish to connect to.
    #--- tnsnames.ora --- minimal.
    ORCL = (DESCRIPTION =
    (ADDRESS_LIST=(ADDRESS = (PROTOCOL = TCP)(Host=Server)(Port =
    1521)))
    (CONNECT_DATA = (SID = SACS)))
    #--- end of tnsnames.ora ---
    And finally sqlnet.ora, that is very usefull for setting secure
    networks or
    just logging for looking for errors. You can also set your
    keepalive timeout.
    #--- sqlnet.ora
    TRACE_LEVEL_CLIENT = OFF
    names.directory_path = (TNSNAMES)
    SQLNET.EXPIRE_TIME = 10
    #-- end of sqlnet.ora --
    null

  • Listener.ora file on RAC 11gR2 with SCAN

    Hello,
    I have 11.2.0.1 Rac with 2 nodes configured to work with SCAN.
    The following listener.ora file was created during the rac installation.
    (I only changed the name of the instance to XYZ in the output bellow).
    There is only one listener.ora file for both the rdbms instance and the ASM instance.
    Is it a good best practice or should i consider to create a seperate listener.ora
    to the rdbms instance and to the ASM instance ?
    The listener.ora is look as follow:
    LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))) # line added by Agent
    LISTENER_XYZ_=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_XYZ)))) # line added by Agent
    LISTENER_SCAN3=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN3)))) # line added by Agent
    LISTENER_SCAN2=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2)))) # line added by Agent
    LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))) # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN2=ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN3=ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_XYZ=ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON # line added by AgentLSNRCTL> show current_listener
    Current Listener is LISTENER
    LSNRCTL> services
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+ASM1", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:9195 refused:0 state:ready
    LOCAL SERVER
    Service "XYZ_SRV" has 1 instance(s).
    Instance "XYZ_1", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:803987 refused:0 state:ready
    LOCAL SERVER
    Service "XYZ" has 1 instance(s).
    Instance "XYZ_1", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:803987 refused:0 state:ready
    LOCAL SERVER
    Service "XYZ_XDB" has 1 instance(s).
    Instance "XYZ_1", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: xyzdb-11-1, pid: 11923>
    (ADDRESS=(PROTOCOL=tcp)(HOST=xyz-11-1)(PORT=36594))
    The command completed successfullyThanks

    Is it a good best practice or should i consider to create a seperate listener.ora to the rdbms instance and to the ASM instance ?No, you should not be creating separate listener for each Grid & DB. Listener is node specific resource. Oracle recommends in RAC environment the listener should be configured from GRID home and it will be able to serve both Grid and DB services.
    It also helps in maintenance where as you can upgrade DB without bothering Listener, can have several db instances, and can have several versions of DB supported by a single listener.
    I hope this answers your question. if yes please mark the question as answered and do not forget marking answer as a Correct answer.
    Edited by: pgoel on Mar 5, 2011 10:50 PM

  • Tnsnames.ora, sqlnet.ora & listener.ora files are not exit

    DB version: 10.2
    Hello All,
    I just joined the project and notice tnsnames.ora, sqlnet.ora & listener.ora files are not exit under $ORACLE_HOME/network/admin.
    But still we can connect to the database,
    From command prompt or via enterprise manager studio from client site.
    Any idea?
    OR
    what is the best way to create above files in the existing database?
    DN

    tnsnames.ora and sqlnet.ora are client side files, listener.ora and sqlnet.ora are server side files.
    Listener.ora need not exist if using defaults and dynamic registration of services. It may be possible to cope without all those files, depending on the environment.
    Is the database on the local or remote computer and how are you connecting (from sqlplus)?
    Maybe you have a tnsnames.ora somwhere else? (Try using find command) Maybe TNS_ADMIN is set?

  • 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

  • Figuring out location of tnsnames.ora and listener.ora file.

    Hello.
    Is there a way to figure out what my oracle instance is reading in terms of tnsnames.ora and/or listener.ora file? According to the 10g docs, they can be found in a few places:
    1. $ORACLE_HOME/network/admin
    2. $TNS_ADMIN
    3. in a global configuration directory, on solaris it is /var/opt/oracle.
    How would I know which one my instance/lsnrctl is reading, aside from checking out differences in behavior?
    Plus, how would I change where to look for the file?
    thanks.

    On Solaris you can use 'truss' on the binary and grep for all the open() calls to see exactly which files are being used or tested for in order. I had an issue once where a tnsnames.ora was being used and it turned out to be $HOME/.tnsnames.ora (IIRC). There are similar calls under Linux (strace).

  • Help with Listener.ora file location on Suse Linux

    Hi
    Ok, 2 scenarios
    Scenario 1
    Installed Oracle 10.1.0.3.0 on Suse 9.2, the location of the listner is: /oracle/dborafiles/application_name/instance/admin/netadmin/
    Which is great, as this is where i want the listener and tnsnames.ora files to be under.
    Scenario 2
    Installed Oracle 10.2.0.1.0 on Suse 9.2 (using exactly the same method for doing the above instllation), and for some odd reason, the location of Listner and tnsnames.ora files are under:
    /oracle/dboracle/orabase/product/10.2.0.1.0/network/admin/
    This is the wrong location for me, I want the listner and tnsnames .ora files to be under same like scenario 1.
    2 Questions:
    Q1: why the listener.ora and tnsnames.ora files are diffrent location in Scenario 2 comapred to Scenario 1.
    Q2: How do I correct it.
    Note: the TNS_ADMIN in .profile is exactly the same for the above 2 installations, changed the applciation name and sid offocure, but all the same:
    TNS_ADMIN=/oracle/dborafiles/applicatio_name/instance_name/admin/netadmin
    export ORACLE_SID ORACLE_BASE ORACLE_HOME PATH
    Can someone please help?

    For a long time now, the tnsnames and listener files have been placed in the ${ORACLE_HOME}/network/admin by default. That is the location that the installer will create these files in.
    Don't know why 10.1.0.3.0 install created the files in that folder. That is not the default behaviour in versions prior to this and versions after this.
    Check the settings of the environment variables that were in effect at the time of 10.1.0.3.0 install.

  • 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

Maybe you are looking for

  • Print out as well as Sending mail of invoice

    Hi I have a requirement   in invoice like, i need print out as well as I need to send mail to the user. In T-code VF03 ,  My user will be giving only one  transaction medium as External send. But  he needs the print out of the invoice also. how can w

  • MAX support of SNTP for Real-time controller​s

    Hey everyone, I have some PXI systems that allow me to enter a Time Server IP address directly into the MAX setup for the device but I have some other PXI chassis that don't. Does this have to do with the version of Real-time they are running? Can an

  • Consolidated Payment to Vendors

    Hi all, We have a scenario, where in our client issues  cheque for a consolidated amount to the Bankers for payment to vendors. The Bankers in turn will issue different DD's to the vendors. I shall explain this with an example: The client issues a si

  • Copp and management traffic

    Good afternoon fellow Ciscorians. I have configured a Copp to rate limit ICMP traffic and fragmented traffic from saturating the RP via the control-plane and also ignore the same traffic class from our trusted IP addresses.  But i am wondering about

  • Changing Forum screen name

    I really want to change my screen name without starting a new account. How do I do it?