Listener.ora to PROD and EVE

Hi all

9i

RHEL5

I am Eve configuration that follows doc 469493.1 .

I have a small doubt in why he mentioned not all changes in listener.ora?

There is no change for listener.ora to prod and standby? Or just forgot me.

Thank you very much

JC

You are not required to change the configuration of the earpiece, unless you use a different port of 1521. If you are using port 1521, then main bodies and relief will be recorded with the listener very well.

That being said, I never count on automatic registration in my primary/secondary case for two reasons: 1) I like to define my transport settings and 2) I enjoy using DGMGRL. I'll explain more...

(1) I'll be shipping again from the primary to the wait. This can be a lot of network i/o. Standard TCP buffer sizes and parameters of SDU are often inadequate if you have to redo any volume transported.

(2) I encourage/recommend/advocate the use of the DG broker. The DG Broker makes failovers or passing a command of the singular instead of several actions. The DG broker means I use use Enterprise Manager 12 c Cloud control to manage and interact with my primary/secondary environment. If you use the DG broker, so you cannot rely on registration to the Forum because when the broker performs the operation of failover, it will bounce the instance when the instance will be is no longer registered with the listener. It breaks the failover operation. But put the registration information in the listener.ora, the failover operation works very well.

Here is my listener.ora:

LISTENER =

(DESCRIPTION =

(ADDRESS_LIST =

(ADDRESS = (PROTOCOL = tcp)(HOST=myhost) (PORT = 1521))

(ADDRESS = (PROTOCOL = ipc) (KEY = extproc)))

SID_LIST_LISTENER =

(SID_LIST =

(SID_DESC =

(SDU = 32767)

(SEND_BUF_SIZE = 262144)

(RECV_BUF_SIZE = 262144)

(GLOBAL_DBNAME = ORCL_DGMGRL)

(ORACLE_HOME=/u01/app/oracle/product/11.2.0.4)

(SID_NAME = ORCL))

(SID_DESC =

(SID_NAME = plsextproc)

(ORACLE_HOME=/u01/app/oracle/product/11.2.0.4)

(= Extproc program)))

I put this in the listener.ora on the primary and standby. In this way, they have the same configuration for the day, I have to perform a failover.

See you soon,.
Brian

Tags: Database

Similar Questions

  • Ifile in tnsnames.ora/listener.ora

    Hello

    I find IFILE entered my listener.ora of applications and tnsnames.ora oracle database.

    What is the use of IFILE? I hear that the entries in IFILE are not overnwritten using autoconfig. Is this true?

    We create the tnsentries of other databses in ifile.


    Someone could give advice.


    tnsnames.ora
    ============

    IFile=/Gold/App/DB/11.2.0/Network/admin/gold_srvr315/gold_srvr315_ifile.ora


    Listener.ora
    =============
    IFile=/Gold/App/DB/11.2.0/Network/admin/gold_srvr315/listener_ifile.ora


    Thank you

    I find IFILE entered my listener.ora of applications and tnsnames.ora oracle database.

    What is the use of IFILE? I hear that the entries in IFILE are not overnwritten using autoconfig. Is this true?

    Correct, and it is the use of the IFILE (i.e. create entries that must be preserved and not affected or overwritten by the automatic configuration service.

    Thank you
    Hussein

  • After changing the port (1521 to 1525 in listener.ora and tnsnames.ora) OEM: the database is down

    Hello

    I'm installing Oracle Database 11 g 2 (11.2.0.4) on Oracle Linux 7.1.

    In short, what I'm trying to do now is changing the default port of 1521 to 1525.

    So I stopped the listener (lsnrctl stop) and then changed my listener.ora and tnsnames.ora:

    Listener.ora

    listener.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora

    # Generated by Oracle configuration tools.

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    )

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP (PORT = 1525))(HOST = localhost))

    )

    )

    ADR_BASE_LISTENER = / u01/app/oracle

    tnsnames.ora

    tnsnames.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora

    # Generated by Oracle configuration tools.

    BI =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP (PORT = 1525))(HOST = localhost))

    )

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = bi)

    )

    )

    And then changed the local_listener:

    SQL > ALTER SYSTEM SET LOCAL_LISTENER = "(ADDRESS = (PROTOCOL = TCP)(HOST=localhost) (PORT = 1525))";

    SQL > ALTER the REGISTRY SYSTEM;

    Finally, I started the listener (lsnrctl start) again.

    Then I tried to connect using Oracle SQL Developer to the customer. The port of 1525 works perfectly well.

    The problem is, when I open the OEM (Oracle Enterprise Manager), it says: "the database is down. Please specify the credentials of the host to access the restart and database diagnostic tools," which is like this: http://imgur.com/oKLPW65

    So I logged on the account of the host, and it shows that the database instance, listener and the agent is all down like this: http://imgur.com/Bzr84bz

    It seems that the port used by the OEM is always 1521.

    What should I do? Can someone help me solve the problem?

    Thanks in advance.

    UPDATE:

    After changing the emoms.properties & the targets.xml (thanks to Elisabeth), you will need to reconfigure dbconsole using emca.

    So what I'm doing is decreasing the config:

    $ emca - deconfig dbcontrol db-rest drop

    and then create again:

    $ emca - create config dbcontrol db-rest

    Voila.

    Best regards

    Jerry Antonius

    Hello

    Try to change the port numbers in the following files

    Don't port no 1521 to 1525

    $ORACLE_HOME /_SID/sysman/config/emoms.properties

    oracle.sysman.eml.mntr.emdRepPort = 1525 (before 1521)

    $ORACLE_HOME /_SID/sysman/emd/targets.xml

    (Before 1521)

    (Before 1521)

  • location of the file tnsnames.ora and Listener.ora

    Hello

    env: Oracle 11 g 2 - Orable Linux 6.2 64bits

    I set up a database for the client server. I installed IM and the House according to the standards of the Oracle RDBMS. Then I configured the listener to run BOF IM home. If the location of the 'ora, tnsnames' and 'listener.ora' files is $GI_HOME/network/admin.

    Customer's DBA is asking me to conform to the standard for the location of these two files. Here's what he asked for:

    / opt/oracle/owner = oracle, group = s/n (755 permissions)

    / var/opt/oracle owner = oracle, group = s/n (755 permissions)

    • -touch /var/opt/oracle/listener.ora
    • -touch /var/opt/oracle/tnsnames.ora
    • -chown oracle: dba /var/opt/oracle/listener.ora
    • -chown oracle: dba /var/opt/oracle/tnsnames.ora
    • -s /var/opt/oracle/tnsnames.ora /etc/tnsnames.ora ln
    • -s /var/opt/oracle/listener.ora /etc/listener.ora ln

    I'm completely lost here. I don't know if I'm moving these two files in the folder "/ etc", how the LISTENER know about the presence of these files in ' / etc '.

    His reason for this is to support the possibility of having several houses of Oracle's RDBMS. I don't know what he's talking about.

    Please notify.

    Best regards

    user130038 wrote:

    Thanks to you two!

    So basically this DBA do not like to follow standards of Oracle but his own.

    BINGO!

    What is the problem with the help of $ORACLE_HOME/network/admin for these two files if there were several homes of oracle on a server? Sorry I never got to work on a server with multiple oracle homes, so I have no idea.

    The 'standard' with several houses installation is to run the listener from the version the most recent House.  If all of the houses are of the same version (putting aside the question of 'why'), then just pick one that is going to be home for the listener.  If the installation program uses the Grid Infrastructure (ASM and/or Oracle Restart), you must run the listener from the House of IM, not House the database.

    There are some key things to consider here.

    1. the auditor is to receive and process applications for connecting customers.  This is why the listener has no meaning on the Server.  Similarly, its configuration file, listener.ora, only makes sense on the server.

    1a. a single listener, using the default name of the LISTENER and the unique default port of 1521 is quite capable of--indeed, we wanted to - several multiple databases editions of multiple service homes.

    2. the tnsnames.ora file provides a name resolution and address customers.  So it has the sense that on the client computer.

    2. when a database uses a db link to access a different database, the first database acts as a client to the second - as with any other LDAP client.

    Best regards

  • Listener.ora and TNS.ora in simple language

    Please explain Listener.ora and TNS.ora in simple language. I read a lot of blogs, but just not able to define in words.

    Also, there are different sections in them, so that they or represent?

    PROGRAM = extproc
    Protocol
    Host
    Port

    =================================================================
    listener.ora # Network Configuration file: E:\ORACLE\product\10.2.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.

    SID_LIST_TEST =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = E:\ORACLE\product\10.2.0\db_1)
    * (= Extproc program) *.
    )
    )

    TEST =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    * (ADDRESS = (PROTOCOL = TCP) (HOST = RICHA-PC)(PORT = 1521)) *.
    * (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0)) *.
    )
    )

    =================================================================
    tnsnames.ora # Network Configuration file: E:\ORACLE\product\10.2.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.

    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    * (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0)) *.
    )
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )
    )

    =================================================================

    Published by: Richa on April 24, 2012 12:29

    Program ==> identify the name of the service executable program.

    Protocols ==> protocols specify the interactions between the communicating entities. A protocol is the set of rules that use endpoints in a context of communication when they communicate special.
    http://en.Wikipedia.org/wiki/Communications_protocol

    Host name of the machine where db is cobfigured ==>.

    Port ==> port is just an interface (or for example, we can imagine our telephone jack on the phone) between two computers or two software. Thus, if two computers to talk to each other, each of them should communicate through a port.
    http://Neeraj-DBA.blogspot.in/2011/03/what-is-port.html

    Neeraj-

  • SQLNET.ora and tnsnames.ora, listener.ora btwn difference

    Hi all

    What is the fundamental difference between these 3 files - sqlnet.ora, listener.ora and tnsnames.ora?

    Version may be 10 g.

    (a) Listener.ora is a SQL * Net configuration file allows you to Configure listeners (needed to accept applications for remote connection) Oracle database.

    Normally, this file resides in the ORACLE HOME\NETWORK\ADMIN directory or in the directory defined by the variable $TNS_ADMIN.

    (b) Tnsnames.ora is a file that is used by oracle client to connect to the oracle server.

    (c) Sqlnet.ora is a text file that provides SQL * Net with the basic configuration details as options vectorization, field by default, encryption, etc.. This file is located in the ORACLE HOME\NETWORK\ADMIN directory.

  • Listener.ora vs listener_ifile.ora

    Hi all

    11 GR 2

    Rhel6.5

    What is the difference between the LISTENER. ORA, LISTENER_IFILE. ORA and < nom_du_contexte > _ifile.ora?

    Thank you very much

    JC

    Hello

    See this discussion:

    Ifile in tnsnames.ora/listener.ora

    Kind regards

    Bashar

  • Oracle on Windows Server R2 12.1.0 2012: cannot find listener.ora

    I installed Oracle12C on a Windows Server 2012R2

    I have configured the listener using oracle net configuration assistant

    the headset works fine.

    My problem is that I can't change my configuration of the listener

    -Setup Wizard net oracle do not allow me to change the existing configuration

    -I can't find the file listener.ora containing this configuration. I check here Oracle12\product\12.1.0\dbhome_1\NETWORK\ADMIN. The file isn't here. I run a global serach of evry server disk. There is no listener.ora file except in the sample folder.

    -lsnrctl shows the receiver works well, but it does not display the path of the listener.ora file

    So my question is:

    How can I change the configuration of the listener and where can I find the listener.ora file

    I just checked my installation 12 c on Linux and I do not have a listener.ora file in the directory $ORACLE_HOME/network/admin installation of the database. However, I listener.ora in the 12 c ASM Software House, which is the one that is active. As mentioned previously, a listener.ora is not necessary to start the process of listening with the default values. Databases are automatically register with the earpiece by default LISTENER. A listener, however, may be useful for remote connections to SYSDBA.

    FWIW, here's my listener.ora and sqlnet.ora files (you will need to change the host name).

    [oracle@vm601 admin]$ cat sqlnet.ora
    # sqlnet.ora Network Configuration File: /u01/app/grid/product/12.1.0/grid/network/admin/sqlnet.ora
    # Generated by Oracle configuration tools.
    
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    
    [oracle@vm601 admin]$ cat listener.ora
    # listener.ora Network Configuration File: /u01/app/grid/product/12.1.0/grid/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = vm601)(PORT = 1521))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        )
      )
    
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON        # line added by Agent
    VALID_NODE_CHECKING_REGISTRATION_LISTENER=SUBNET        # line added by Agent
    
  • Why lsnrctl status displays the services that are not in listener.ora?

    I have a database 10g on Solaris 9.

    When I do "lsnrctl status" I get the following:

    LSNRCTL for Solaris: Version 10.2.0.5.0 - Production on July 29, 2015 11:46:30

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

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=cees2) (PORT = 1521)))

    STATUS of the LISTENER

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

    Alias LISTENER

    For Solaris TNSLSNR version: Version 10.2.0.5.0 - Production

    Start date July 14, 2015 07:52:31

    Availability 15 days 3 h 53 min 59 s

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Parameter Listener of the /oracle/tns/listener.ora file

    The listener log file /Oracle/OraHome/10.2/network/log/listener.log

    Summary of endpoints listening...

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

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

    Summary of services...

    Service 'PLSExtProc' has 1 instance (s).

    Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...

    Service "FEC" has 1 instance (s).

    Instance "FEC", State LOAN, has 1 operation for this service...

    Service 'ceesXDB' has 1 instance (s).

    Instance "FEC", State LOAN, has 1 operation for this service...

    Service 'cees_XPT' has 1 instance (s).

    Instance "FEC", State LOAN, has 1 operation for this service...

    The command completed successfully

    And here is the content of the listener.ora file:

    ##############################################################################

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP)(HOST = cees2) (PORT = 1521))

    )

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC))

    )

    )

    )

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = PLSExtProc)

    (ORACLE_HOME = oracle/OraHome/10.2)

    (= Extproc PROGRAM)

    )

    )

    My question is where are the EEHC, ceesXDB and cees_XPT services if they are not defined in the listener.ora file?

    Thank you

    Michael

    Try this search string in your favorite browser:

    listening service Oracle xdb

  • Listening port configuration Oracle reboot without touching listener.ora?

    Hello

    during the installation of a database in oracle restart the environment, right now I'm adding a listener to data through srvctl like this:

    srvctl add listener-l o LSNR_ ${Database} {ORACLE_HOME} Pei "TCP: ${PORT}".

    srvctl setenv listener -l LSNR_$ {Database} t ORACLE_BASE = ${ORACLE_BASE}

    In addition, I add the appropriate to the listener.ora corresponding lines: (example)

    LSNR_PLAY =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP (PORT = 8029))(HOST = sol001.hypoport.local))

    )

    )

    ADR_BASE_LSNR_PLAY = / ora01/app/oracle

    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LSNR_PLAY = WE

    ADMIN_RESTRICTIONS_LSNR_PLAY = WE

    It works as well for a long time I I'm not touching any configuration of the listener. But when I'm trying to change some parameters of the listener, an oracle agent rewrites the listener.ora file on its own in order to reflect these changes.

    So I wonder if I can completely jump to touch the listener.ora on my own file and let this agent to this work, while all configurations with srvctl (or maybe lsnrctl). But it would take to activate / ADMIN_RESTRICTIONS way ENABLE_GLOBAL_DYNAMIC_ENDPOINT permanent using these utilities. Is this possible? How?


    THX

    Robert


    ==================================

    IG is 11.2.0.4

    DB is 11.2.0. [34]

    So, just adding

    ADMIN_RESTRICTIONS_ = WE

    to the listener.ora just. Everything needed is generated by an agent of the basic config with "srvctl add listener." Other "lsnrctl set" specific settings must be entered manually on the listener.ora if necessary.

    Thank you.

  • Listener of the APEX and several Instances of APEX

    I APEX 4.XX and Apex listener 2.0.5 and I'm really interested in the configuration of multiple instances of the APEX to browse the same listener.  I found information on how you create your multiple connections, but I'm really confused by the portions on how you configure your URL cards.  In my case, I'm insterested in something in the sense of https://apex.example.com/prod/ https://apex.example.com/dev/ https://apex.example.com/pprd/ where each of them is APEX running on a different database.  I am amendable to prod a straight downhill https://apex.example.com/ until I could install some sort of application of default homepage instead of directly providing the login page for this instance.  Can anyone offer guidance in this type of installation?  I am ok if you need is to have the URL in the sense of https://apex.example.com/apex/ https://apex.example.com/apex/dev/ https://apex.example.com/apex/pprod/ if they should be.  Note my deployment is on Weblogic 12 c and I use SQL Developer to admin the listener.

    The headphones are so light, I have one foreach (in virtual boxes)

    I prefer to keep listeners on separate servers, because it is easier for me to check that I'm not about to run 'truncate table... ". "on the production.

    (my $0,02 worth)

    Dev, I have multiple DB connections.

    Grade a (http://Host/apex) points to my box of 11 g of real development.

    The secondary one (http://Host/apex/a12) point to my box 'playground' 12 c.

    For the 12 c, URL mappings are: (SQL Developer 3.2 and 4.0)

    The rule of Type = URL path

    Routing rule = http://Host/apex/a12

    REST Schema. = (empty)

    After that I got it to work, I have not played with any other options/ideas.

    MK

  • 11 GR 2 - statically define listener.ora in GRID_HOME with earpiece of SCAN.

    Hello

    Grid infrastructure 11.2.0
    11.2.0.3 DB & DB 10.2.0.4.3

    For all databases on this CAR, I encouraged the handful of earphone Grid Infrastructure SCAN all connections which is fine. However, without using the DBHOME Local listener - how statically set listener values in the listener.ora GRID_HOME?

    On some of my setup, where Dataguard is present - I'll need to statically define XPT, DGB in the listener.ora so that these services can be tuned so that the broker deals with Dataguard failovers. They will allow databases to be restarted automatically, without having to 'manually' start of the databases.

    Mind you, some of my configurations do not require the XPT and DGB to be defined statically so that the databases to be started automatically during a failover.

    Define statically XPT and DGB was a workaround solution Metalink offered also on my SR for a long time, but it was more clearly defined under DBHOME listener.ora. Less than 11g GRID_HOME, seems to be more dynamic.

    In what format?

    This is what is currently in listener.ora GRID_HOME.

    perdevora01:Oracle-VPMPER:/apps/grid/product/11.2.0/grid_1/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
    perdevora01:Oracle-VPMPER:/apps/grid/product/11.2.0/grid_1/network/admin >

    Add the static configuration to the format of the listener

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    ...

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

  • 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

Maybe you are looking for

  • My beginning of doen't Satellite x 205

    Hello. My Satellite X 205 SLI3 laptop (bought in the United States) won't start. I have a white screen computer Ant portable 1 long beep and 2 short beep sounds. What is the problem and the solution? Thank you for your help. Kind regards. OURSONNET.

  • Mounted the case for POWERSHOT SX50HS

    Hello -What someone has a suggestion for a case for my camera.  Amazon has an Everready case it seems to be described as a product of inner quality. Canon has one on the site of tneir as well. Thank you guys!

  • Message from DynDNS WRT120N abuse

    Hi there, I'm having some difficulties with my Linksys WRT120N. I have a dyndns account and as configured in the DDNS section. I didn't install local DynDNS client, only the Linksys router should update the dynamic ip address. The first day, everythi

  • I have a LG Flatron W2243T monitor stuck in powersaver mode

    I have a monitor LG Flatron W2243T that entered in powersaver mode and I cannot get it out it dose - anyone know how to wake up?

  • Switching devices blackBerry Smartphones using the Desktop Manager

    I just got my Torch 9800 replacement since my first only the battery was drainning (apparently a common problem). Until I returned my old Torch 9800 I backed up and also used the device switch option in Desktop Manager. When it asked me to connect th