Listener.ora file

Hello
10g Re on UnixAIX.
1-are there a command line to generate the listener.ora with database file in SID_LIST?
2. how to find the IP address that should be in the Listener.ora file as in:
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = tcp)(HOST=xx.xx.xx.xx) (PORT = 1521))
(ADDRESS = (PROTOCOL = ipc) (KEY = extproc)))

I have:
root:/root#ifconfig -a
en1: flags=1e080863,480<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),CHAIN>
        inet 10.240.59.9 netmask 0xffffff00 broadcast 10.240.59.255
         tcp_sendspace 262144 tcp_recvspace 262144 rfc1323 1
en2: flags=1e080863,480<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),CHAIN>
        inet 10.240.62.41 netmask 0xfffffff0 broadcast 10.240.62.47
         tcp_sendspace 262144 tcp_recvspace 262144 rfc1323 1
en0: flags=1e080863,480<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),CHAIN>
        inet 10.240.61.9 netmask 0xffffff00 broadcast 10.240.65.255
         tcp_sendspace 262144 tcp_recvspace 262144 rfc1323 1
lo0: flags=e08084b,c0<UP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,LARGESEND,CHAIN>
        inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
        inet6 ::1%1/0
         tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1
Thank you.

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

(1) use the default localhost hostname or ip address

ORA-01031: insufficient privileges

What is the value of

SQLNET.authentication_services =?

post and set up with none then try to connect... post any errors

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

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

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

  • The listener is down: even if a listener with the name "AUDITOR", is running on this host at the port: "1521", it has not started using "the target LISTENER. ORA file.


    I moved a listener on a host in a House different oracle. The headset works fine, but EM 12 c shows that the listener is down with the following summary:

    The listener is down: even if a listener with the name "AUDITOR", is running on this host at the port: "1521", it has not started using "the target LISTENER. ORA file. CORRECTIVE ACTION: To monitor this "EM listener target" with its current configuration, you must stop the process of listening running and start it using the Listener parameter file: opt/oracle/product/12.1.0.2/network/admin/listener.ora. Alternatively, you can update "this target LISTENER. Location ORA setting"with the location of the listener running, which started using the: opt/oracle/product/11.2.0.3/network/admin/listener.ora.

    EM 11 g, I simply changed the configuration of the listener for the different oracle home, argued the change and in a few minutes the listener would show that 'UP' with the oracle of new home. I upgraded to MS 12 c (12.1.0.4) and can't find how to do this. Can someone give me the procedure.

    Thank you

    Ron

    Hi Ron,

    Can you please do the following?

    -Create a for the listener listener.ora file, stop and start the receiver using the listener.ora file. If the file is located in a default location, set the TNS_ADMIN environment variable to that location before you start the listener.

    -Log on to the EM console, go to the homepage of the listener.

    -In the Oracle Listener menu, select target Configuration > Configuration of the analysis.

    -Ensure that the parameters, including the Listener.ora directory, are properly.

    Kind regards

    -Loc

  • 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

  • Modify the file Listener (listener.ora) to remove PASSWORDS

    Oracle 10.2.0.4
    64 bit SPARC Solaris 10.5

    We have our listener that is locked by password user authentication. As Oracle has recommended, should not the authentication of users, leading to the decision to withdraw the following:
    #---15: 38:18 - ADDED BY TNSLSNR October 29, 2007
    PASSWORDS_MYDB = 8E28G2195BB5339
    SAVE_CONFIG_ON_STOP_MYDB = WE
    #--------------------------------------------
    My Solution:
    1 stop listener < nom_recepteur > and change the lines above in the listener.ora file
    2. start receiver < nom_recepteur >
    NOTE: This must be done via a shell script.


    Question:
    1. the solution above will make the listener authentication OS again?
    2 does the script below make sense?
    #! / bin/bash
    # Modify the listener to use only the OS authentication
    CD $HOME
    . . / mydb
    CD $ORACLE_HOME/network/admin
    CP listener.ora listener_'date of +%Y-%m-%m'.ora
    CP tnsnames.ora tnsnames_'date of +%Y-%m-%m'.ora
    Lsnrctl set of password $instanceName
    $instanceName lsnrctl stop
    SED EI "/ PASSWORDS_/d ' EI ' / SAVE_CONFIG_ON/d ' e ' / #-/ d ' listener_' day +%Y-%m-%m'.ora > listener.ora
    lsnrctl start $instanceName
    echo "Listener $instanceName update"
    echo "* mydb.sh is complete * '
    I'm more worried about 7th line, where the password is defined. I would appreciate any help with the password that passes to the listener via the script

    Yes, the listener returns to OS authentication if you remove the "PASSWORDS_MYDB =" line of listener.ora and then bounce the listener. You can check this by using a 'lisnrctl status' command before and after the rebound. "Judge of what happens to a test on one of my listeners, while the listener is password protected" lsncrtl status "should show the line

    Security                  ON: Password or Local OS Authentication
    

    After removing the listener.ora password and restart the listener, this should change to

    Security                  ON: Local OS Authentication
    

    Published by: karluk may 11, 2011 09:23

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

  • Net Oracle does not read the tnsnames.ora file.

    I am running 11.2.0.3 on Solaris 10 SPARC x 64. I'm trying to configure oracle net for a new database on hold in order to be able to use rman duplicate to create. LDAP is what we mainly use for all of our connections and, possibly, what I could use very well for my goal of rman duplication. But, I fear that I do nothing seems to allow me to read the tnsnames.ora file.

    My SQLNET. ORA file is as follows:

    NAMES. DIRECTORY_PATH = (LDAP, TNSNAMES)

    NAMES. DEFAULT_DOMAIN = mydomain.com

    My TNSNAMES file. ORA file is as follows on both servers:

    WLDB_HERE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = primary_server) (PORT = 1521))
    )
    (CONNECT_DATA = (SERVICE_NAME = wldb_here.mydomain.com))
    )

    WLDB_THERE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = standby_server) (PORT = 1521))
    )
    (CONNECT_DATA = (SERVICE_NAME = wldb_there.mydomain.com))
    )

    I have a static entry in the remote listener.ora file so I can connect to create the instance:

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = wldb_there.mydomain.com)
    (ORACLE_HOME = / u01/app/oracle/product/OraHome112)
    (SID_NAME = WJZI)
    )
    )

    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = standby_server) (PORT = 1521))
    )

    Permissions on my .ora files in $ORACLE_HOME/network/admin are

    -rw - r - r - 1 oracle dba

    The user that I am connected to who is oracle.

    I have set up several times before, but for some reason that I can't get this to work. I get

    AMT-03505: failed to resolve host

    Of

    tnsping wldb_there

    or

    tnsping wldb_here

    I have not tried to take the LDAP Protocol on my sqlnet.ora because I need, but I really want to know if anyone has had an experience like this before.

    Thank you-

    gregb wrote:

    I am running 11.2.0.3 on Solaris 10 SPARC x 64. I'm trying to configure oracle net for a new database on hold in order to be able to use rman duplicate to create. LDAP is what we mainly use for all of our connections and, possibly, what I could use very well for my goal of rman duplication. But, I fear that I do nothing seems to allow me to read the tnsnames.ora file.

    My SQLNET. ORA file is as follows:

    NAMES. DIRECTORY_PATH = (LDAP, TNSNAMES)

    NAMES. DEFAULT_DOMAIN = mydomain.com

    My TNSNAMES file. ORA file is as follows on both servers:

    WLDB_HERE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = primary_server) (PORT = 1521))
    )
    (CONNECT_DATA = (SERVICE_NAME = wldb_here.mydomain.com))


    )

    Because you have NAMES. DEFAULT_DOMAIN = mydomain.com in your sqlnet.ora, when you try to connect to "WLDB_HERE", before tnsnames.ora is read, sqlnet will transform your application in "WLDB_HERE.mydomain.com".  And that's what he's going to get.

    You do not have an entry in your tnsnames.ora to 'WLDB_HERE.mydomain.com '.

    WLDB_THERE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = standby_server) (PORT = 1521))
    )
    (CONNECT_DATA = (SERVICE_NAME = wldb_there.mydomain.com))
    )

    I have a static entry in the remote listener.ora file so I can connect to create the instance:

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = wldb_there.mydomain.com)
    (ORACLE_HOME = / u01/app/oracle/product/OraHome112)
    (SID_NAME = WJZI)
    )
    )

    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = standby_server) (PORT = 1521))
    )

    Permissions on my .ora files in $ORACLE_HOME/network/admin are

    -rw - r - r - 1 oracle dba

    The user that I am connected to who is oracle.

    I have set up several times before, but for some reason that I can't get this to work. I get

    AMT-03505: failed to resolve host

    Of

    tnsping wldb_there

    or

    tnsping wldb_here

    I have not tried to take the LDAP Protocol on my sqlnet.ora because I need, but I really want to know if anyone has had an experience like this before.

    Thank you-

  • 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

  • Is the &lt; nom_recepteur &gt; SID_LIST_ parameter in listener.ora relevant for 11.2?

    DB version: 11.2.0.3, 10.2

    I have 2 DB of the version 11.2.0.3 and 10.2 running on a Solaris Server

    I want to start a listener named SNOOPY running on the default port, which should be the listener for two of these DBs.


    Does only I parameter < name of the listener > SID_LIST_ in 11g listener.ora file? Isn't init.ora for each DB LOCAL_LISTENER parameter an alternative to the SID_LIST_ < name of the listener > parameter in listener.ora file?



    I would add SID_LIST like below in the listener.ora
    SNOOPY =
      (DESCRIPTION_LIST=
        (DESCRIPTION=
          (ADDRESS_LIST=
            (ADDRESS=(PROTOCOL=TCP)(HOST=168.16.205.31)(PORT= 3298 ))
          )
        )
      )
    
    
    
    SID_LIST_SNOOPY =
    (SID_LIST =
         (SID_DESC =
         (ORACLE_HOME = /u01/app/oracle/product/10.2/db_1)
         (SID_NAME = orcl )
         )
         (SID_DESC =
         (ORACLE_HOME = /u01/app/oracle/product/11.2.0.3/db1)
         (SID_NAME = anotherdb)
         )
    )
    or I can do the step to get the listener to serve the DBs below?

    Another way (I hope)
    ===================
    I can an add an entry like below in the file tnsnames.ora to relevant $ORACLE_HOME/network/tnsnames.ora
    mysnoopy =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL=tcp)(HOST=168.16.205.31)(PORT= 3298 )))
    and set the LOCAL_LISTENER parameter in the comic book as
    ALTER SYSTEM SET LOCAL_LISTENER=mysnoopy;

    Do I need to SID_LIST_ parameter in the listener.ora in 11g file?

    We do not know who.

    LOCAL_LISTENER for each DB init.ora parameters is not an alternative to the SID_LIST_ parameter in the listener.ora file layout?

    Not exactly.

    SID_LIST_ serves static registration, which means that the database will be saved even stop and can be started remotely.
    It is also used to connect to a remote database in the NOMOUNT State, for example in the case of active RMAN duplication.
    Specifying LOCAL_LISTENER, the database is dynamically registered the listener in NOMOUNT (blocked), MOUNT, OPEN State.

    I would add SID_LIST like below in the listener.ora

    SID_LIST_SNOOPY =
    (SID_LIST =
         (SID_DESC =
         (ORACLE_HOME = /u01/app/oracle/product/10.2/db_1)
         (SID_NAME = orcl )
         )
         (SID_DESC =
         (ORACLE_HOME = /u01/app/oracle/product/11.2.0.3/db1)
         (SID_NAME = anotherdb)
         )
    )
    

    or I can do the step to get the listener to serve the DBs below?

    Another way (I hope)
    ===================
    I can an add an entry like below in the file tnsnames.ora to relevant $ORACLE_HOME/network/tnsnames.ora

    mysnoopy =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL=tcp)(HOST=168.16.205.31)(PORT= 3298 )))
    

    and set the LOCAL_LISTENER parameter in the comic book as

    ALTER SYSTEM SET LOCAL_LISTENER=mysnoopy;
    

    Depends on. LOCAL_LISTENER will take care of the dynamic record at MOUNT and OPEN State. If you need more, go to SID_LIST_.

Maybe you are looking for

  • The issue of browser?

    Maybe I'm not but you here a next page on the stock browser button... I see the and use the back button often but sometimes I go back too many pages and need a page forward button... I'm just missing something, is under my nose and I'm not?

  • My cliq is slow

    It all started when my ringtone was sounds without an incoming call. then the phone was working slowly... What can I do to fix this?

  • Missing HP Solution Center

    Solution Center has disappeared from the computer for HP Photosmart 7510 e-all-in-one printer - C311a How can I re - acquire?

  • Studio XPS 8100 does not start

    Hello!  I have a 2010 studio xps 8100 (Intel (r) Core i7 CPU 860 to 2.80 GHz, 8 GB ram) and it's great when it works.  Last week, I was out of town and when I came back it would not start upward.  I can turn it on and start the fans, but it does not

  • DATA LOSAGE

    did I lose my old data in my records after update to Windows 10