11 GR 2 rac - help the listener to scan


Hi guys,.

I test using the following:

1 VMware server 2.0.2

2 11.2.0.1 oracle

3 Linux 5

I use no DNS for my tests. I use the host for my SCAN configuration file. (for testing of use)

I'm just curious as to why it did not work as it is.

As I use the host file, the listener to scan can operate only in a single node, which is now in my rac2 node and can only have an IP from scan.

When I tried to connect my client using the underside of tns, it only connect/direct keep me in rac2.

Isn't she supposed to balance the connection sometimes rac1 as well?

I can confirm that it's going to rac2 as when I bring only rac2, is not able to connect to rac through the AMT.

Is it supposed to work this way?

RAC =

(DESCRIPTION =

(ADDRESS = (PROTOCOL = TCP) (HOST = rac-scan)(PORT = 1521))

(CONNECT_DATA =

(SERVER = DEDICATED)

(SERVICE_NAME = rac.poc)

)

)

Network configuration:

RAC1:

# Do not remove the next line, or various programs
# requiring a network functionality will fail.
127.0.0.1 localhost localhost.poc

# Public
192.168.1.101 rac1 rac1.poc
192.168.1.102 rac2 rac2.poc

# Private
192.168.0.101 rac1 - priv.poc rac1-priv
192.168.0.102 priv.poc - rac2-rac2-priv

# Virtual
192.168.1.111 vip.poc - rac1 in rac1-vip
192.168.1.112 vip.poc - rac2-rac2-vip

# SCAN
192.168.1.201 rac - rac-scan scan.poc

RAC2:

# Do not remove the next line, or various programs
# requiring a network functionality will fail.
127.0.0.1 localhost localhost.poc

# Public
192.168.1.101 rac1 rac1.poc
192.168.1.102 rac2 rac2.poc

# Private
192.168.0.101 rac1 - priv.poc rac1-priv
192.168.0.102 priv.poc - rac2-rac2-priv

# Virtual
192.168.1.111 vip.poc - rac1 in rac1-vip
192.168.1.112 vip.poc - rac2-rac2-vip

# SCAN
192.168.1.201 rac - rac-scan scan.poc

Before you run the command sequence

lsnrctl status LISTENER_SCAN1

lsnrctl services LISTENER_SCAN1

You must set ORACLE_HOME grid House.

Also check the service_name parameter database on both instances.

Tags: Database

Similar Questions

  • ANALYZE the listener to the top, local listeners down

    Versions DB: 11.2.0.2
    Platform: Solaris 10

    You have a 2-node RAC. SCAN listeners are running on both nodes. But local (using VIP) listeners on both nodes are down.
    In this scenario, is it technically possible for a client remote IE. SQL * more, java, etc., connecting from outside the Server DB to connect to DB throug, none of these cases?

    Steve_74 wrote:
    Versions DB: 11.2.0.2
    Platform: Solaris 10

    You have a 2-node RAC. SCAN listeners are running on both nodes. But local (using VIP) listeners on both nodes are down.
    In this scenario, is it technically possible for a client remote IE. SQL * more, java, etc., connecting from outside the Server DB to connect to DB throug, none of these cases?

    Hello

    As far as I know... MOM

    The listener to SCAN aims to redirect the connection to the Local listener.
    When a SCAN listener receives a connection request, the listener ANALYSIS will check the instance less responsible for providing the requested service. It will then redirect the connection request to the local listener on the node where the least loaded instance runs. Subsequently, the customer will be given the address of the local listener. The local listener will finally create the connection to the database instance.

    The listener ANALYSIS does not connect to the database. Therefore, if the Local listener is down... Your clients will not connect in your database, because there is no listener that creates connections to the database.

    The below error will be triggered.

    ORA-12516: listener could not find available handler with matching protocol stack
    

    Kind regards
    Levi Pereira

    Published by: Levi Pereira on March 23, 2012 14:07

  • ORA-12514 connect to analyze the listener

    I have two rac nodes datase under linux.

    Here's what I got when I try to log in to analyze the listening port of the client. It connects to the vip / or scan of the IPS with no problems.
    sqlplus system/password@wxcy

    SQL * more: release 10.2.0.3.0 - Production of sea Mar 14 18:42:42 2012

    Copyright (c) 1982, 2006, Oracle. All rights reserved.

    ERROR:
    ORA-12154: TNS: could not resolve the connect identifier specified


    But when I connect to the ip address of the listener to scan, it worked:
    sqlplus system / [email protected]:1521 / wxcy

    SQL * more: release 10.2.0.3.0 - Production of sea Mar 14 18:43:12 2012

    Copyright (c) 1982, 2006, Oracle. All rights reserved.


    Connected to:
    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
    With partitioning, Real Application Clusters, Automatic Storage Management, OLAP,.
    Options of Data Mining and Real Application Testing

    SQL >


    Here the tnsnames.ora on the client:

    = wxcy
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)
    (HOST = scan.com) (PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = wxcy)
    )
    )


    Here are the listener.ora and tnsnames.ora on the server:
    Listener = (Description = (ADDRESS_LIST = (Address = (Protocol = IPC) (Key = Listener))) # 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 = ON # line added by Agent

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = wxcy_DGMGRL)
    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME = wxcy1)
    )
    )

    SID_LIST_LISTENER_SCAN1 =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = wxcy)
    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME = wxcy1)
    )
    )


    SID_LIST_LISTENER_SCAN3 =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = wxcy)
    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME = wxcy1)
    )
    )

    INBOUND_CONNECT_TIMEOUT_LISTENER = 120
    ~

    tnsnames.ora:
    = wxcy
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = scan.com) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = wxcy)
    )
    )

    wxcy_DGMGRL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = scan.com) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = wxcy_DGMGRL)
    )
    )


    wxcy1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = scan.com) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED) (SERVICE_NAME = wxcy)
    (INSTANCE_NAME = wxcy1)
    )
    )

    wxcy2 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = scan.com) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED) (SERVICE_NAME = wxcy)
    (INSTANCE_NAME = wxcy2)
    )
    )


    Node 2:
    LISTENER_SCAN2 = (Description = (ADDRESS_LIST = (Address = (Protocol = IPC) (Key = LISTENER_SCAN2))) # line added by Agent
    LISTENER_SCAN3 = (Description = (ADDRESS_LIST = (Address = (Protocol = IPC) (Key = LISTENER_SCAN3))) # line added by Agent
    Listener = (Description = (ADDRESS_LIST = (Address = (Protocol = IPC) (Key = Listener))) # 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 = ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN3 = ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN2 = ON # line added by Agent

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = wxcy_DGMGRL)
    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME = wxcy1)
    )
    )


    SID_LIST_LISTENER_SCAN2 =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = wxcy)
    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME = wxcy2)
    )
    )

    SID_LIST_LISTENER_SCAN3 =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = wxcy)
    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME = wxcy2)
    )
    )


    I wonder why I can connect to the IP addresses of people scan headphone but not the name of the scan.

    Thank you.

    Here the tnsnames.ora on the client:

    = wxcy
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)
    (HOST = scan.com) (PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = wxcy)
    )
    )

    incorrect syntax (support useless inside, where the entrance is not analyzed)

    wxcy =
     (DESCRIPTION =
       (ADDRESS_LIST =
         (ADDRESS = (PROTOCOL = TCP)(Host = scan.com)(Port = 1521))
       )
     (CONNECT_DATA =
       (SERVICE_NAME = wxcy)
     )
    )
    
  • Local listener and listener to Scan

    In a 11.2.0.4 cluster can you set the local_listener and the scan_listener run on the same port 1521.

    In a 11.2.0.4 cluster can you set the local_listener and the scan_listener run on the same port 1521.

    Yes. You may think two headphones can not use the same TCP port in a server. But, remember, Local listener is running on the node RAC VIP and listener to SCAN runs on SCAN IPs that are different from the public IP/VIP to each node.

  • Cannot start the listening port on Windows 11 GR 2 RAC

    I have a cluster 2 node RAC which worked well, until there was a restart of the nodes. Now, when I try to start the listener, I get an error and it does not start.

    C:\users\administrator. CARS > srvctl start listener

    RPRC-1079: could not start the ora of the resource. LISTENER.lsnr

    CRS-5016: process 'C:\app\11.2.0\grid\bin\lsnrctl.exe' created by agent "C:\app\".

    11.2.0\grid\bin\oraagent.exe' for 'Start' action failed: details at "(:CLSN00010)"

    :))' in 'C:\app\11.2.0\grid\log\node1\agent\crsd\oraagent\oraagent.log '.

    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 17-SEP-2013 12:50

    : 50

    Copyright (c) 1991, 2010, Oracle.  All rights reserved.

    From tnslsnr: Please wait...

    TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production

    Log messages written to c:\app\administrator\product\11.2.0\dbhome_1\log\diag\tn

    slsnr\NODE1\listener\alert\log. XML

    Listen on: (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = NODE1.rac.woracle)(PORT=)

    1521)))

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = LISTENER)))

    AMT-12541: TNS:no listener

    AMT-12560: TNS:protocol adapter error

    AMT-00511: no listener

    Windows 64-bit error: 2: no such file or directory

    CRS-5016: process 'C:\app\11.2.0\grid\bin\lsnrctl.exe' created by agent "C:\app\".

    11.2.0\grid\bin\oraagent.exe' for 'Start' action failed: details at "(:CLSN00010)"

    :))' in 'C:\app\11.2.0\grid\log\node1\agent\crsd\oraagent\oraagent.log '.

    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 17-SEP-2013 12:50

    : 57

    Copyright (c) 1991, 2010, Oracle.  All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = LISTENER)))

    AMT-12541: TNS:no listener

    AMT-12560: TNS:protocol adapter error

    AMT-00511: no listener

    Windows 64-bit error: 2: no such file or directory

    CRS-2674: beginning with ' ora. LISTENER.lsnr' on 'node1' failed

    C:\users\administrator. CARS > srvctl status listener

    Listener LISTENER is enabled

    Earphone HEADSET does not work

    Guidance on what might be the problem with the system?

    check the id below it will help out you.

    https://Forum.Java.Sun.com/thread/2575487

  • Issue of the listener to RAC

    Hi all

    I have a 2 RAC node and when I run the lsnrctl services command on node 2, I get a list of services, but when I run the same node 1 I get

    The listener supports no services

    is this normal or should I receive a list on both nodes?

    I'm essentially looking to get to the bottom of why one of my databases on this implementation RAC keeps giving me an IO exception: the network adapter could not establish the connection in EM, but I failed to find an actual error for this number yet.

    Thank you

    Published by: Kwisatz78 on July 4, 2011 08:21

    Kwisatz78 wrote:
    Hello

    Well, it worked

    [Im happy:]

    I don't understand why. Now I have the Listener.ora files on both nodes which look different with what you put and that without it, why is this?

    The listener expects the requests from Clients to connect to the Instance. It receives connection requests incoming clients and handles the traffic of these requests to the database server.
    For example: If node 1 is down, listener node redirection 2 while waiting request to node 2. This listening port on both nodes must be different.

    For more information, you can try this:
    http://www.Amazon.com/Pro-Oracle-database-Linux-administration/DP/1590595246
    http://download.Oracle.com/docs/CD/E14072_01/network.112/e10836/net_arch.htm

    HTH
    --
    Adam

  • How to create the listener in 11g RAC on windows 2008 server

    Dear all,

    I also worked on win 2003 and linux 4, 5. I installed oracle RAC on windows and linux.

    now, I have installed oracle on windows 2008 server.than RAC11gR1 installed oracle software. now, I want to create listener db_home i am facing problem.
    I m leaving db_home netca. After the insturction when I finished, start the process, but in the Middle shows the listener on node1 and node2 cannot be created.

    GUID me please how I willl be able to creat it.

    2nd fist how to create an instance of the DSO on RAC11gR1. is it need to install saparate House like 10g for it or I can create 11 g Software House.

    Thank you
    Shir khan

    http://www.Oracle.com/pls/db111/homepage?remark=Tahiti

  • EXTERNAL PROCEDURE and the LISTENER. ORA

    Hello


    My environment:

    + Linux Red Hat 5.4 1 / 32 - Bit + company Oracle 10.2.0.4
    + 2 Linux Red Hat 5.4 / 64 - Bit + company Oracle 11.2.0.2

    I tried to run an external Shell-Script with DBMS_SCHEDULER.*.

    That's why I have to edit the file listerner.ora [http://download.oracle.com/docs/cd/E11882_01/network.112/e10836/advcfg.htm#i443234 url] Oracle Net Services configuration for external procedures:
    /u01/app/11.2.0.2/grid/network/admin>cat listener.ora
    #LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER))))           # 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=ON              # line added by Agent
    LISTENER=
      (DESCRIPTION=
        (ADDRESS_LIST=
          (ADDRESS=(PROTOCOL=tcp)(HOST=stb)(PORT=1521))
          (ADDRESS=(PROTOCOL=ipc)(KEY=extproc))))
    SID_LIST_LISTENER=
      (SID_LIST=
        (SID_DESC=
          (GLOBAL_DBNAME=RAC)
          (ORACLE_HOME=/u01/app/oracle/OraHome_1)
          (SID_NAME=RAC1))
        (SID_DESC=
          (SID_NAME=plsextproc)
          (ORACLE_HOME=/u01/app/oracle/OraHome_1)
          (PROGRAM=extproc))
    The original listener.ora is:
    /u01/app/11.2.0.2/grid/network/admin>cat listener.ora.orig
    LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER))))            # 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=ON              # line added by Agent
    I can run external shell scripts from sqlplus. But the friendship is broken! I can not start it!

    With the listener.ora Moose I can start the listener.

    What I did wrong? Please, help and

    concerning

    hqt200475

    hqt200475 wrote:
    Hello
    I can run external shell scripts from sqlplus. But the friendship is broken! I can not start it!
    With the listener.ora Moose I can start the listener.
    What I did wrong? Please, help and

    Hello

    This error message do you have?

    also the edited listener is not complete, try below

    LISTENER =
       (DESCRIPTION =
         (ADDRESS_LIST =
           (ADDRESS=(PROTOCOL=tcp)(HOST=stb)(PORT=1521))
           (ADDRESS=(PROTOCOL=ipc)(KEY=extproc))
          )
        )
    
    SID_LIST_LISTENER =
       (SID_LIST =
         (SID_DESC =
           (GLOBAL_DBNAME=RAC)
           (ORACLE_HOME=/u01/app/oracle/OraHome_1)
           (SID_NAME=RAC1)
          )
         (SID_DESC =
           (SID_NAME=plsextproc)
           (ORACLE_HOME=/u01/app/oracle/OraHome_1)
           (PROGRAM=extproc)
          )
         )
    

    Hope this helps

    See you soon

  • Problem with the listener in environment of multiple databases

    Hello world!

    I have a server that is running about 10 databases. And 5 listeners who manage these databases. Some listener manage 1 DB, another can handle more than 1.

    Listener ESSENTIALS that I create the first run (top of the listener.ora file), only 2 DB. But when I show the status of the listening port, it shows the listener to manage all DBs.

    Another listener works normally.

    Could you help me solve the problem?

    Thank you!

    TuanNV

    You must set the LOCAL_LISTENER parameter in each instance to control what other they register with. You have probably enabled by default, so they all register with all that is listening on port 1521.

    Moreover, some people here get mad at the idea of running more of a listener. Be warned.

  • Running the Single Instance and RAC on the same server of different homes.

    Hi guys,.

    I already have 4 node RAC12c installed on OLE 6.

    I'm planing on some of my other 12 single instance databases on other migration for RAC nodes.

    Please correct me here if I am wrong...

    My understanding is that, to be able to use DBCA or rconfig for conversion of database instance RAC, the only instance and RAC cluster must run on the same server or machine node.

    Thanks to this understanding... Am planing on the installation of a binary single instance on one of my cluster node node1 say and then use RMAN to duplicate the single instance or just an RMAN restore from the node of the instance that is unique to this node1. Am capable of this plan must then use DBCA or rconfig to convert the CARS database.

    Now, my question is can I run a single instance and RAC on the same server for different homes with different database ports?

    2. for these unique instance that runs on the server RAC 1 node, can I use the RAC database listener that runs from the House of the grid or I have to create another auditor?

    Thank you in advance and also let me know if I can use DBCA or rconfig when the only instance and rac database are on separate nodes.

    K

    Fix. And that's what I would normally do. In general, I would have just an ORACLE_HOME directory that can be used by the punctual and RAC databases at the same time.

    See you soon,.
    Brian

  • Questions of the listener after having changed their name and intellectual property

    Hello!

    I really hope someone can help me.

    I had a fully functional Oracle 11.2.0.4 Server (windows 2012).  I changed the ip and name server and rebooted.  When the server came back to the top, I rebooted the oracle service.  I then started the listening service.  The listening service would not start. I know I forgot to change the tnsnames file. So I changed the tns to use my new hostname, but there seems to be a problem with the listener.

    When I deleted the listener is took forever before he returned and said it has been deleted.

    When I try to recreate the listener, he says that there is already a listener with this name.

    Right now I'm no. Listener service window.

    If I'm trying to create the listener with a new name, it says that the port is in use.  I even started the server, but the port is still used.

    It seems that the auditor still considers that the name of the server is 99walnut, then it should be my new name.

    "lstnrctl State" indicates the old name of the HOST and errors:

    C:\Users\operatorw > lsnrctl status

    LSNRCTL for 64-bit Windows: Version 11.2.0.4.0 - Production on June 16, 2014 13:42:42

    Copyright (c) 1991, 2013, Oracle.  All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=99walnut.oak.local) (PORT = 1521)))
    TNS-12535: TNS:operation expired
    AMT-12560: TNS:protocol adapter error
    AMT-00505: Operation timed out
    Windows 64-bit error: 60: unknown error
    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))
    AMT-12541: TNS:no listener
    AMT-12560: TNS:protocol adapter error
    AMT-00511: no listener
    Windows 64-bit error: 2: no such file or directory

    C:\Users\operatorw >


    Anyone has any ideas on how to fix it?

    Thank you!

    Kathie

    I found the problem.

    I forgot to change the variable of ENVIRONMENT HOSTNAME for the new server name.

    I hope this helps someone else :)

  • Unable to connect with the listening port of the client

    [oracle@rac31 ~] $ lsnrctl status

    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on March 21, 2014 03:33:30

    Copyright (c) 1991, 2009, Oracle.  All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = LISTENER)))

    STATUS of the LISTENER

    ------------------------

    Alias LISTENER

    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production

    Start date March 20, 2014 13:33:30

    Uptime 0 days 13 hours 59 minutes 59 seconds

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Parameter Listener of the /u01/app/11.2.0/grid/network/admin/listener.ora file

    The listener log file /U01/app/Oracle/diag/tnslsnr/rac31/listener/alert/log.XML

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = LISTENER)))

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=192.168.1.101) (PORT = 1521)))

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=192.168.1.111) (PORT = 1521)))

    Summary of services...

    Service '+ ASM' a 1 instance (s).

    Instance '+ ASM1' READY State, has 1 operation for this service...

    'Cars' service has 1 instance (s).

    Instance "rac1" READY State, has 1 operation for this service...

    Service 'racXDB' has 1 instance (s).

    Instance "rac1" READY State, has 1 operation for this service...

    The command completed successfully

    In my server in the Oracle_HOME/network/admin

    This is my entry in tnsnames.ora

    RAC =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = rac-scan)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = rac)

    )

    )

    I am able to connect with the command

    sqlplus system/password@rac

    However, when I give the same input on the client computer

    It does not work

    I am able to ping the host rac-scan successfully

    C:\Users\rgehi > ping rac-scan

    Ping rac - scan.oracle.com [192.168.1.113] with 32 bytes of data:

    Response from 192.168.1.113: bytes = 32 time < 1 ms TTL = 64

    Response from 192.168.1.113: bytes = 32 time < 1 ms TTL = 64

    Response from 192.168.1.113: bytes = 32 time < 1 ms TTL = 64

    Response from 192.168.1.113: bytes = 32 time < 1 ms TTL = 64

    Ping statistics for 192.168.1.113:

    Packets: Sent = 4, received = 4, lost = 0 (0% loss),

    Time approximate round trip in milli-seconds:

    Minimum = 0ms, Maximum = 0ms, average = 0ms

    C:\Users\rgehi > sqlplus system/password@rac

    SQL * more: Production of the version 12.1.0.1.0 Fri Mar 21 03:40:53 2014

    Copyright (c) 1982, 2013, Oracle.  All rights reserved.

    ERROR:

    ORA-12545: Connect failed because target host or object does not exist

    I installed oracle client on my desktop

    and I made entries in the tnsnames file

    However when I connect to the database to rac with scan it works sometimes...

    not always...

    so I'm in search mode and finally, after many moons a lot and light years away, I found the following

    Here's what I did

    # - scan

    192.168.0.127 rac31 - scan.oracle.com rac31-scan

    192.168.0.128 rac31 - scan.oracle.com rac31-scan

    192.168.0.129 rac31 - scan.oracle.com rac31-scan

    I put three ip addresses in the host with the same name rac31-scan file

    then I put the same ip addresses in my windows hosts file

    Here are the entries

    192.168.0.127 rac31 - scan.oracle.comrac31-scan

    192.168.0.128 rac31 - scan.oracle.com rac31-scan

    192.168.0.129 rac31 - scan.oracle.com rac31-scan

    but in the (windows 7 pc) client tnsnames file has just one entry

    It's here

    RAC1 =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = rac31-scan)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = RAC)

    )

    )

    and now when I connect from the client... it connects without any problems.

    I have tried more than 10 attempts without problem

    BINGO!

  • RAC, listener to scan and firewall

    Hello

    We have a 11.2.0.3.8 SE RAC on linux 6.5 server two oracle. An instance must be accessiable by clients behind one firewall, either case, not. My solution is a second local listener with a different port. If you know another way, I'll be happy to hear, thank you.

    Best regards

    Thomas

    There are a number of considerations.

    The TNS connect string wants to connect to a service. This service can have multiple points of termination (supported by a number of bodies and registered with the listener by these bodies).

    You can connect to server1 public static IP, port 1521 and ask a connection service dbname1. But as dbname1 was recorded by all RAC servers and that the listener also has port 1527 as tcp listener endpoint and addresses are used as a number of IP static and virtual - your client could very well be redirected by the database instance listener 5 Server5, via a virtual IP address and the port 1527.

    If a connection request by the client on port 1521 to server1, doesn't mean that's where the real Oracle client-server session will end.

    If you are planning that the static tcp, the listener port should only be listening on a single port. I've seen listeners set up for multiple ports (1521 and 1527), with only one port opened through a firewall, with intermittent connectivity - result as any other connection get a redirect to the other port.

    The listener also distributes host names (assuming a good config listener.ora and network) when the redirection of a client connection.  For example you connecting host server1 name and get a redirect to Server5.

    If server1 is only accessible IP the current network (firewall, etc.), we can address the redirect on the client - in solving all host names passed by the listener to the IP address that works. For example local hosts file customer resolve server1 Server5and server1-vip to Server5-vip, this unique IP to work.

    If you want a client to select a specific instance of the CARS to connect to (or force connections to a single specific instance), you can use the service_name parameter. This is by default the value db name and db-domain on multiple RAC instances. This means that all levels of RAC record the same service with listeners. Allowing a connection of client for this service will be handled by any instance RAC (high availability, etc.).

    You can also add a unique service for this instance RAC instance RAC. This service will be so registered by a single instance of the FCAC and the client connections requesting this service (connection via SCAN or other listeners CARS), will always get redirected to this forum.

    In the scenario you described, I would not use a secondary headset. I would like to use a unique service name to limit client connections to one specific instance of the CAR and the hostname/IP server. I would not use several ports tcp as listener endpoints. And then ask this IP and port to be open on the firewall and giving that service name to the clients that connect through the firewall.

  • can't automate the listener on startup under redhat 6.3

    Dear oracle specialists I installed oracle 11g r2 on linux RedHat 6.3 after a successful installation and automating db departure

    can't automate starts high earpiece however able to start it manually since I was new as well bi for oracle in order to

    scripts Linux can help me find the error

    ----------------------------

    Oracle2918 0.4 0.0 1984168 18440?SS 06:33 0:00 ora_pmon_ice
    Oracle2920 0.3 0.3 1982056 15308?SS 06:33 0:00 ora_vktm_ice
    Oracle2924 0.3 0.0 1982056 15392?SS 06:33 0:00 ora_gen0_ice
    Oracle2926 0.3 0.0 1982056 15248?SS 06:33 0:00 ora_diag_ice
    Oracle2928 0.5 0.0 1982080 23492?SS 06:33 0:00 ora_dbrm_ice
    Oracle2930 0.3 0.0 1982056 15464?SS 06:33 0:00 ora_psp0_ice
    Oracle2932 0.4 0.0 1982568 19000?SS 06:33 0:00 ora_dia0_ice
    Oracle2934 1.6 0.9 1982056 39228?SS 06:33 0:03 ora_mman_ice
    Oracle2936 0.5 0.0 1987812 22012?SS 06:33 0:00 ora_dbw0_ice
    Oracle2938 0.5 0.0 1997608 23436?SS 06:33 0:00 ora_lgwr_ice
    Oracle2940 0.4 0.0 1982568 18356?SS 06:33 0:00 ora_ckpt_ice
    Oracle2942 0.7 0.0 1982616 34412?SS 06:33 0:00 ora_smon_ice
    Oracle2944 0.5 0.0 1982576 22268?SS 06:33 0:00 ora_reco_ice
    Oracle2946 0.2 1.4 1987896 64636?SS 06:33 0:00 ora_mmon_ice
    Oracle2948 0.4 0.0 1982056 20340?SS 06:33 0:00 ora_mmnl_ice
    Oracle2950 0.3 0.0 1983956 15356?SS 06:33 0:00 ora_d000_ice
    Oracle2952 0.3 0.0 1983120 14520?SS 06:33 0:00 ora_s000_ice
    Oracle2994 0.3 0.0 1982056 17344?SS 06:33 0:00 ora_qmnc_ice

    Oracle3205 0.1 1.2 1988764 54972?SS 06:33 0:00 ora_cjq0_ice
    Oracle3207 0.7 0.0 1983640 31268?SS 06:33 0:00 ora_q000_ice
    Oracle3209 0.7 0.0 1985556 32068?SS 06:33 0:00 ora_q001_ice
    Oracle3269 1.0 0.6 1983632 27092?SS 06:36 0:00 ora_j000_ice
    Oracle3271 0.3 0.0 1982052 15032?SS 06:36 0:00 ora_j001_ice

    Here's my database looks like after automatic loads the operating system after the show

    the PS command

    and here's my interlocutor after issuing. / lsnrctl status

    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on August 2, 2013 06:42:43

    Copyright (c) 1991, 2009, Oracle.  All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))

    AMT-12541: TNS:no listener

    AMT-12560: TNS:protocol adapter error

    AMT-00511: no listener

    Linux error: 111: connection refused

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=ICELANDLOCAL.localdomain) (PORT = 1521)))

    AMT-12541: TNS:no listener

    AMT-12560: TNS:protocol adapter error

    AMT-00511: no listener

    Linux error: 111: connection refused

    ---------------------------------------------------

    .bash_profile environment variables

    export PATH

    umask 022

    export TMPDIR = / tmp

    export ORACLE_BASE = / u01/app/oracle

    export ORACLE_HOME=$ORACLE_BASE/product/11.2.1/dbhome_1

    export ORACLE_HOME_LISTNER=$ORACLE_BASE/product/11.2.1/dbhome_1

    Export ORACLE_HOME_LISTNER = $ORACLE_HOME

    Export TNS_ADMIN = ORACLE_HOME/network/admin

    export LD_LIBRARY_PATH = $ORACLE_HOME/lib: / lib: / usr/lib

    export PATH = $ORACLE_HOME/bin: $PATH

    export ORACLE_SID = ice

    and my free from oracle startup script

    Description #: Oracle automatic start-stop script.

    #

    # Define ORA_HOME as equivalent to the $ORACLE_HOME

    # from which you want to run dbstart and dbshut;

    #

    # Define ORA_OWNER to the userid of the owner of the

    # Oracle in ORA_HOME server.

    ORA_HOME=/U01/app/Oracle/product/11.2.1/dbhome_1

    ORA_OWNER = oracle

    If [! f $ORA_HOME/bin/dbstart]

    then

    echo "Oracle startup: cannot start.

    output

    FI

    case '$1' in

    'Start')

    # Run Oracle databases:

    # The following command assumes that the oracle connection

    # will not prompt the user for all values

    known $ORA_OWNER - c "start ORA_HOME/bin/lsnrctl $ LISTENER."

    known $ORA_OWNER - c $ORA_HOME/bin/dbstart $ORA_HOME

    touch/var/lock/subsys/Ben

    ;;

    'stop')

    # Stop the Oracle databases:

    # The following command assumes that the oracle connection

    # will not prompt the user for all values

    known $ORA_OWNER - c $ORA_HOME/bin/dbshut $ORA_HOME

    known $ORA_OWNER - c "ORA_HOME/bin/lsnrctl stop $ LISTENER."

    RM-f/var/lock/subsys/Ben

    ;;

    ESAC

    any suggestion or help would be appricieated

    Thanks in advance

    you are right about the listener

    Here is my old script released

    #! / bin/sh

    # chkconfig: 345 99 10

    Description #: Oracle automatic start-stop script.

    #

    # Define ORA_HOME as equivalent to the $ORACLE_HOME

    # from which you want to run dbstart and dbshut;

    #

    # Define ORA_OWNER to the userid of the owner of the

    # Oracle in ORA_HOME server.

    ORA_HOME=/U01/app/Oracle/product/11.2.1/dbhome_1

    ORA_OWNER = oracle

    If [! f $ORA_HOME/bin/dbstart]

    then

    echo "Oracle startup: cannot start.

    output

    FI

    case '$1' in

    'Start')

    # Run Oracle databases:

    # The following command assumes that the oracle connection

    # will not prompt the user for all values

    known $ORA_OWNER - c "start ORA_HOME/bin/lsnrctl $".

    known $ORA_OWNER - c $ORA_HOME/bin/dbstart

    touch/var/lock/subsys/Ben

    ;;

    'stop')

    # Stop the Oracle databases:

    # The following command assumes that the oracle connection

    # will not prompt the user for all values

    known $ORA_OWNER - c $ORA_HOME/bin/dbshut

    known $ORA_OWNER - c "ORA_HOME/bin/lsnrctl stop $.

    RM-f/var/lock/subsys/Ben

    ;;

    ESAC

    and here's my new script released

    #! / bin/sh

    # chkconfig: 345 99 10

    Description #: Oracle automatic start-stop script.

    #

    # Define ORA_HOME as equivalent to the $ORACLE_HOME

    # from which you want to run dbstart and dbshut;

    #

    # Define ORA_OWNER to the userid of the owner of the

    # Oracle in ORA_HOME server.

    ORA_HOME=/U01/app/Oracle/product/11.2.1/dbhome_1

    ORA_OWNER = oracle

    If [! f $ORA_HOME/bin/dbstart]

    then

    echo "Oracle startup: cannot start.

    output

    FI

    case '$1' in

    'Start')

    # Run Oracle databases:

    # The following command assumes that the oracle connection

    # will not prompt the user for all values

    Su - oracle - c "start ORA_HOME/bin/lsnrctl $".

    known $ORA_OWNER - c $ORA_HOME/bin/dbstart

    touch/var/lock/subsys/Ben

    ;;

    'stop')

    # Stop the Oracle databases:

    # The following command assumes that the oracle connection

    # will not prompt the user for all values

    known $ORA_OWNER - c $ORA_HOME/bin/dbshut

    Su - oracle - c "ORA_HOME/bin/lsnrctl stop $.

    RM-f/var/lock/subsys/Ben

    ;;

    ESAC

    as I said I came to this at random by the help of this article

    http://yong321.freeshell.org/oranotes/UnixStartupScripts.txt

  • Confusion between issues of the listener

    Hi all

    SLES 11

    Step 1

    I installed the first db 10R2 on our server. He created a listener from 10g to port 1521. And the connection is good.

    Step 2

    Then on the same server... I installed 11 GR 2 XE with APEX epg configured on the listening port 1522. I purposely created its own listener APEX is very sensitive in connectivity of the listener.
    Two listener now the connection separately for each database.

    Step 3.

    Then on the same server... I installed 11 GR 2 EA and the listener uses port 1521. If this setting overrides the listener 10g... while I'm not disable it. And then began the 11 GR 2 new of the listener.

    It's now at this stage that the gr 10, 2 and 11 GR 2 EA have connection problems :(
    ERROR:
    ORA-12514: TNS:listener is not currently of service requested in connect descriptor
    can help you solve this problem please?

    Can I use 11gXE for gr 10, 2 and 11 GR 2 EE earpiece?

    Which 3 listeners I should alone running?


    Thank you very much

    zxy

    When you try to connect to a different database, you have the good ORACLE_HOME and ORACLE_SID?

Maybe you are looking for