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?

Similar Messages

  • Questions on sqlnet.ora, listener.ora files in RAC environment.

    Experts,
    I've some confusion with below files in RAC environment.
    sqlnet.ora
    listener.ora
    These files are available in two locations: <GRID_HOME> & <DB_HOME>.
    My questions:
    1. Why do we have two versions of files ?
    2. When I query lsnrctl status from BOTH the homes, it says it is using listener.ora from <GRID_HOME> as shown below.
    Listener Parameter File D:\app\11.2.0\grid\network\admin\listener.ora
    3. What is the use of files which are in <DB_Home>
    4. If you make some changes to listener using "Netmgr" tool, we expect it will update listener.ora in <GRID_HOME>. Interestingly, it is changing the contents of listener.ora in <DB_HOME> .
    Can anyone please clarify it ?
    Thanks in advance.

    859875 wrote:
    1. Why do we have two versions of files ? In the past, the CRS s/w did not include ASM (ASM did not provide support for cluster voting and registration disks). Thus the networking components such as SQL*Net and the Listener were not part of the CRS installation.
    With Grid Infrastructure, ASM supports cluster voting and registration disks and is recommended to be used for that (as oppose to the old style of raw disks or using an external cluster-based cooked file system like <i>ocfs</i>). And with ASM comes the SQL*Net networking layer and s/w (such as the Listener). As ASM ships with Grid Infrastructure, it now also includes the same networking layer as what the RDBMS installation will. Thus both <GRID_HOME> and <DB_HOME> will contain the same networking components.
    However, only a single Listener is for example needed. And that can only run from a single base location. So for operational use, only one version will be actively in use.

  • 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

  • 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

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

  • How to move listener.ora

    Hi all,
    i have a question about listener.ora. I just see in OEM that listener.ora are in /u01/app/grid/network/admin/listener.ora but its a old configuration (before we megrated to 11.2.0.1 to 11.2.0.3), how can i move this to the right path? (/u02/app/grid/network/admin/listener.ora).
    The database now is 11.2.0.3 (RAC with 2 nodes, and ASM) on RHEL 5.3.
    thanks in advance
    Edited by: Me_101 on 15-mar-2012 3:18

    Me_101 wrote:
    i was pl/sql programmer until 1 month and now i will be "promoted" to dba. When the dba was fired appear a lot of abusive security politics.Good luck with your promotion.
    Due to the restrictions being placed on you, that will not allow you to do your job properly, you might consider updating your resume with your new title and fleeing.
    But your main problem here is that you need to log to the host Xwindows using user oracle. su will cause issues when displaying. It is because of that kind of restriction that Oracle strongly advises you use the Grid Control and perform all your requests via a browser.

  • 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

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

  • Possible locations of listener.ora in a global listener configuration.

    Hi,
    i am having a problem with my global listener configuration.
    I have kept my listener.ora in /etc/oracle.
    Can someone please let me know what are the possible locations for keeping listener.ora in a global listener configuration.
    i know about /etc and /var/opt/oracle , any other locations allowed by Oracle?

    The Oracle database forum might be a better place to to post this questions:
    General Database Discussions
    But from what I understand, you can define the TNS_ADMIN environment variable to define a central location for the listener.ora file.
    http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/config_concepts.htm#i490582

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

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

Maybe you are looking for

  • Already Converted 10 of my family members over to AT&T for Nokia Lumia 900!!!

    Verizon, You decided to drag you feet, promote the crap out of Android and stop supporting Windows Phone 7. So I converted 10 of my family members over yesterday to AT&T for the Nokia Lumia 900. I got them $100 credit towards the Nokia Lumia 900 whic

  • How do i use ipod as flash drive?

    I plugged my IPOD and opened iTunes. "Manually manage music and videos" is already checked, "Enable disk use" is also checked but greyed. However, IPOD does not appear in My Computer. I would uncheck "Manually manage music and videos" but if I do the

  • Poor quality (skips) in download

    Hey All! I have one particular album that I downloaded several months ago, and every time i play the songs from iTunes or my iPod, they skip in the exact same spot every time. I know Connect Music from Sony lets you re-download purchases (yay! I boug

  • Standard man hours out of SAP ...help

    i have a   standard reports OUT of COPA ..but i am trying to addd standard man hours onto it. i am not able to find anything. kindly help me if you know any cube or DS which has standard man hours? here is what i am looking u201C Modify the operating

  • My brush cursor disappear when i zoom in

    Hi, My Photoshop has been upgraded to CS5.5 now. When I used my circle brush tool before, I can see the size of my brush in a circle so I know where to paint. Now this circle is disappearing when I use my brush tool when zooming in the picture. I did