What is the value of GLOBAL_DBNAME in the listener.ora?

SQL> select * from v$version;

BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
PL/SQL Release 11.2.0.1.0 - Production
CORE    11.2.0.1.0      Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production

SQL> 
SQL> 
SQL> show parameter db_name

NAME                         TYPE      VALUE
------------------------------------ ----------- ------------------------------
db_name                      string    Oracle11
SQL> show parameter service_names

NAME                         TYPE      VALUE
------------------------------------ ----------- ------------------------------
service_names                        string      primary
SQL> 
SQL> 
SQL> ho
[oracle@primary admin]$ 
[oracle@primary admin]$ cat listener.ora
# listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
# Generated by Oracle configuration tools.

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (GLOBAL_DBNAME = primary)                        ================> Note Here , i asked this parameter .
      (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
      (SID_NAME = primary)
    )
  )

LISTENER =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.178)(PORT = 1525))
  )

ADR_BASE_LISTENER = /u01/app/oracle

[oracle@primary admin]$ 
[oracle@primary admin]$ 
[oracle@primary admin]$ exit
exit

SQL> 
in my option, I think the value of GLOBAL_DBNAME is equal to the value of DB_NAME. But it is a mistake, the remote client cannot connect to the database.
When its value is equal to the value of noms_service, the remote client can connect to the database.

What is the value of GLOBAL_DBNAME in the listener.ora?
GLOBAL_DBNAME     The global database name is a concatentation of a domain and a database name. The GLOBAL_DBNAME is the same as SERVICE_NAMES parameter in the parameter file or a concatentation of the DB_DOMAIN and the DB_NAME parameters in the parameter file. For example, .xyz.com. Do not set the GLOBAL_DBNAME parameter in the listener.ora file when using failover / TAF or when using multiple listeners or Oracle Parallel Server. Setting the GLOBAL_DBNAME parameter under these circumstances will disable failover and TAF.

from: http://oracledba.ezpowell.com/oracle/net8Listener.html

Tags: Database

Similar Questions

  • How to create the listener.ora file

    Hi all

    My emca start dbconsole... successful because I do not have in network/admin listener.ora. My interlocutor only runs on the default config

    I can't run gui netca bacause I connect only remotely using PuTTY.

    I want to run in silent mode netca to create the listener.ora file... can you give me response.file of the sample for netca?


    Thank you

    Published by: yxes2013 on 3.5.2013 04:14

    I meet emca error before and it is just resolved when I created lisnter.ora, so I want to try it.

    I doubt that listener.ora was the cause.

    Although experience is a better teacher.

    No, trying to find the cause of a problem is a better teacher, just try things at random - it's a good way to teach you things like "emctl start dbconsole does not work without a listener.ora", which is clearly false.

    Once start emca

    The command is not 'emca,' maybe that's your problem.

    We don't know, because you have not copied/pasted something here, including the error message

  • What is the endpoints_listener.ora file?

    In 11.2.0.1 (OH/network/admin) it is a new file called endpoints_listener.ora. What is the purpose of this file and what is its relationship with listener.ora? Couldn't find much info on this file in the docs.

    Check here:
    [http://download.oracle.com/docs/cd/E11882_01/readmes.112/e11015/toc.htm]

    The endpoints_listener.ora file is used for the default listener endpoints when the files of data in Oracle Database 11 g Release 1 or Oracle Database 10 g Release 2 are created on a disk ASM 11.2 release group. However, when the listener is changed (for example, changing a number of port using the Network Setup Wizard), the endpoints_listener.ora file is not updated.

    -André

  • What HOST the LISTENER is running from?

    Hello

    I have a few questions.

    < Li > Q1: is there a way to find the HOUSE that is the LISTENER connecting? (House or House of RDBMS Oracle ASM) [Oracle 10 g 2-10.2.0.5 on Linux 64-bit]

    Here's the Info for the 2nd quarter:
    Home page < li > I installed Home ASM and Oracle's RDBMS on a server (10 gr 2 on Linux).
    ASM Home = /u01/app/oracle/product/10.2.0/asm_1
    RDBMS Home = /u01/app/oracle/product/10.2.0/db_1
    I configured the listener under the House of ASM.

    Now when I try to connect to the database (sqlplus sys/pwd@locadb as sysdba) on the same server and when ORACLE_HOME = House of RDBMS, I get following error:

    < li > ORA-12154: TNS: could not resolve identified the specified connection

    But when I copy the tnsnames.ora to admin/network directory of the ASM House to the home of the Oracle RDBMS admin/network directory, it works OK.

    < Li > Q2: does this mean that I have to maintain TWO copies of tnsnames.ora OR there is something else that needs to be done I don't know?

    Please advise!

    user130038 wrote:
    Hello

    I have a few questions.

  • Q1: Is there a way to find the HOUSE that is the LISTENER connecting? (House or House of RDBMS Oracle ASM) [Oracle 10 g 2-10.2.0.5 on Linux 64-bit]

  • Enter the following information to an operating system command prompt:

    ps -ef|grep tns
    

    Here's the Info for the 2nd quarter:

  • ASM and Oracle RDBMS reception at home, I installed on a server (10 gr 2 on Linux).

    ASM Home = /u01/app/oracle/product/10.2.0/asm_1
    RDBMS Home = /u01/app/oracle/product/10.2.0/db_1
    

    I configured the listener under the House of ASM.

  • As you should have

    Now when I try to connect to the database (sqlplus sys/pwd@locadb as sysdba) on the same server and when ORACLE_HOME = House of RDBMS, I get following error:

  • ORA-12154: TNS: could not resolve identified the specified connection

  • See: [url http://edstevensdba.wordpress.com/2011/02/26/ora-12154tns-03505/] ora-12154 TNS: could not resolve the connect identifier specified

    But when I copy the tnsnames.ora to admin/network directory of the ASM House to the home of the Oracle RDBMS admin/network directory, it works OK.

  • Q2: Does this mean that I have to maintain TWO copies of tnsnames.ora OR there is something else that needs to be done I don't know?

  • You pouvez maintain two copies of the tnsnames file. It is not really necessary in the House of the DSO. tnsnames.ora is used by the client process, not used by the listener.

    Please advise!

    1 do as you did. You probably never have to touch the tnsnames in home of ASM. OR
    2 - use the tns_admin environment variable to point to your files tnsnames. OR
    3. choose one tnsnames file to maintain, then either have nothing else than an ifile = reference to point to the other.

    Choose your poison.

  • Change the listener.ora file

    Hello, I'm trying to set Microsoft Excel file as a source file in Oracle 11 g Release 2.

    I need to change the file with the following entries listener.ora:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = excelsid)
    (OWB_HOME = C:\oracle11g\product\11.2.0\db_1)
    (PROGRAM = dg4odbc)
    )
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (OWB_HOME = C:\oracle11g\product\11.2.0\db_1)
    (= Extproc PROGRAM)
    )
    )

    When I opened listener.ora without modification, he showed this:

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\app\user\product\11.2.0\dbhome_1)
    (= Extproc PROGRAM)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\app\user\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
    )
    )

    ADR_BASE_LISTENER = C:\app\user

    OK with the first half, it's the same, I can make changes, it needs to be done. But what I do with the other halves? (SID_DESC =
    (SID_NAME = PLSExtProc)
    (OWB_HOME = C:\oracle11g\product\11.2.0\db_1)
    (= Extproc PROGRAM)
    )
    Should I write it above the listener...?
    I'm afraid to damage the file. Can you please tell me if you know exactly? Thank you

    In your case, the listner.ora will be like

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\app\user\product\11.2.0\dbhome_1)
    (= Extproc PROGRAM)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\app\user\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    )
    (SID_DESC =
    (SID_NAME = excelsid)
    (OWB_HOME = C:\oracle11g\product\11.2.0\db_1)
    (PROGRAM = dg4odbc)
    )
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (OWB_HOME = C:\oracle11g\product\11.2.0\db_1)
    (= Extproc PROGRAM)
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
    )
    )

    ADR_BASE_LISTENER = C:\app\user

    But befor changing file creake listner.ora a backup of it to face in a new file say listner_bkp.ora

    Thank you
    Fati

  • LOCAL_LISTENER name is different from the listener.ora

    I'm on solaris10 11g R2 platform.

    adv_sec_listener2 status lsnrctl shows all the correct items I would expect including the Alias = adv_sec_listener2

    but when I'm doing lsnrctl status listener_farley it shows the same thing with Alias = adv_sec_listener2

    My listener.ora file is set with adv_sec_listener2

    In the spfile there local_listener = listener_farley

    I try to change the setting and the value of local_listener to adv_sec_listener2, but I get an error:

    ORA-02097: parameter could not be changed
    ORA-00119: invalid specification for LOCAL_LISTENER
    ORA-00132: error syntax or network name not resolved "ADV_SEC_LISTENER2."

    If you use local_listener, you need an entry for it in your tns file - check that you have entered for the two listeners.

  • role of the listener.ora in a single installation of Oracle client?

    What is the role of listener.ora in a single installation of Oracle client? In scenarios that I can use?
    Thank you
    Smith

    Listener.ora is not used on the client

  • Why VIP and public IP must be in the listener.ora file

    Hi all

    I was all confused as why it must configure the listener with VIP and IP public as shown below.
    SID_LIST_LISTENER_ABCD =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = /usr/local/opt/oracle/product/10.2.0)
          (PROGRAM = extproc)
        )
      )
    
    LISTENER_ABCD =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = abcd-vip)(PORT = 1521)(IP = FIRST))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 10........)(PORT = 1521)(IP = FIRST))
        )
      )
    Why the public IP address is required for listener?

    -Yasser

    Published by: YasserRACDBA on May 10, 2010 13:18

    The name of the node indicates the status of the connection.

    For example:
    Node1 - vip:1521 (LISTEN)

    This means that host node1-vip open tcp port 1521 and is listening for connections to the port. The process it takes place, it is likely that the Oracle local listener.

    Example:
    Node1 - vip:1521-> node1.ttn.com:64662 (ESTABLISHED)

    This shows a connection established. Note that this does not show who is the client and server. It can be assumed (correctly in most cases) with the registered or well-known port is the server, and one with dynamic or private ports is the customer.

    So, using this approach, the client node1.ttn.com is connected to port 1521 (registered port) on the server of node1-vip. The client uses port 64662 (private port).

    The process owner is probably a dispatcher or a dedicated server process.

    As far as TCP goes, there are two basic for a TCP socket States. The socket is connected to another socket- and communication socket can be made between here and somewhere else. In other words, it is a connection established between a client and a server.

    A socket may also not be be connected to another socket. This Jack is created as an end of listening. There is to listen to the customers login requests.

  • Number of headphone port as alias in the listener.ora file name

    Hello
    I heard that the TCP/IP port number can be specified as either a number or alias mapped to the port name in the file/etc/services.

    I added this port number in the file/etc/services as follows

    #######################################
    Listener listener port number 1521/tcp #oracle
    #######################################

    and I added the alias name in the following listener.ora file

    ################################################
    (ADDRESS = (PROTOCOL = TCP) (HOST = 15.154.53.66)(PORT = écouteur))
    ################################################

    but when I start the listener, it gives me this error.

    ######################################################################################
    Oracle of $ lsnrctl start

    LSNRCTL for HP - UX: release 10.2.0.4.0 - Production on June 8, 2009 18:21:15

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

    From /opt/oracle/product/10.2.0.1.0/bin/tnslsnr: Please wait...

    TNSLSNR for HP - UX: release 10.2.0.4.0 - Production
    System settings file is /opt/oracle/product/10.2.0.1.0/network/admin/listener.ora
    Log messages written to /opt/oracle/product/10.2.0.1.0/network/log/oracle.log
    AMT-01150: the name of the specified listener address is incorrect
    AMT-01153: failed to process the string: (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = 15.154.53.66)(PORT=listener)))

    Listening port could start. See the above error messages...
    #####################################################################################

    Could you get it someone please let me know the mistake I made here or the right way to do this?

    Thank you...

    Using Oracle, you should not 'hear' (fairy tales that are), but you should read (documentation)

    You 'heard' a fairy tale.

    ---------------
    Sybrand Bakker
    Senior Oracle DBA

    Experts: those who don't read the documentation.

  • Change the listening port

    I am running Oracle 10.2 on Solaris. I want to change the listening port of 1521 to 2690. I've read that I'm supposed to change /opt/oracle/product/10.2.0/db_1/network/admin/listener.ora and restart the receiver. Here's my listener.ora:

    OPENVIEWLISTENER =
    (DESCRIPTION =
    (ADDRESS_LIST =
    ((ADDRESS = (PROTOCOL = tcp (PORT = 2690))(HOST=flare)))
    SID_LIST_OPENVIEWLISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = openview)
    (ORACLE_HOME=/opt/oracle/product/10.2.0/db_1)
    (SID_NAME = OpenView))
    )


    After the reboot, it is still the 1521:

    bash-beginning of lsnrctl $ 3.00

    LSNRCTL for Solaris: Version 10.2.0.1.0 - Production on 24-AUG-2008 16:53:33

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

    From /opt/oracle/product/10.2.0/db_1/bin/tnslsnr: Please wait...

    TNSLSNR for Solaris: Version 10.2.0.1.0 - Production
    System settings file is /opt/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Log messages written to /opt/oracle/product/10.2.0/db_1/network/log/listener.log
    Listen on: (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=flare.halcyoninc.com) (PORT = 1521)))

    Connection to (ADDRESS = (PROTOCOL = tcp)(HOST=) (PORT = 1521))
    STATUS of the LISTENER
    -----
    Alias LISTENER
    For Solaris TNSLSNR version: Version 10.2.0.1.0 - Production
    Departure date 24-AUG-2008 16:53:34
    Uptime 0 days 0 h 0 min 0 sec
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    Parameter Listener of the /opt/oracle/product/10.2.0/db_1/network/admin/listener.ora file
    The listener log file /opt/Oracle/product/10.2.0/Db_1/network/log/listener.log
    Summary of endpoints listening...
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=flare.halcyoninc.com) (PORT = 1521)))
    The listener supports no services
    The command completed successfully

    What I am doing wrong? :(

    user527462 wrote:
    I am running Oracle 10.2 on Solaris. I want to change the listening port of 1521 to 2690. I've read that I'm supposed to change /opt/oracle/product/10.2.0/db_1/network/admin/listener.ora and restart the receiver. Here's my listener.ora:

    OPENVIEWLISTENER =
    (DESCRIPTION =
    (ADDRESS_LIST =
    ((ADDRESS = (PROTOCOL = tcp (PORT = 2690))(HOST=flare)))
    SID_LIST_OPENVIEWLISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = openview)
    (ORACLE_HOME=/opt/oracle/product/10.2.0/db_1)
    (SID_NAME = OpenView))
    )

    After the reboot, it is still the 1521:

    bash-beginning of lsnrctl $ 3.00

    LSNRCTL for Solaris: Version 10.2.0.1.0 - Production on 24-AUG-2008 16:53:33

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

    From /opt/oracle/product/10.2.0/db_1/bin/tnslsnr: Please wait...

    TNSLSNR for Solaris: Version 10.2.0.1.0 - Production
    System settings file is /opt/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Log messages written to /opt/oracle/product/10.2.0/db_1/network/log/listener.log
    Listen on: (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=flare.halcyoninc.com) (PORT = 1521)))

    Connection to (ADDRESS = (PROTOCOL = tcp)(HOST=) (PORT = 1521))
    STATUS of the LISTENER
    -----
    Alias LISTENER
    For Solaris TNSLSNR version: Version 10.2.0.1.0 - Production
    Departure date 24-AUG-2008 16:53:34
    Uptime 0 days 0 h 0 min 0 sec
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    Parameter Listener of the /opt/oracle/product/10.2.0/db_1/network/admin/listener.ora file
    The listener log file /opt/Oracle/product/10.2.0/Db_1/network/log/listener.log
    Summary of endpoints listening...
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=flare.halcyoninc.com) (PORT = 1521)))
    The listener supports no services
    The command completed successfully

    What I am doing wrong? :(

    Your listener.ora sets a listener named OPENVIEWLISTENER. You have not specified the name of the listener when starting it and so he went with the default values (name of the LISTENER listener and so on). The command you are looking for is lsnrctl start OPENVIEWLISTENER

    concerning

    Niall Litchfield
    http://www.orawin.info/

  • Configuring the listener and Instance registration

    Hello

    I was watching one of the cases that we run on a box and I could not understand how the connections are deployed for this particular case, and I hope someone can enlighten us please...

    We run Solaris 5.10 with two houses of installed oracle 10.2.0.4 and 11.1.0.7, a running instance that:

    Oracle: oracle/home / > ps - ef | grep smon

    Oracle 28299 28048 0 08:31:23 pts/7 0:00 grep smon

    24870 2965 Oracle 0 Jul 17?          ora_smon_dbs 45: 03

    TNS_ADMIN to point to ""/var/opt/oracle ": "

    Oracle: oracle/home / > echo $TNS_ADMIN

    / var/opt/oracle

    I had a look at the directory and there is no file tnsnames.ora:

    Oracle: / var/opt/oracle > ls-l

    Total 7

    -rw - r - r - 1 oracle dba 474 14 April 2014 listener.ora

    -rw - r - r - 1 oracle dba 55 7 March 2014 oraInst.loc

    -rw-rw-r - 1 oracle dba 750 19 Jan 10:33 oratab


    We then looked at the configuration of the listener.ora file, and the SID_NAME does not reference a real SID:


    listener.ora # Network Configuration file: /var/opt/oracle/listener.ora

    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = PLSExtProc)

    (ORACLE_HOME = appl/oracle/10.2.0)

    (= Extproc PROGRAM)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = dbmzsbsdb01.int.un) (PORT = 1521))

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC0))

    )

    )


    For awhile, I thought it's ok that we could fix local_listener of the database, but once again if this is the case then I expect to see a file tnsnames.ora with address or list of addresses of listeners specified them then obviously this was not the case and certainly enough, looking at the database local_listener was not established:


    SYS@dbs> show parameter local_list
    
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    local_listener                       string
    
    

    I also noticed that we use the listener 10g instead of the 11 g listener, and looking at the processes running, it is certainly the case:


    Oracle: / var/opt/oracle > ps - ef | grep tns

    9384 2965 Oracle 0 Jun 27?          80:37 /appl/oracle/10.2.0/bin/tnslsnr EARPHONE-inherit

    Oracle 2777 26227 0 08:15:50 pts/7 0:00 grep tns


    I'm a little lost on how this database is same! ??? any ideas on what's happening please?


    Thank you


    WebLogic even will need connection strings and you should be able to find them.

    The JDBC thin driver does not use tnsnames.ora and fat jdbc driver can use tnsnames.ora but is not necessary.

    JDBC uses the :: syntax.

    The database registers itself with the listener using the service_name parameter in init or - better - spfileSID.ora

    All this is documented, so not too difficult to find for you,

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

    Sybrand Bakker

    Senior Oracle DBA

  • use the ip address in listener.ora does not

    Hello

    A strange problem in listener.ora, if I use 'localhost', or the name of the computer, then everything is ok, but when I try to use the ip address, then I got an error ORA-12541: listener TNS:no

    the listener.ora file that works well


    listener.ora # Network Configuration file: C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (= Extproc PROGRAM)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = HMIHD)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (SID_NAME = HMIHD)
    )

    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1))
    )
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
    )
    )

    the listener.ora does not

    listener.ora # Network Configuration file: C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (= Extproc PROGRAM)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = HMIHD)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (SID_NAME = HMIHD)
    )

    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1))
    )
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.183.7.89)(PORT = 1521))
    )
    )

    the only change is to use the IP address of the server 10.183.7.89 instead of localhost and if I change the ip address of the computer name, then its also works well.

    The server runs on vistual box, I don't know if the machine vistual causes this problem,
    I just want to confirm: I use the IP directly right?

    Thank you inadvance!

    Reacted little after you have validated, but authentication Jives agie and my answer has been lost. Not the first time that I lost OTN due issues Jives or descending OTN responses. Well...

    My response was as follows.

    Your listener begins listening using the host name of the server. This binds the 1521 port to all the IP addresses on the server. A new IP address must be created, which will be also automatically supported and connections port 1521 he will be accepted by the listener.

    The AMT ORCL aliases connect to port 1521 on localhost (127.0.0.1 IP address). As the listener listen to all this server IP addresses, the client connection is successful.

    The listener is then replaced listening on a specific IP address. Now the listener only listening on port 1521 on this IP - and no other IP address of this server.

    The alias of tns ORCL now tries to connect using 127.0.0.1 - and this IP address is now supported by the listener. As a result, the connection of the client fails.

    If the tns ORL connection uses the same IP address as the listener, the connection will succeed. The ORCL alias can either use IP address directly, or a host name that will solve in that intellectual property.

    The basic rules are:
    -If the server name is used, the listener use INADDR_ANY indicator socket and tie the port to all the this server IP addresses
    -If the IP 0.0.0.0 is used, the listener also links the Harbour to all the this server IP addresses
    -If "localhost" or a specific IP address is used, the listener will tie the port to only this specific address and no other server IP addresses

    The client to connect, use one of the IP addresses that the listener is listening. The customer can use:
    -the host name so that the intellectual property (the host name must resolve to the IP address via the file DNS or hosts )
    -l the address real IP itself

    Use the following command in Windows to see what IP addresses and ports, the listening process is listening:
    Netstat-b - n tcp Pei

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

Maybe you are looking for