Listener as bottleneck on RAC?

Hello *,
global topic: configuration connection load balancing on Oracle RAC with two nodes
Oracle 10.2.0.1 RAC with two nodes
the service is configured as "prefered" on node 2/instance 2 and "available" on node 1/instance1
the listener on node 2 is set offline (for testing)
the listener on node 1 is running
both instances on node 1 and two are running
when I try to connect via the service, I got the response that the listener is not running
is this the normal behavior?
can I configure the first listener on node 1 to connect to instance 2 as well?
and the second listener on node 2 to connect to instance 1 as well?
Thank you reading an anwering!
Christian
Message was edited by:
ckiltz

The problem still persists:
I changed the remote listener parameter:
alter system set remote_listener= LISTENER_TCOMM2 sid='1';
alter system set remote_listener= LISTENER_TCOMM1 sid='2';
# Error message while listener of node two is offline
An error occured while establishing the connection.
Type: java.sql.SQLException Error Code: 0
Message:
Listener refused the connection with the following error:
ORA-12520, TNS:listener could not find available handler for requested
type of server
The Connection descriptor used by the client was:
(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.65)(PORT =
1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.66)(PORT = 1521))
(LOAD_BALANCE = off) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME
= a_user)))
# lsnrctl services
Service "a_user" has 1 instance(s).
Instance "inst2", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:137 refused:0 state:ready
LOCAL SERVER
# tnsnames.ora
A_USER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.65)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.66)(PORT = 1521))
(LOAD_BALANCE = OFF)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = a_user)
(failover_mode =
(type=session)
(method=basic)
(retries=7)
(delay=2)
)

Similar Messages

  • Tnsname.ora and listener.ora files in RAC environment.

    Want to clear my concept regarding
    tnsname.ora and listener.ora files in RAC environment. Is there any good notes on Metalink for that?

    Check this metalink note, it covers specific RAC issues:
    Configuration of Load Balancing and Transparent Application Failover
    Note:226880.1
    Werner

  • NETCA listener configuration error for RAC database

    Hi,
    WE have a RAC setup on 2 nodes and now we want to change the default listener port for RAC database.
    Database ver: 10.2.0.4
    We now that srvctl does not work to add listener manually to CRS.
    We are now using netca to create new listener on both the RAC nodes but it gives error throwing :
    Problem in configuration : Node(S): hostname
    Try again...
    When we try to start the listener say listener_I it throws following error:
    Problem in configuration :node1
    Listener start to failed:Listener may already be running
    CRS-0215:Could not start resource
    This is urgent
    any help is appreciated.
    Regards,
    Milan

    user12073248 wrote:
    How you fix it? write to [email protected]
    Hi Mauricio,
    In this forum we help for free regardless of priority.
    First you try to help in the forum if the author of the post request your e-mail you give to him.
    Hope you understand it.
    Thanks in advance for doing your part to make this community as valuable as possible for everyone!
    Levi Pereira

  • Why remote listener is used in RAc environment

    why remote listener is used in RAc environment

    I'm sure there is something in some concepts papers anywhere on tahiti.
    But as I'm as lazy to search as you are, I will try to answer:
    local_listener is the listener which serves the instances which register to it (as local_listener).
    remote_listener(s) should be all the listeners which serve the other instances belonging to the database.
    every pmon tells all the local and remote listeners the load of the system where it resists.
    In server side load balancing, the listener will redirect the client to the listener on the system with the lowest load.
    hth
    Martin

  • Any major differences of exadata database, listener, processes than regular RAC environment?

    I would like to ask for any input regarding any major differences of exadata database, listener, processes than regular RAC environment.
    I know now the exadata not only have SCAN listener, but a lot other listeners. can expert here provide more details?
    Thanks

    We will use zfs to do backups, is that possible for the initiband listener to communicate with ZFS?  where I can find documents for zfs?
    The SDP (Infiniband) Listener is for client connections connecting to the database on Exadata over the SDP protocol on the Infiniband network. You should use the Infiniband network to connect the ZFS to Exadata and mount the ZFS shares to the Exadata compute nodes using DNFS; but this doesn't use the SDP listener because there is no database connection originating from the ZFS you are just backing up your databases to it. See the "Oracle ZFS Storage: FAQ: Exadata RMAN Backup with The Oracle ZFS Storage Appliance (Doc ID 1354980.1)" MOS note for good information and references regarding backing up from Exadata to ZFS.
    Plus how do I know we have exalogic?  I dont think we have one, but is there a way to check to be sure?
    Exalogic is another of Oracle's engineered systems. It contains integrated compute, network and storage - similar to Exadata - but is used for running application environments, specifically for fusion middleware (e.g. Weblogic) applications, instead of databases. It uses a ZFS storage appliance for the storage, as opposed to the storage cells on Exadata, and for virtualized environments uses the Exalogic Elastic Cloud software. You would know if you have one.
    So basically after oracle engineer installed onecommand and created sample database, as oracle dba, we can dbca to create a database just like regular RAC environment?  There is nothing specific on exadata perspective?
    Yes... Oracle on Exadata is still the same RDBMS - same Oracle Enterprise edition with the RAC option. The Exadata difference comes with the hardware integration and the storage cell software... the database software is the same.
    Another question is do I have to configure exadata specific parameters in order for all those features of smart scan, storage index, comrpession, etc work?
    Some Exadata features are mostly "black box" and work without any configuration others may take some configuration or tuning to take advantage of. For example, storage indexes are created dynamically on the storage cells... there is not much you can do to control them. For smart scans you need full table/index scans with direct path reads. So you need to tune for direct path reads. HCC requires setting up your tables/partitions to compress at one of the HCC compression levels and using direct path loads.

  • Oracle listener problem in 9204 rac

    Hi ,
    I have an oracle database running in rac .
    Platform - solaris 8
    RDBMS version - 9204
    I am two nodes on which the individual instances runs
    The dbname is PSFTP AND the node 1 is PSFTP1 AND node 2 is PSFTP2
    I am unable to connect to the first node
    /u00/app/oracle/product/92/network/log $ sqlplus <uid>/<passwd>@psftp
    SQL*Plus: Release 9.2.0.4.0 - Production on Thu Aug 19 15:41:51 2004
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect
    descriptor
    Enter user-name:
    /u00/app/oracle/product/92/network/log $ sqlplus uid>/<passwd>@psftp1
    SQL*Plus: Release 9.2.0.4.0 - Production on Thu Aug 19 15:42:10 2004
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect
    descriptor
    Init.ora parameter
    local_listener=LISTENER_PSFTP1
    service_names=PSFTP
    Tnsnames.ora
    LISTENER_PSFTP1=(address=(protocol=tcp)(host=10.176.247.230)(port=2521))
    PSFTP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.176.247.230)(PORT = 2521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.176.247.244)(PORT = 2521))
    (LOAD_BALANCE = yes)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = PSFTP)
    (failover_mode =
    (type = select)
    (method = basic)
    (retries = 20)
    (delay = 15)
    PSFTP1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.176.247.230)(PORT = 2521))
    (CONNECT_DATA =
    (SERVICE_NAME = PSFTP)
    (INSTANCE_NAME = PSFTP1)
    Listener.ora
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.176.247.230)(PORT = 2521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = /u00/app/oracle/product/92)
    (SID_NAME = PSFTP1)
    Listener.log
    TNSLSNR for Solaris: Version 9.2.0.4.0 - Production on 17-AUG-2004 21:58:31
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    System parameter file is /u00/app/oracle/product/92/network/admin/listener.ora
    Log messages written to /u00/app/oracle/product/92/network/log/listener.log
    Trace information written to /u00/app/oracle/product/92/network/log/listener.trc
    Trace level is currently 16
    Started with pid=29809
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.176.247.230)(PORT=2521)))
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    17-AUG-2004 21:58:31 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=psfpdb01)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VE
    RSION=153093120)) * status * 0
    17-AUG-2004 21:58:39 * service_register * PSFTP1 * 0
    17-AUG-2004 21:58:39 * service_died * PSFTP1 * 12537
    17-AUG-2004 21:59:39 * service_register * PSFTP1 * 0
    17-AUG-2004 21:59:39 * service_died * PSFTP1 * 12537
    17-AUG-2004 22:00:39 * service_register * PSFTP1 * 0
    17-AUG-2004 22:00:39 * service_died * PSFTP1 * 12537
    17-AUG-2004 22:01:40 * service_register * PSFTP1 * 0
    17-AUG-2004 22:01:40 * service_died * PSFTP1 * 12537
    17-AUG-2004 22:02:40 * service_register * PSFTP1 * 0
    17-AUG-2004 22:02:40 * service_died * PSFTP1 * 12537
    17-AUG-2004 22:03:40 * service_register * PSFTP1 * 0
    17-AUG-2004 22:03:40 * service_died * PSFTP1 * 12537
    17-AUG-2004 22:04:40 * service_register * PSFTP1 *
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.176.247.230)(PORT=2521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Solaris: Version 9.2.0.4.0 - Production
    Start Date 17-AUG-2004 21:58:31
    Uptime 1 days 17 hr. 42 min. 55 sec
    Trace Level support
    Security OFF
    SNMP OFF
    Listener Parameter File /u00/app/oracle/product/92/network/admin/listener.ora
    Listener Log File /u00/app/oracle/product/92/network/log/listener.log
    Listener Trace File /u00/app/oracle/product/92/network/log/listener.trc
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.176.247.230)(PORT=2521)))
    Services Summary...
    Service "PSFTP1" has 1 instance(s).
    Instance "PSFTP1", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL>
    Thanks
    Prabhakar

    do sqlplus @LISTENER_PSFTP1
    your tns entry is misleading.

  • Different listener log file  in RAC system

    we have 4 nodes 11.1.0.7 RAC at redhat 5.1 linux system.
    I just find there are two listener log file (listener.log; listener_nodename.log ) in each node.
    I want to know which difference function is in both listener.log and listener_nodename.log?
    When or which condition does node run( record data) in listener.log?
    When or which condition does node run( record data) in listener_nodename.log
    I saw the 3 node3 listener_nodename.log is wroking on and one node listener.log is workig on.
    why?
    Does some experts explain this point for me?
    Thanks

    I make some clears for this requirements.
    we have a schedule backup and stores in ASM diskgroup in SAN.
    As system admin and policy of SAN disaster recovery, we need to generate backup in a local file system.
    in this case, we only backup database plus archival files in external file system. but I still saw snapshot control file is still put into default linux location.
    I am not able to see this snapshot in external file system.
    For SAN disaster recovery, do we need to save a control file snapshot in external file?
    Can I apply BACKUP CURRENT CONTROLFILE TO DESTINATION "external file path" for SAN disaster recovery?
    Thanks in advance!
    Jin

  • 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

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

  • How to configure listener while upgrade to RAC 11.2.0.2?

    I have 11.2.0.1 and preparing for upgrade to 11.2.0.2. While upgrading the single node we have to set the new oracle_home then configure listener for new home then upgrade the db.
    How to follow the same steps in case of RAC. The listeners are running from grid_home.So how to create all the listeners for new oracle_home? So by just installing GRID binaries does is install the GI completely to 11.2.0.2?
    Also Do I have to plan for listeners while RDBMS upgrade ?
    ENV:
    Server: Windows 2008R2
    DB: RAC two node on ASM
    Storage: SAN
    Kindly explain.

    Sabastian,
    I have configured the 3 IPs for SCAN. When you replied for SCAN I checked the status of SCAN IPs. And the strange thing is on node 1 status of SCAN IPs gives "could not find the srvice name.
    On second node :
    LSNRCTL> *status LISTENER_SCAN1*
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))
    STATUS of the LISTENER
    Alias LISTENER_SCAN1
    Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
    Start Date 28-APR-2011 15:12:33
    Uptime 3 days 16 hr. 17 min. 14 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File F:\gridinfra\11.2.0\grid\network\admin\listener.ora
    Listener Log File f:\gridinfra\11.2.0\grid\log\diag\tnslsnr\PDFPGISORPRD1\listener_scan1\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\LISTENER_SCAN1ipc)))
    *The listener supports no service*s
    The command completed successfully
    LSNRCTL> *status LISTENER_SCAN2*
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2)))
    STATUS of the LISTENER
    Alias LISTENER_SCAN2
    Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
    Start Date 26-APR-2011 10:38:30
    Uptime 5 days 22 hr. 44 min. 58 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File F:\gridinfra\11.2.0\grid\network\admin\listener.ora
    Listener Log File f:\gridinfra\11.2.0\grid\log\diag\tnslsnr\PDFPGISORPRD1\listener_scan2\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\LISTENER_SCAN2ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=164.156.155.81)(PORT=1521)))
    Services Summary...
    Service "gisprd" has 2 instance(s).
    Instance "gisprd1", status READY, has 121 handler(s) for this service...
    Instance "gisprd2", status READY, has 121 handler(s) for this service...
    The command completed successfully
    LSNRCTL> *status LISTENER_SCAN3*
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN3)))
    STATUS of the LISTENER
    Alias LISTENER_SCAN3
    Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
    Start Date 26-APR-2011 10:38:30
    Uptime 5 days 22 hr. 45 min. 3 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File F:\gridinfra\11.2.0\grid\network\admin\listener.ora
    Listener Log File f:\gridinfra\11.2.0\grid\log\diag\tnslsnr\PDFPGISORPRD1\listener_scan3\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\LISTENER_SCAN3ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=164.156.155.83)(PORT=1521)))
    Services Summary...
    Service "gisprd" has 2 instance(s).
    Instance "gisprd1", status READY, has 121 handler(s) for this service...
    Instance "gisprd2", status READY, has 121 handler(s) for this service...
    The command completed successfully
    LSNRCTL>
    Why it is so? Last week when I was working it was fine. So do you mean if I have three SCAN IPs, all three IPs has to be in listener.ora?
    Regards...Mayura
    Edited by: user2995637 on May 2, 2011 6:32 AM

  • TNS-12520 when connecting via TCPS on 11gR2 RAC with SCAN Listener

    I am struck trying to implement TCPS on our Oracle RAC SCAN Listener.  I have added to our Oracle 12c systems, but not on a RAC with SCAN.
    I created a wallet and certificate on one of the nodes, and copied it to the node and created auto login on each node.  I exported the trust.jks and identity.jks, and loaded them in my test java program as the trust store and key stores.  I have added the wallet location to the listener tns and sql  ora files.
    When attempting a TCPS connection, the ssl handshake succeed, but the client reports error:
    ORA-12520, TNS:listener could not find available handler for requested type of server
    The nodes scan listener log reports the TNS error, listener_scan1/alert/log.xml, when the connection is using TCPS on port 2484:
    <msg time='2015-04-29T14:06:20.629-04:00' org_id='oracle' comp_id='tnslsnr'  type='UNKNOWN' level='16' host_id='dublr059vm.dub.usoh.ibm.com'  host_addr='9.55.59.45'>
    <txt>29-APR-2015 14:06:20 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=tcarlson))
    (SERVER=DEDICATED)(SERVICE_NAME=DUB11RAC)) * (ADDRESS=(PROTOCOL=tcps)(HOST=9.55.61.122)(PORT=46635)) *
    establish * DUB11RAC * 12520
    </txt>
    </msg>
    <msg time='2015-04-29T14:06:20.629-04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='dublr059vm.dub.usoh.ibm.com'
    host_addr='9.55.59.45'>
    <txt>TNS-12520: TNS:listener could not find available handler for requested type of server
    </txt>
    </msg>
    A connection using TCP completes without error:
    <msg time='2015-04-29T14:42:02.588-04:00' org_id='oracle' comp_id='tnslsnr' type='UNKNOWN' level='16' host_id='dublr059vm.dub.usoh.ibm.com'  host_addr='9.55.59.45'>
    <txt>29-APR-2015 14:42:02 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=tcarlson))
    (SERVER=DEDICATED)(SERVICE_NAME=DUB11RAC)) * (ADDRESS=(PROTOCOL=tcp)(HOST=9.55.61.122)(PORT=41950)) *
    establish * DUB11RAC * 0
    </txt>
    </msg>
    The scan listener is configured for TCP on 1521 and TCPS on 2484
    [oracle@dublr059vm ~]$ srvctl status scan_listener
    SCAN Listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node dublr060vm
    [oracle@dublr059vm ~]$ srvctl config scan_listener
    SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1521/TCPS:2484
    The service, dub11rac is ready on both instances.
    [oracle@dublr060vm ~]$ lsnrctl stat LISTENER_SCAN1
    LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 30-APR-2015 11:45:18
    Copyright (c) 1991, 2013, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))
    STATUS of the LISTENER
    Alias                     LISTENER_SCAN1
    Version                   TNSLSNR for Linux: Version 11.2.0.4.0 - Production
    Start Date                30-APR-2015 11:43:24
    Uptime                    0 days 0 hr. 1 min. 53 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/11.2.0/grid/network/admin/listener.ora
    Listener Log File         /u01/app/11.2.0/grid/log/diag/tnslsnr/dublr060vm/listener_scan1/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN1)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=9.55.59.47)(PORT=2484)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=9.55.59.47)(PORT=1521)))
    Services Summary...
    Service "dub11rac" has 2 instance(s).
      Instance "dub11rac1", status READY, has 1 handler(s) for this service...
      Instance "dub11rac2", status READY, has 1 handler(s) for this service...
    Service "dub11racXDB" has 2 instance(s).
      Instance "dub11rac1", status READY, has 1 handler(s) for this service...
      Instance "dub11rac2", status READY, has 1 handler(s) for this service...
    The command completed successfully

    Hi hitgon,
    Thanks first.
    The commands output are as the following:
    Command: srvctl status listener
    Output:
    # Listener LISTENER is enabled
    # Listener LISTENER is running on node(s): rac1,rac2
    Command: srvctl status scan_listener
    Output:
    # SCAN Listener LISTENER_SCAN1 is enabled
    # SCAN listener LISTENER_SCAN1 is running on node rac2
    # TNSNAMES.ORA
    RAC =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac-scan)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = rac.localdomain)
    Command: sqlplus username/passwd@rac-scan:1521/rac.localdomain
    Output:
    # ERROR:
    # ORA-12520: TNS:listener could not find available handler for requested type of server
    # Enter user-name:
    By the way, rac-scan is the host where the SCAN listener is running and rac.localdomain is the service name. I've also tried the following commands
    with the same error output:
    sqlplus username/passwd@RAC
    At last, i think the output of "lsnrctl status LISTENER_SCAN1" might help:
    Service "rac.localdomain" has 2 instance(s).
    Instance "rac1", status READY, has 1 handler(s) for this service...
    Instance "rac2", status READY, has 1 handler(s) for this service...
    Service "racXDB.localdomain" has 2 instance(s).
    Instance "rac1", status READY, has 1 handler(s) for this service...
    Instance "rac2", status READY, has 1 handler(s) for this service...

  • Stuck in the listener entry step in DUPLICATE OF RAC databases

    I am trying to duplicate with RMAN a new RAC db from production RAC db.
    I am done with the following steps:
    1). backup prod database with rman
    2). copy init file over and modity entries not to reflect rac paramters...
    3). create a password file for new db
    now I got stuck on step 4) Create a static listener entry for your new database and reload the listener as appropriate.
    This step is necessary, because an RMAN duplicate uses an auxiliary database that is in no mount and therefore will not automatically register itself with the listener(s) as specified by local_listener, remote_listener and or the default, 1521.
    For example:
    (SID_DESC =
    (GLOBAL_DBNAME = rman.colestock.test)
    (ORACLE_HOME = /u03/app/oracle/product/db/10.2)
    (SID_NAME = rman2)
    The above is instruciton I got.
    However I got very confused here:
    First, on the RAC server, I added sid entry at the bottom of listener.ora. and the tnsnames entry looks like this:
    abc =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxxxx76)(PORT = 1528))
    (ADDRESS = (PROTOCOL = TCP)(HOST =xxxxxx 77)(PORT = 1528))
    (CONNECT_DATA =
    (SERVICE_NAME = abc_service)
    How do I add a sid entry in the tnsnames.ora file? Since I supposed to create a single db first, not rac, do I have to put service_name or sid name there?
    ANother confusion is how to reload the listener? Since this is a RAC server, two nodes has two listenrs: abc_listener1, abc_listener2. Do I have to stop and start listner by svrctl stop the dynamic listener?
    Please if you can, provide detailed steps here how to create static listener in tnsnames entry and listener entry on a RAC environment and then reload the listener.
    I have to finish up the duplication this weekend. So any help will be greatly appreciated.
    Thank you in advance.

    user569151 wrote:
    I am trying to duplicate with RMAN a new RAC db from production RAC db.
    I am done with the following steps:
    1). backup prod database with rman
    2). copy init file over and modity entries not to reflect rac paramters...
    3). create a password file for new db
    now I got stuck on step 4) Create a static listener entry for your new database and reload the listener as appropriate.
    This step is necessary, because an RMAN duplicate uses an auxiliary database that is in no mount and therefore will not automatically register itself with the listener(s) as specified by local_listener, remote_listener and or the default, 1521.
    For example:
    (SID_DESC =
    (GLOBAL_DBNAME = rman.colestock.test)
    (ORACLE_HOME = /u03/app/oracle/product/db/10.2)
    (SID_NAME = rman2)
    The above is instruciton I got.
    However I got very confused here:
    First, on the RAC server, I added sid entry at the bottom of listener.ora. and the tnsnames entry looks like this:
    abc =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxxxx76)(PORT = 1528))
    (ADDRESS = (PROTOCOL = TCP)(HOST =xxxxxx 77)(PORT = 1528))
    (CONNECT_DATA =
    (SERVICE_NAME = abc_service)
    How do I add a sid entry in the tnsnames.ora file? Since I supposed to create a single db first, not rac, do I have to put service_name or sid name there?
    ANother confusion is how to reload the listener? Since this is a RAC server, two nodes has two listenrs: abc_listener1, abc_listener2. Do I have to stop and start listner by svrctl stop the dynamic listener?
    Please if you can, provide detailed steps here how to create static listener in tnsnames entry and tnsnames.ora does not contain any information about listener.
    listener entry on a RAC environment and then reload the listener.http://www.lmgtfy.com/?q=oracle+local_listener

  • Srvctl start listener

    Dear,
    the default for listener was in a RAC environment.
    $ORACLE_HOME/network/admin
    question:
    i have moved the listener to a different location.
    $ORACLE_HOME/network/admin/DB1
    how can i change this location in CRS
    which command should i use.
    Thanks in advance!
    Regards,

    Hi,
    I try simulate the same scenario on my test env...
    carpa:/home/ora10g> cd $ORACLE_HOME/network/admin/
    carpa:/u01/app/oracle/product/10.2.0/network/admin> mkdir teste
    carpa:/u01/app/oracle/product/10.2.0/network/admin> mv listener.ora teste/
    carpa:/u01/app/oracle/product/10.2.0/network/admin> echo $TNS_ADMIN
    /u01/app/oracle/product/10.2.0/network/admin
    carpa:/u01/app/oracle/product/10.2.0/network/admin> export TNS_ADMIN=/u01/app/oracle/product/10.2.0/network/admin/teste
    carpa:/u01/app/oracle/product/10.2.0/network/admin> echo $TNS_ADMIN
    /u01/app/oracle/product/10.2.0/network/admin/teste
    carpa:/u01/app/oracle/product/10.2.0/network/admin> lsnrctl start
    LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 13-APR-2009 14:36:26
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Starting /u01/app/oracle/product/10.2.0/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 10.2.0.4.0 - Production
    System parameter file is /u01/app/oracle/product/10.2.0/network/admin/teste/listener.ora
    Log messages written to /u01/app/oracle/product/10.2.0/network/log/listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.22.9)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.22.9)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production
    Start Date 13-APR-2009 14:36:26
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/10.2.0/network/admin/teste/listener.ora
    Listener Log File /u01/app/oracle/product/10.2.0/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.22.9)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "dsrj01.myjob.com" has 1 instance(s).
    Instance "dsrj01", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    carpa:/u01/app/oracle/product/10.2.0/network/admin> lsnrctl stop
    LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 13-APR-2009 14:36:37
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.22.9)(PORT=1521)))
    The command completed successfully
    carpa:/u01/app/oracle/product/10.2.0/network/admin> export TNS_ADMIN=/u01/app/oracle/product/10.2.0/network/admin
    carpa:/u01/app/oracle/product/10.2.0/network/admin> echo $TNS_ADMIN
    /u01/app/oracle/product/10.2.0/network/admin
    carpa:/u01/app/oracle/product/10.2.0/network/admin> lsnrctl start
    LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 13-APR-2009 14:36:52
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Starting /u01/app/oracle/product/10.2.0/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 10.2.0.4.0 - Production
    Log messages written to /u01/app/oracle/product/10.2.0/network/log/listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=carpa)(PORT=1521)))
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production
    Start Date 13-APR-2009 14:36:52
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Log File /u01/app/oracle/product/10.2.0/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=carpa)(PORT=1521)))
    The listener supports no services
    The command completed successfully
    This is a listener without listener.ora, this is a default configuration, it happened cause
    we move listener.ora from new location, now listener.ora is under $ORACLE_HOME/network/admin/teste/ ... Do you remeber?
    Regards,
    Rodrigo Mufalani
    http://mufalani.blogspot.com

  • TNS Listener Poison Attack - CVE-2012-1675

    I have few databases from Oracle 9i to Oracle 11g. Many are standalone instances,and few RAC instances.
    My questions are
    1) For standalone instances, will the following setting in listener.ora file and restarting listener addresses this vulnerability? Or is there any thing else we need to do? We want to avoid any patches now and see if we can resolve this quickly.
    DYNAMIC_REGISTRATION_LISTENER = off
    2) If we dont configure "remote_listener", is it applicable for us?
    3) For RAC instances, I can follow the steps mentioned in
    Using Class of Secure Transport (COST) to Restrict Instance Registration in Oracle RAC [ID 1340831.1]
    Regards,
    Sarayu

    Sarayu;
    1) For standalone instances, will the following setting in listener.ora file and restarting listener addresses this vulnerability? Or is there any thing else we need to do? We want to avoid any patches now and see if we can resolve this quickly.
    DYNAMIC_REGISTRATION_LISTENER = off
    A: No you need to add another setting : ( (ADDRESS = (PROTOCOL = IPC)(KEY = REGISTER)) )
    Example :
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = your hostname)(PORT = 1521))
          (ADDRESS = (PROTOCOL = IPC)(KEY = REGISTER))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
      Plus for each database
    alter system set local_listener='(DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=REGISTER)))' scope = both;
    stop and start the listener
    Read note 1453883.1
    Oracle 9 - No idea
    2) If we dont configure "remote_listener", is it applicable for us?
    A: Yes you should still fix your listener.ora
    3) For RAC instances, I can follow the steps mentioned in
    Using Class of Secure Transport (COST) to Restrict Instance Registration in Oracle RAC [ID 1340831.1]
    A: Yes.
    Best Regards
    mseberg
    Aman - Great memory!

  • Can not startup listener.

    Hi All,
    OS: OUL5x64
    DB 11gR12
    Hope you can give an advise here on this issue.
    this is 2 nodes rac db 11gR1 cloned from production ebs r12. After the clone, the database started up fine but i could not start up the listener.ora
    here is the error.
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=test01)(PORT=1571)(IP=FIRST)))
    TNS-12542: TNS:address already in use
    TNS-12560: TNS:protocol adapter error
    TNS-00512: Address already in use
    Linux Error: 98: Address already in use
    went thru so many oracle notes: did delete /var/tmp/.oracle and reboot the serve rbut it did not help.
    the listener did not use ICP
    turned on trace = support
    here is a portion of the trace.
    2010-06-17 09:47:34.344030 : nsc2addr:(ADDRESS=(PROTOCOL=ipc)(PARTIAL=yes)(QUEUESIZE=1))
    2010-06-17 09:47:34.344081 : sntuscrt:entry
    2010-06-17 09:47:34.344113 : sntuscrt:failed to change permissions of dir /var/tmp/.oracle
    2010-06-17 09:47:34.344132 : sntuscrt:exit
    2010-06-17 09:47:34.346562 : nttcnp:creating a socket.
    2010-06-17 09:47:34.346588 : nttcnp:binding an address to a socket.
    2010-06-17 09:47:34.346611 : nttcnp:error - address is already in use - may be caused by data remaining
    in a previous disconnected socket.
    here is the list of /var/tmp
    total 20
    drwxrwxrwt 3 root root 4096 Jun 17 11:04 .
    drwxr-xr-x 21 root root 4096 Mar 6 2009 ..
    drwxrwxrwt 2 oracle oinstall 4096 Jun 17 11:13 .oracle
    [[email protected]]$ ll
    total 0
    srwxrwxrwx 1 oracle oinstall 0 Jun 17 11:04 sAhpracd2_crs_evm
    srwxrwxrwx 1 oracle oinstall 0 Jun 17 11:04 sChpracd2_crs_evm
    srwxrwxrwx 1 root root 0 Jun 17 11:04 sCRSD_UI_SOCKET
    srwxrwxrwx 1 root root 0 Jun 17 11:04 shpracd2DBG_CRSD
    srwxrwxrwx 1 oracle oinstall 0 Jun 17 11:04 shpracd2DBG_CSSD
    srwxrwxrwx 1 oracle oinstall 0 Jun 17 11:04 shpracd2DBG_EVMD
    srwxrwxrwx 1 oracle oinstall 0 Jun 17 11:04 sOCSSD_LL_hpracd2_
    srwxrwxrwx 1 oracle oinstall 0 Jun 17 11:04 sOCSSD_LL_hpracd2_crs
    srwxrwxrwx 1 oracle oinstall 0 Jun 17 11:04 sOracle_CSS_LclLstnr_crs_2
    srwxrwxrwx 1 root root 0 Jun 17 11:04 sora_crsqs
    srwxrwxrwx 1 root root 0 Jun 17 11:04 sprocr_local_conn_0_PROC
    srwxrwxrwx 1 oracle oinstall 0 Jun 17 11:04 sSYSTEM.evm.acceptor.auth
    did check
    ps- ef|grep lsnrctl but no process
    netstat -an|grep 1571 (nothing)
    i did delete the folder /var/tmp/.oracle and rebounce the server many times but it did not help.
    Can someone please help.
    Regards,

    Thanks
    Here is the trouble listener.ora
    # Definition for RAC Database listener
    LISTENER_hpracd2 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hpracd2.test.com )(PORT = 1571)(IP = FIRST)))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hpracd2)(PORT = 1571)(IP = FIRST)))
    SID_LIST_LISTENER_hpracd2 =
    (SID_LIST =
    (SID_DESC = (ORACLE_HOME = /u01/oracle/product/11.1.0.7/db)(SID_NAME = PROD2))
    STARTUP_WAIT_TIME_LISTENER_hpracd2 = 0
    CONNECT_TIMEOUT_LISTENER_hpracd2 = 10
    TRACE_LEVEL_LISTENER_hpracd2 = SUPPORT
    LOG_DIRECTORY_LISTENER_hpracd2 = /u01/oracle/product/11.1.0.7/db/network/admin
    LOG_FILE_LISTENER_hpracd2 = PROD2
    TRACE_DIRECTORY_LISTENER_hpracd2 = /u01/oracle/product/11.1.0.7/db/network/admin
    TRACE_FILE_LISTENER_hpracd2 = PROD2
    ADMIN_RESTRICTIONS_LISTENER_hpracd2 = OFF
    SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER_hpracd2 = OFF
    IFILE=/u01/oracle/product/11.1.0.7/db/network/admin/PROD2_hpracd2/listener_ifile.ora

Maybe you are looking for

  • Changes in ECC 6.0 from 4.6

    Hi Experts, Can you give me some ideas on what are the changes in ECC 6.0 from the following SAP Transactions, Many Thanks General ledger     FI      - post document with different document types     FI     " FB50" - display document     FI     FB03

  • Can I create an IDOC Based on A Change Event Being Triggered

    I have a BOR object that when changed - triggers event 'Change' I would like to code the event linkage such that an IDoc is created everytime the event is raised. Has anyone done this before? The message type I am using is a standard one and is assoc

  • HELP! Inbox Keeps Refreshing!

    I have my Mac Mail tuned to my University of Connecticut account. Every time I open the app, I have loads of new emails, because every time the app opens, every bit of mail, even the ones I open before, somehow refresh and become marked as UNREAD. I

  • Is it possible to update my system from 10.5.8 to 10.8 on my (2007?) Macbook?

    Is it possible to update my system from 10.5.8 to 10.8 on my (2007?) Macbook?  The Mountain Lion update page on the apple store says you must have 10.6 to update, but can I update to 10.6, then mountain lion?

  • Disable HTTP Methods from Weblogic 8.1 SP6

    Hi... I want to disable some HTTP Methods (such as DELETE, PUT, TRACE) from my Weblogic. I have a lot of deployed applications and I want to avoid request to dev team edit each web.xml file. Is there any way to disable them at weblogic level? Thanks