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.

Tags: Database

Similar Questions

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

  • 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
    
  • Oracle 10g, trouble with listener.ora

    We have installed oral 10g (Enterprise edition) / windows 2003.

    but not installed APPLAICATION SERVER (IDS)

    NOW I CAN'T CONNECT to the client database.

    ERROR - ORA 12154 AND ORA-12505.

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

    MMS =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 110.110.110.6)(PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = mms)
    )
    )

    PAYTEST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 110.110.110.9)(PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = paytest)
    )
    )


    LISTENER_PAYTEST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ora10gtest.rdbmsgoc.com) (PORT = 1521))


    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1))
    )
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )
    )

    -----------
    listener.ora # Network Configuration file: D:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION = (CONNECT_DATA = (SID = paytest))
    (ADDRESS = (PROTOCOL = TCP)(HOST = ora10gtest.rdbmsgoc.com) (PORT = 1521))
    )
    )

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = paytest)
    (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
    (= Extproc PROGRAM)
    )
    )
    ------------------------
    What should I do?

    What mandatoy to install the APPLICATION SERVER?

    OR

    I need to check sqlplus executable (PLUS80W. (EXE)
    CLIENT SIDE WE HAVE INSTALLED forms 6i being our other databases from oracle 8i in Windows 2000 server.

    c.santhanakrishnan

    Hello

    From your description, I suppose, you have installed 10g on a machine to which you refer as a server. Then installed Forms 6i on a machine, which is the client.
    Now, when you are using client/server forms (and active web), you must have the installation of the Oracle client, which should come with Forms 6i. No need to think on the application server.

    You entered in PAYTEST in the tnanames.ora on the client machine?
    You can run command "tnsping PAYTEST" on the client machine? What is the output?
    On the server, try to connect to the database 10g using tns i.e. sqlplus /@PAYTEST. Does it work?
    Make sure that the listener is running.

    Post the errors you get test and we will have a few things to think about.

    (Looks like you guys are moving from 8i with web according to Forms 10g and something else :-)))

    See you soon

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

  • How to configure listener.ora when I have several databases

    How to start a headphones/stop and configure listener.ora, tnsnames.ora when I have multiple instances.

    Is it different when there is only a single instance to run in the same server (ORACLE_HOME).

    and how to deal with the ora-12514 error

    Published by: udayjampani on October 11, 2011 16:26

    udayjampani wrote:
    What should be the tnsnames.ora for this

    Since we don't know anything about your system, we cannot say what will be in your tnsnames file.

    What I can say is that you must first realize this tnsnames is used only by client processes.

    You should probably start here: http://edstevensdba.wordpress.com/2011/02/09/sqlnet_overview/

  • 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

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

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

  • 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

  • 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

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

  • DataGuard problems, bad to the log_archive_dest_2 port configuration

    Hello! Thank you all in advance for your help and sorry for my English, I will try to explain as best as possible.

    We have a dataguard.

    It has two headphones, the ports are 1534 and 1544, but... someone changed their 1535 once there is and now I had to re-set up everything again.

    The thing is log_archive_dest_2 at the elementary level is wrong, because it points to instead of 1534-1535. I tried to edit init.ora and restart the instance but it always points to 1535 again.

    I don't know if this setting depends on the other, or there is a hidden configuration, I don't see

    **********
    Primary
    **********
    -----------------------------------------------------------------------------------------------------------------------------------------
    tnsnames.ora


    LICITARP =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP (PORT = 1544))(HOST = server01g))
    (ADDRESS = (PROTOCOL = TCP (PORT = 1534))(HOST = server01))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = LICITARP)
    )
    )

    LICITARR =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = server02g. XXXXXX.es) (PORT = 1544))
    (ADDRESS = (PROTOCOL = TCP) (HOST = server02. XXXXXX.es) (PORT = 1534))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = LICITARR. XXXXXX.es)
    )
    )

    LICITARP. XXXXXX.es =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = server01. XXXXXX.es) (PORT = 1534))
    )
    (CONNECT_DATA =
    (SID = LICITARP)
    (SERVER = DEDICATED)
    )
    )

    LICITARPG. XXXXXX.es =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = server01g. XXXXXX.es) (PORT = 1544))
    )
    (CONNECT_DATA =
    (SID = LICITARP)
    (SERVER = DEDICATED)
    )
    )

    LICITARR. XXXXXX.es =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = server02. XXXXXX.es) (PORT = 1534))
    )
    (CONNECT_DATA =
    (SID = LICITARR)
    (SERVER = DEDICATED)
    )
    )

    L_LICITARPG =
    (ADDRESS = (PROTOCOL = TCP) (HOST = server01g. XXXXXX.es) (PORT = 1544))

    L_LICITARP =
    (ADDRESS = (PROTOCOL = TCP) (HOST = server01. XXXXXX.es) (PORT = 1534))





    -----------------------------------------------------------------------------------------------------------------------------------------
    Listener.ora


    SID_LIST_L_LICITARPG =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = LICITARP. XXXXXX.es)
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SID_NAME = LICITARP)
    )
    )

    L_LICITARP =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = server01. XXXXXX.es) (PORT = 1534))
    )
    )
    L_LICITARPG =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = server01g. XXXXXX.es) (PORT = 1544))
    )
    )

    SID_LIST_L_LICITARP =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = LICITARP_dgmgrl. XXXXXX.es)
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SERVICE_NAME = LICITARP. XXXXXX.es)
    (SID_NAME = LICITARP)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = LICITARP. XXXXXX.es)
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SID_NAME = LICITARP)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = LICITARR. XXXXXX.es)
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SID_NAME = LICITARR)
    )
    )


    -----------------------------------------------------------------------------------------------------------------------------------------
    parameters



    My ora init settings:

    LICITARP.log_archive_dest_1 ='location = "USE_DB_RECOVERY_FILE_DEST" ',' valid_for = (ALL_LOGFILES, ALL_ROLES)'"
    LICITARP.log_archive_dest_2 ='service = "LICITARR.xxxxxx.es ', delay LGWR SYNC AFFIRM = OPTIONAL compression 0 = DISABLE max_failure = 0 max_connections = 1 reopen = 300 db_unique_name ="LICITARR"net_timeout = 30 valid_for = (online_logfile, primary_role)'" "


    I start the database and when I show the parameters, log_dest_2 points to 1535, a bad port.

    SQL > show settings dest

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    audit_file_dest string/opt/oracle/admin/LICITARP/adu
    MP
    / opt/oracle/diag/rdbms/licitar string background_dump_dest
    p/LICITARP/trace
    core_dump_dest string/opt/oracle/diag/rdbms/licitar
    p/LICITARP/cdump
    db_create_file_dest chain
    db_create_online_log_dest_1 string
    db_create_online_log_dest_2 string
    db_create_online_log_dest_3 string
    db_create_online_log_dest_4 string

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    db_create_online_log_dest_5 string
    db_recovery_file_dest string/opt/oracle/oradata/flash_reco
    very_area
    whole large db_recovery_file_dest_size 100G
    diagnostic_dest string/opt/oracle
    Log_archive_dest chain
    location of string Log_archive_dest_1 = 'USE_DB_RECOVERY_FILE. '
    Dest", valid_for is (ALL_LOGFIL
    ES, ALL_ROLES)
    LOG_ARCHIVE_DEST_10 string
    service of string LOG_ARCHIVE_DEST_2 = "(DESCRIPTION = (ADDRESS

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    _LIST = (ADDRESS = (PROTOCOL = tcp
    () (HOST = server02)(¡¡¡PORT=1535!!!)))
    (CONNECT_DATA = (SERVICE_NAME = LI
    CITARR. XXXXXX.es)(SERVER=DE)
    DIQUE))) ', LGWR SYNC DISPLAY.
    Delay of RM = 0 OPTIONAL compressio
    n = DISABLE max_failure = 0 max_co
    nnections = 1 reopen = 300 db_un
    ique_name = "LICITARR" net_timeo
    UT = 30 valid_for = (online_logfi
    the, primary_role)

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    log_archive_dest_3 string
    log_archive_dest_4 string
    log_archive_dest_5 string
    log_archive_dest_6 string
    log_archive_dest_7 string
    log_archive_dest_8 string
    log_archive_dest_9 string
    log_archive_dest_state_1 string ENABLE
    allow the chain of log_archive_dest_state_10
    LOG_ARCHIVE_DEST_STATE_2 string ENABLE
    log_archive_dest_state_3 string ENABLE

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    allow the chain of log_archive_dest_state_4
    allow the chain of log_archive_dest_state_5
    allow the chain of log_archive_dest_state_6
    allow the chain of log_archive_dest_state_7
    allow the chain of log_archive_dest_state_8
    allow the chain of log_archive_dest_state_9
    log_archive_duplex_dest string
    log_archive_min_succeed_dest integer 1
    standby_archive_dest channel? / dbs/arch
    user_dump_dest string/opt/oracle/diag/rdbms/licitar
    p/LICITARP/trace
    SQL > show fal settings

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    string fal_client (DESCRIPTION = (ADDRESS_LIST =)
    Address = (Protocol = TCP) (Host = FL
    o5ora01) (port = 1534))) (CONNECT_
    DATA = (SERVICE_NAME = LICITARP. XX
    XXXXXX.es) SERVER = DEDICATED))
    string fal_server (DESCRIPTION = (ADDRESS_LIST =)
    Address = (Protocol = TCP) (Host = f
    lo5ora02) (port = 1534))) (CONNECT
    DATA = (SERVICENAME = LICITARR.) X
    XXXXX.es) (SERVER = DEDICATED)
    )



    **********
    Standby
    **********
    -----------------------------------------------------------------------------------------------------------------------------------------
    tnsnames.ora


    LICITARR =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP (PORT = 1534))(HOST = server02.intranet.XXXXXX.es))
    )
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SID = LICITARR)
    )
    )

    LICITARR
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP (PORT = 1534))(HOST = server02.intranet.XXXXXX.es))
    )
    (CONNECT_DATA =
    (SID = LICITARR)
    (SERVER = DEDICATED)
    )
    )


    L_LICITARR =
    (ADDRESS = (PROTOCOL = TCP (PORT = 1534))(HOST = server02.intranet.XXXXXX.es))


    LICITARR. XXXXXX.ES =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP (PORT = 1534))(HOST = server02.intranet.XXXXXX.es))
    )
    (CONNECT_DATA =
    (SID = LICITARR)
    (SERVER = DEDICATED)
    )
    )



    -----------------------------------------------------------------------------------------------------------------------------------------
    Listener.ora



    SID_LIST_L_LICITARRG =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = LICITARP_dgmgrl. XXXXXX.es)
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SERVICE_NAME = LICITARPG. XXXXXX.es)
    (SID_NAME = LICITARP)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = LICITARR_dgmgrl. XXXXXX.es)
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SERVICE_NAME = LICITARRG. XXXXXX.es)
    (SID_NAME = LICITARR)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = LICITARPG_dgb. XXXXXX.es)
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SERVICE_NAME = LICITARPG_DGB. XXXXXX.es)
    (SID_NAME = LICITARP)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = LICITARRG_dgb. XXXXXX.es)
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SERVICE_NAME = LICITARRG_DGB. XXXXXX.es)
    (SID_NAME = LICITARR)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = LICITARP. XXXXXX.es)
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SID_NAME = LICITARP)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = LICITARR. XXXXXX.es)
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SID_NAME = LICITARR)
    )
    )

    SID_LIST_L_LICITARR =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = LICITARP_dgmgrl. XXXXXX.es)
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SERVICE_NAME = LICITARPG. XXXXXX.es)
    (SID_NAME = LICITARP)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = LICITARR_dgmgrl. XXXXXX.es)
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SERVICE_NAME = LICITARRG. XXXXXX.es)
    (SID_NAME = LICITARR)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = LICITARP_dgb. XXXXXX.es)
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SERVICE_NAME = LICITARP_DGB. XXXXXX.es)
    (SID_NAME = LICITARP)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = LICITARR_dgb. XXXXXX.es)
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SERVICE_NAME = LICITARR_DGB. XXXXXX.es)
    (SID_NAME = LICITARR)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = LICITARP. XXXXXX.es)
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SID_NAME = LICITARP)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = LICITARR. XXXXXX.es)
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SID_NAME = LICITARR)
    )
    )


    L_LICITARR =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP (PORT = 1534))(HOST = server02.intranet.XXXXXX.es))
    )
    )



    L_LICITARRG =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP (PORT = 1544))(HOST = server02g.intranet.XXXXXX.es))
    )
    )

    LISTENER_LICITARR =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP (PORT = 1534))(HOST = server02.intranet.XXXXXX.es))
    )

    SID_LIST_LISTENER_LICITARR =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = / opt/oracle/product/db111)
    (SID_NAME = LICITARR)
    )
    )





    -----------------------------------------------------------------------------------------------------------------------------------------
    parameters


    SQL > show settings dest

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    audit_file_dest string/opt/oracle/admin/LICITARR/adu
    MP.
    / opt/oracle/diag/rdbms/licitar string background_dump_dest
    r/LICITARR/trace
    core_dump_dest string/opt/oracle/diag/rdbms/licitar
    r/LICITARR/cdump
    db_create_file_dest chain
    db_create_online_log_dest_1 string
    db_create_online_log_dest_2 string
    db_create_online_log_dest_3 string
    db_create_online_log_dest_4 string

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    db_create_online_log_dest_5 string
    db_recovery_file_dest string/opt/oracle/oradata/flash_reco
    very_area
    whole large db_recovery_file_dest_size 100G
    diagnostic_dest string/opt/oracle
    Log_archive_dest chain
    Log_archive_dest_1 string LOCATION = USE_DB_RECOVERY_FILE_
    DEST OPTION REOPEN = 300
    LOG_ARCHIVE_DEST_10 string
    service of string LOG_ARCHIVE_DEST_2 = "(DESCRIPTION = (ADDRESS
    _LIST = (ADDRESS = (PROTOCOL = tcp

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    () (HOST = server02)(PORT=1534)))
    (CONNECT_DATA = (SERVICE_NAME = LI
    CITARR. XXXXXX.es)(SERVER=DE)
    DIQUE))) ', LGWR SYNC DISPLAY.
    Delay of RM = 0 OPTIONAL compressio
    n = DISABLE max_failure = 0 max_co
    nnections = 1 reopen = 300 db_un
    ique_name = "LICITARR" net_timeo
    UT = 30 valid_for = (online_logfi
    the, primary_role)
    log_archive_dest_3 string

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    log_archive_dest_4 string
    log_archive_dest_5 string
    log_archive_dest_6 string
    log_archive_dest_7 string
    log_archive_dest_8 string
    log_archive_dest_9 string
    allow the chain of log_archive_dest_state_1
    allow the chain of log_archive_dest_state_10
    LOG_ARCHIVE_DEST_STATE_2 string ENABLE
    log_archive_dest_state_3 string ENABLE
    allow the chain of log_archive_dest_state_4

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    allow the chain of log_archive_dest_state_5
    allow the chain of log_archive_dest_state_6
    allow the chain of log_archive_dest_state_7
    allow the chain of log_archive_dest_state_8
    allow the chain of log_archive_dest_state_9
    log_archive_duplex_dest string
    log_archive_min_succeed_dest integer 1
    standby_archive_dest channel? / dbs/arch
    user_dump_dest string/opt/oracle/diag/rdbms/licitar
    r/LICITARR/trace

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



    If I tried that I managed to enter sqlplus in both nodes


    [oracle@server01 admin] $ sqlplus "sys/YYYYYYY @(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = server02)(PORT=1534)) (CONNECT_DATA = (SERVICE_NAME = LICITARR.» "((XXXXX.es)(SERVER=DEDICATED) (CID = (PROGRAM = oracle) (HOST = server02)(USER=oracle))) as sysdba.


    SQL > select status from v$ instance;

    STATUS
    ------------
    MOUNTED



    [oracle@server01 admin] $ sqlplus "sys/YYYYYYY @(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = server01)(PORT=1534)) (CONNECT_DATA = (SERVICE_NAME = LICITARP.» "((XXXXX.es)(SERVER=DEDICATED) (CID = (PROGRAM = oracle) (HOST = server01)(USER=oracle))) as sysdba.


    SQL > select status from v$ instance;

    STATUS
    ------------
    OPEN





    I always get this message, where PORT = 1535 is incorrect, and the correct port is 1534:

    Message
    --------------------------------------------------------------------------------
    R.XXXXX.es) (SERVER = DEDICATED)))'

    LGWR: Impossible to archive log 2 thread 1 sequence 162530 (12514)
    ARCH: Starting to check in thread 1 sequence 162529 (13127536-13127548)
    ARCH: Completed check-in thread 1 sequence 162529 (13127536-13127548)
    Logging of 12514 errors received on the eve
    "LGWR: 12514 error creating file archivelog ' (DESCRIPTION = (ADDRESS_LIST = (ADDRESS
    (S = (Protocol = TCP)(Host=Server02) (port = 1535))) (CONNECT_DATA = (SERVICE_NAME = LICITAR
    R.XXXXX.es) (SERVER = DEDICATED)))'

    LGWR: Impossible to archive log 3 thread 1 sequence 162531 (12514)

    Message
    --------------------------------------------------------------------------------
    ARCH: Starting to check in thread 1 sequence 162530 (13127548-13127555)
    ARCH: Completed check-in thread 1 sequence 162530 (13127548-13127555)
    Logging of 12514 errors received on the eve
    "LGWR: 12514 error creating file archivelog ' (DESCRIPTION = (ADDRESS_LIST = (ADDRESS
    (S = (Protocol = TCP)(Host=Server02) (port = 1535))) (CONNECT_DATA = (SERVICE_NAME = LICITAR
    R.XXXXX.es) (SERVER = DEDICATED)))'

    LGWR: Failure to archive journal 1-wire 1 sequence 162532 (12514)
    ARCH: Starting to check in thread 1 sequence 162531 (13127555-13127565)
    ARCH: Completed check-in thread 1 sequence 162531 (13127555-13127565)
    Logging of 12514 errors received on the eve

    Message
    --------------------------------------------------------------------------------
    "LGWR: 12514 error creating file archivelog ' (DESCRIPTION = (ADDRESS_LIST = (ADDRESS
    (S = (Protocol = TCP)(Host=Server02) (port = 1535))) (CONNECT_DATA = (SERVICE_NAME = LICITAR
    R.XXXXX.es) (SERVER = DEDICATED)))'

    LGWR: Impossible to archive log 2 thread 1 sequence 162533 (12514)
    ARCH: Starting to check in thread 1 sequence 162532 (13127565-13127570)
    ARCH: Completed check-in thread 1 sequence 162532 (13127565-13127570)
    Logging of 12514 errors received on the eve
    "LGWR: 12514 error creating file archivelog ' (DESCRIPTION = (ADDRESS_LIST = (ADDRESS
    (S = (Protocol = TCP)(Host=Server02) (port = 1535))) (CONNECT_DATA = (SERVICE_NAME = LICITAR
    R.XXXXX.es) (SERVER = DEDICATED)))'

    Message
    --------------------------------------------------------------------------------

    LGWR: Impossible to archive log 3 thread 1 sequence 162534 (12514)
    ARCH: Starting to check in thread 1 sequence 162533 (13127570-13127575)
    ARCH: Completed check-in thread 1 sequence 162533 (13127570-13127575)
    Logging of 12514 errors received on the eve
    "LGWR: 12514 error creating file archivelog ' (DESCRIPTION = (ADDRESS_LIST = (ADDRESS
    (S = (Protocol = TCP)(Host=Server02) (port = 1535))) (CONNECT_DATA = (SERVICE_NAME = LICITAR
    R.XXXXX.es) (SERVER = DEDICATED)))'

    LGWR: Failure to archive journal 1-wire 1 sequence 162535 (12514)
    ARCH: Starting to check in thread 1 sequence 162534 (13127575-13127582)

    Message
    --------------------------------------------------------------------------------
    ARCH: Completed check-in thread 1 sequence 162534 (13127575-13127582)
    Logging of 12514 errors received on the eve

    256 selected lines.



    Those for alert and new PORT = 1535 when he is wrong, since the correct port is 1534:

    ***********************************************************************

    Fatal OR connect 12514 error, connect to:
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=server02) (PORT = 1535)) (CONNECT_DATA = (SERVICE_NAME = LICITARR_DGB. XXXXX.es)(INSTANCE_NAME=LICITARR) (SERVER = DEDICATED) (CID = (PROGRAM = oracle) (HOST = server01)(USER=oracle)))

    VERSION INFORMATION:
    AMT for Linux: Version 11.1.0.7.0 - Production
    Protocol TCP/IP NT to Linux adapter: 11.1.0.7.0 - Production Version
    Time: November 10, 2011 18:56:42
    Tracing not lit.
    AMT error struct:
    NS main err in code: 12564

    AMT-12564: TNS:connection refused
    NS secondary err code: 0
    NT main err in code: 0
    NT secondary err code: 0
    NT OS err code: 0


    ***********************************************************************

    Fatal OR connect 12514 error, connect to:
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=server02) (PORT = 1535)) (CONNECT_DATA = (SERVICE_NAME = LICITARR_DGB. XXXXX.es)(INSTANCE_NAME=LICITARR) (SERVER = DEDICATED) (CID = (PROGRAM = oracle) (HOST = server01)(USER=oracle)))

    VERSION INFORMATION:
    AMT for Linux: Version 11.1.0.7.0 - Production
    Protocol TCP/IP NT to Linux adapter: 11.1.0.7.0 - Production Version
    Time: November 10, 2011 18:56:42
    Tracing not lit.
    AMT error struct:
    NS main err in code: 12564

    AMT-12564: TNS:connection refused
    NS secondary err code: 0
    NT main err in code: 0
    NT secondary err code: 0
    NT OS err code: 0


    I have recreated the password file in the primary and copy it to the secondary, after that I restarted both cases, but nothing

    No sense to me. Do you have a rebuild on my system and was not able to reproduce.

    At this point, I would like to grep for the problem (change of wider path if necessary)

    grep 1535 -R /opt/oracle/*
    

    I hate when it makes no sense. There must be somewhere.

    Best regards

    mseberg

    Subsequently

    I was thinking about it more. If you have a data broker, they can change the database settings. Any change of this?

    I see this in your settings file that supports this theory

    *.dg_broker_start=TRUE
    

    Any set of values in Data Guard Broker wins the spfile parameter. So no matter what you the SPFILE and PFILE broker file overwrites.

    How to remove safely a Data Guard Broker Configuration [261336.1 ID]

    Or modify the 'StaticConnectIdentifier' proposal the data broker. See doc Oracle E17023-04

    "6 scenarios using the DGMGRL command-line Interface"

    Example of

    DGMGRL> edit instance dg112i2 on database dg112i_prm set PROPERTY StaticConnectIdentifier = '(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.11.225)(PORT=1555))(CONNECT_DATA=(SERVICE_NAME=DG112I_PRM_DGMGRL.au.oracle.com)(INSTANCE_NAME=dg112i1)(SERVER=DEDICATED)))';
    

    Published by: mseberg on November 11, 2011 13:53

    See data physical custody shall 11.2 primary RAC RAC standby using a second network [1349977.1 ID]

Maybe you are looking for