Listener.ora  Parameters

Where can I get a good indepth description of what goes on inside the listener.ora file. Having worked with another DB for so long, I am confused with the difference in terminology between DB's - for example hostname in one does not have the same meaning as hostname in another ...... :-o
Dirk

Sorry, I kinked the wrong doc!
brb with the good link.
Yoann.
http://www.oracle.com/pls/db92/db92.to_pdf?pathname=network.920%2Fa96580.pdf&remark=docindex
http://www.oracle.com/pls/db92/db92.to_pdf?pathname=network.920%2Fa96581.pdf&remark=docindex
These are for release 9i. Search for yourself for other releases via http://tahiti.oracle.com
Message was edited by:
Yoann Mainguy

Similar Messages

  • TNS-12500 error, kindly look at my ora parameters

    kindly look at my ORA parameters if you see anything wrong or suspicious
    # LISTENER.ORA Network Configuration File:
    E:\oracle\ora92\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTO = IPC)(KEY = EXTPROC1))
    (ADDRESS_LIST =
    (ADDRESS = (PROTO = TCP)(HOST = 192.168.210.4)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = E:\oracle\ora92)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = FRAUDDB)
    (ORACLE_HOME = E:\oracle\ora92)
    (SID_NAME = FRAUDDB)
    (SID_DESC =
    (GLOBAL_DBNAME = OEMREP.ecnfraud.com)
    (ORACLE_HOME = E:\oracle\ora92)
    (SID_NAME = OEMREP)
    Contents of my tnsnames.ora file
    # TNSNAMES.ORA Network Configuration File:
    E:\oracle\ora92\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    FRAUDDB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTO = TCP)(HOST = 192.168.210.4)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = FRAUDDB)
    INST1_HTTP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTO = TCP)(HOST = 192.168.210.4)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = MODOSE)
    (PRESENTATION = http://HRService)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTO = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    contents of my sqlnet.ora file
    # SQLNET.ORA Network Configuration File:
    E:\oracle\ora92\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME

    TNS-12500 is not related to listener or tnsnames configuration. It occurs due to non-availability of memory on the database server.
    Check your server for physical RAM and virtual memory consumption. If database server is running on windows then check if the oracle process is crossing per process limit of 2GB. If you need to cross 2GB, you need to set the parameter in boot.ini for this.
    Have a look at this thread for details.
    Re: ORA-27102 out of memory pls help

  • What should have in equal tnsnames,ora and listener.ora?

    Hi forum members again I'm very new in oracle, and I'm trying to create a sucessfull net service name, using oracle net configuration assitant, but when I try to test it I got this error, .***"""ORA-12514: TNS:listener does not currently know of service requested in connect descriptor."""*** And I have read that tnsnames.ora and listener.ora should have some parameters in common, but exactly I don't know, Do you know what parameters should be? or The ORA-12514 problem , doesn't have relation with the tnsnames.ora and listener files?, If doesn't wich is the reason of this message?
    By the way I put what contain these files:
    ---------------------------------------------------------------------------listener.ora
    # listener.ora Network Configuration File: /opt/oracle/product/10.1.0.3/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = oracle.gentoo)
    (ORACLE_HOME = /opt/oracle/product/10.1.0.3)
    (SID_NAME = oracle)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    SAVE_CONFIG_ON_STOP_LISTENER = TRUE
    TRACE_LEVEL_LISTENER = USER
    /////////////////////////////////////////////////////////////////////////////tnsnames.ora
    # tnsnames.ora Network Configuration File: /opt/oracle/product/10.1.0.3/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    NORACLE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = tux)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = noracle)
    By the way what must be the username and the pasword that ask the ORACLE CONFIGURATION ASSINTANT to test the net service name? Must be the user name and password of the system user?
    Thanks in advance

    OK, here we go ... extra long as I intend to bookmark this and make reference, as this is a very common question ... skip to the bottom if you want my guess to the solution.
    Oracle Net Services (formerly SQL*Net, Net8, Oracle Networking) has two parts - the client and the server side. I'll discuss the server first, then the client.
    1) Server, and specifically Listener:
    The Oracle Listener is a monitor that listens for Oracle service requests on one or more ports. Usually this is on TCP/IP port 1521. When it gets an Oracle request from any network client, it checks whether it's in the list of Oracle Services for which it is monitoring. If found, it will contact that service, request a connection for the client, tell the service and client where and how to connect, and get itself out of the loop.
    Notes:
    a) It can listen on behalf of any number of services;
    b) A service can be a database instance, an EPG service (the DBMS_EPG is the replacement for Apache in the database in 10gR2), an external job, etc;
    c) One listener can listen on behalf of multiple database instances;
    d) The services can be listed in the LISTENER.ORA or they can self-register;
    e) If databases self-register, they use the initialization parameter LOCAL_LISTENER
    f) If self-registering, the listener should be up before the database
    g) Shutting down the listener will stop future connections, but has no impact on existing ones.
    One frequent point of confusion - a connection request on the local machine may loop out to the network and contact the listener, or it may bypass the listener entirely and use a bequeath adapter. The 'beq' connection is the 'normal' connection by "sqlplus / as sysdba" or "sqlplus system/manager" on the local machine (note that no @instance was used ... in *nix, that is derived from the $ORACLE_SID environment variable)
    In your listener.ora, you specify global_dbname=oracle.gentoo and sid_name=oracle. I assume therefore you can find an initoracle.ora or spfileoracle.ora somewhere on your system.
    2) Client:
    A client that wants to connect to an Oracle service uses the client side of the Oracle Net Services. The definition of client includes: any Oracle client utiltiy (SQLPlus, SQLLoad, Forms, Reports, etc.); an Oracle database instance that wants to make a external procedure call or a dblink; third party tools such as ODBC and JDBC.
    In SQL*Net version 1 the connection was made by specifying the target in the connect string ("user/password@host:listener_port:sid") and that is also used these days by many JDBC drivers, especially the Oracle Thin JDBC driver. Oracle's Easy connection mechanism uses a similar variant.
    Since SQL*Net Version 2, Oracle has supported the concept of alias translation. Basically it's very similar in concept to DNS - give it the name of the service and tell it where to find the translation table. The translation tables include TNSNAMES.ORA, ONAMES servers (deprecated in 10g), LDAP usng Oracle's OiD. The choice of translation table, and alternate order if the lookup fails in one, is stored in the SQLNET.ORA (if one exists).
    Assuming TNSNAMES.ORA, the chain of events is:
    - get the alias to look up (in your case NORACLE);
    - if the SQLNET.ORA has a DEFAULT_DOMAIN setting, (often =WORLD) append a dot and that value to the alias;
    - go to the TNANSMES.ORA file pointed by the TNS_ADMIN variable (environment or registry), or (if not set) the one in the $ORACLE_HOME/network/admin directory;
    - look up the first occurance of the alias;
    - if found, use the protocol specified to request a connection to the host, usin DNS to unravel the host to an IP address if necessary (in your case TCP/IP, to TUX) ;
    - if host connection if made, connect to the listener that is configured for that port (in your case 1521);
    - if listener is there, ask it for connection to the service (in your case, you are asking for instance 'noracle');
    i if the listener knowwss about the service, it will hand off the request.
    Your problem appears to be asking for instance 'noracle' in the tnsnames but listeneing for 'oracle' at the listener. Of course, I can not see any auto-registered instances which you would get from "lsnrctl status" on the server.

  • Tnsnames.ora and listener.ora

    I am studying oracle and came accross
    tnsnames.ora and listener.ora file.
    Can any one tell me in simplified terms about these 2 files. what are they and what exactly they do?

    When you are accessing Oracle over network you need a listerner service (usually on server box) and SQLNet or Net8 client on client machine. Listener.ora specifies the parameters for listener process and tnsnames.ora contains the SQLNet or Net8 connection informations about database server(s)

  • 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

  • AC-50480 error while generating listener.ora while running autoconfig

    Hi,
    I am trying my first clone on R1213. We have a split tier configuration. I am able clone the database server successfully.
    Now when I run 'perl adcfgclone appsTier', during the autoconfig part, it fails with the error message AC-50480 : Error while generating listener.ora
    I have followed note
    AC-50480" Error Generating the "listener.ora" File. [ID 1089036.1]
    During Autoconfig "adgentns.pl" fails: "AC-50480: Internal error occurred: java.lang.Exception: Error while generating listener.ora" [ID 453901.1]
    derigistered bothe the servers
    ran autoconfig on the DB
    Verified the contents of FND_NODES table.
    Everything looks fine, but it still errors during autoconfig.
    There is no listener file under $TNS_ADMIN.
    There is tnsnames.ora under $TNS_ADMIN
    Any clue?
    TIA,
    AZ

    Here are the contents from NetServiceHandler.log
    Processing listener.ora on middle tier
    s_enable_listener_password = OFF
    instantiate file:
    source : /d01/oracle/opda/apps/apps_st/appl/ad/12.0.0/admin/template/iAS_1012_env.tmp
    dest : /d01/oracle/opda/inst/apps/OPDA_oratest/ora/10.1.2/OPDA_oratest.env
    /d01/oracle/opda/inst/apps/OPDA_oratest/admin/install/admk80ln.sql permissions changed to 644 (unix only)
    instantiate file:
    source : /d01/oracle/opda/apps/apps_st/appl/ad/12.0.0/admin/template/APPLSYS_ux.env
    dest : /d01/oracle/opda/apps/apps_st/appl/OPDA_oratest.env
    /d01/oracle/opda/inst/apps/OPDA_oratest/admin/install/admk80ln.sql permissions changed to 644 (unix only)
    instantiate file:
    source : /d01/oracle/opda/apps/apps_st/appl/ad/12.0.0/admin/template/adovars_ux.env
    dest : /d01/oracle/opda/inst/apps/OPDA_oratest/appl/admin/adovars_OPDA_oratest.env
    /d01/oracle/opda/inst/apps/OPDA_oratest/appl/admin/adovars_OPDA_oratest.env permissions changed to 644 (unix only)
    instantiate file:
    source : /d01/oracle/opda/apps/apps_st/appl/fnd/12.0.0/admin/template/admk80ln_ux.sql
    dest : /d01/oracle/opda/inst/apps/OPDA_oratest/admin/install/admk80ln.sql
    /d01/oracle/opda/inst/apps/OPDA_oratest/admin/install/admk80ln.sql permissions changed to 600 (unix only)
    instantiate file:
    source : /d01/oracle/opda/apps/apps_st/appl/fnd/12.0.0/admin/template/admk80ln.sh
    dest : /d01/oracle/opda/inst/apps/OPDA_oratest/admin/install/admk80ln.sh
    /d01/oracle/opda/inst/apps/OPDA_oratest/admin/install/admk80ln.sh permissions changed to 700 (unix only)
    Execution of /d01/oracle/opda/inst/apps/OPDA_oratest/admin/install/admk80ln.sh is given to TimedProcess
    admk80ln.sh started at Thu Sep 29 08:56:59 EDT 2011
    The environment settings are as follows ...
    ORACLE_HOME : /d01/oracle/opda/apps/tech_st/10.1.2
    ORACLE_SID :
    TWO_TASK : OPDA
    PATH : /d01/oracle/opda/inst/apps/OPDA_oratest/admin/scripts:/d01/oracle/opda/apps/tech_st/10.1.3/perl/bin:/d01/oracle/opda/apps/tech_st/10.1.2/bin:/d01/oracle/opda/apps/apps_st/appl/fnd/12.0.0/bin:/d01/oracle/opda/apps/apps_st/appl/ad/12.0.0/bin:/d01/oracle/opda/apps/tech_st/10.1.3/appsutil/jdk/jre/bin::/d01/oracle/opda/apps/tech_st/10.1.2/bin:/usr/bin:/usr/sbin:/d01/oracle/opda/apps/tech_st/10.1.3/appsutil/jdk/jre/bin:/d01/oracle/opda/apps/tech_st/10.1.3/perl/bin:/d01/oracle/opda/inst/apps/OPDA_oratest/admin/scripts:/d01/oracle/opda/apps/tech_st/10.1.3/perl/bin:/d01/oracle/opda/apps/tech_st/10.1.2/bin:/d01/oracle/opda/apps/tech_st/10.1.3/appsutil/jdk/jre/bin:/d01/oracle/opda/apps/tech_st/10.1.2/bin:/usr/bin:/usr/sbin:/d01/oracle/opda/apps/tech_st/10.1.3/appsutil/jdk/jre/bin:/bin:/usr/bin:/usr/local/bin:/usr/local/bin/X11:/usr/X11R6/bin:/usr/sbin:.:/d01/oracle/opda/apps/tech_st/10.1.2/OPatch:/d01/oracle/opda/apps/tech_st/10.1.3/appsutil/jdk/bin:/d01/oracle/opda/apps/tech_st/10.1.3/ant/bin:/home/applopda/bin:/d01/oracle/opda/apps/tech_st/10.1.2/OPatch:/d01/oracle/opda/apps/tech_st/10.1.3/appsutil/jdk/bin:/d01/oracle/opda/apps/tech_st/10.1.3/ant/bin
    Library Path : /d01/oracle/opda/apps/tech_st/10.1.2/jdk/jre/lib/i386:/d01/oracle/opda/apps/tech_st/10.1.2/jdk/jre/lib/i386/server:/d01/oracle/opda/apps/tech_st/10.1.2/jdk/jre/lib/i386/native_threads:/d01/oracle/opda/apps/apps_st/appl/cz/12.0.0/bin:/d01/oracle/opda/apps/tech_st/10.1.2/lib32:/d01/oracle/opda/apps/tech_st/10.1.2/lib:/usr/X11R6/lib:/usr/openwin/lib:/d01/oracle/opda/apps/tech_st/10.1.2/jdk/jre/lib/i386:/d01/oracle/opda/apps/tech_st/10.1.2/jdk/jre/lib/i386/server:/d01/oracle/opda/apps/tech_st/10.1.2/jdk/jre/lib/i386/native_threads:/d01/oracle/opda/apps/apps_st/appl/sht/12.0.0/lib
    SQLPLUS Executable : /d01/oracle/opda/apps/tech_st/10.1.2/bin/sqlplus
    SQL*Plus: Release 10.1.0.5.0 - Production on Thu Sep 29 08:57:00 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter value for 1: Enter value for 2: ERROR:
    ORA-12157: TNS:internal network communication error
    Unable to generate listener.ora from database
    Using default listener.ora file
    .end std out.
    .end err out.
    Error while generating listener.ora.
    StackTrace:
    java.lang.Exception: Error while generating listener.ora.
         at oracle.apps.ad.tools.configuration.NetServiceHandler.generateMiddleTierListener(NetServiceHandler.java:2495)
         at oracle.apps.ad.tools.configuration.NetServiceHandler.processNode(NetServiceHandler.java:2269)
         at oracle.apps.ad.tools.configuration.NetServiceHandler.main(NetServiceHandler.java:3010)

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

  • Change the host name in Listener.ora to fixed IP address

    in Listener.ora i want change host name to IP :
    ==== OLD ====
    LISTENER =
    (ADDRESS_LIST =
    (ADDRESS=(PROTOCOL= TCP)(Host=Server)(Port= 1521))
    (ADDRESS=(PROTOCOL= IPC)(KEY = ORCL))
    === WHAT I NEED ===
    LISTENER =
    (ADDRESS_LIST =
    (ADDRESS=(PROTOCOL= TCP)(Host=100.100.110.1)(Port= 1521))
    (ADDRESS=(PROTOCOL= IPC)(KEY = ORCL))
    how can i do this .

    It is not recommended to change the name for an IP addressIt is not recommended by who? AFAIK there is no such sentence in documentation.
    But there is other:
    host Required. Specify the host name or IP address of the database server computer.
    Instad of "It is not recommended..." better use "Consider this..."
    , as if ever it changes in the future, you'll have to be back and change once again your ip.The same is truth when we are speaking about FQDN (fully qualified domain name).
    How often your company changes the IP adresses on server platform?
    My experience from past:
    First case:
    My company has rebranded and and domain name has been changed but IP has not. Unfortunatelly we were not using OID for resolving. If there were FQDN used then would have to make changes in many files. Fortunatelly we were using IP addresses.
    Now we are using OID for resolving of tnsnames (as primary method).
    What I want to say is both solutions (FQDN or IP) are fine. Each of them has some advantages and also disadvantages.

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

  • Help with listener.ora

    I'm trying to set up my linux box so someone can telnet in and run a couple of queries in SQL*PLUS. I have th tnsnames.ora file setup correctly - I think. I'm not sure what I'm supposed to do with listener.ora. I know that this file is used by lsnrctl. Can someone give me some help with this? Thanks.

    How did u know that your tnsnames.ora works, when you have not setup listener.ora?
    Anyway, this might help:
    http://homepages.tig.com.au/~jmsalvo/linux/oracle8i-5.html

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

  • Bestpractice init.ora parameters for data warehouse in 10gR2

    Hi,
    We moved our 1Tera data warehouse database to linux 64 bit , 8 cpu , 8GB memory, with ASM (non RAC).
    Could you please recommand best practice setting init.ora parameters in 10g
    DW to achive the best performace ?
    I set the following parameters:
    parallel_adaptive_multi_user=TRUE
    parallel_execution_message_size=2152
    parallel_min_server=0
    parallel_max_server=135
    parallel_threads_per_cpu=2
    db_file_multi_block_read_count=64
    pga=900m
    query_rewrite_enabled=true
    star_transformation_enabled=true
    db_block_size=32k
    sga_target=3g
    statistic_leve=typical
    undo_management=auto
    workarea_aize_policy=auto
    db_cache_advice=on
    disk_async_io=true
    2. What setting would you recommand regrading the following parameters in DW (and ASM):
    -- filesystemio_option :none | setall | directIO | asynch
    Thank You.

    You will get best practices from your production experiences and good advisors that oracle 10 has provided to you.
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14223/toc.htm

Maybe you are looking for