Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 
 

Create listener.ora

Expert Oracle Database Tips by Donald BurlesonDecember 10, 2015

Create listener.ora

Question: I have worked with Oracle for awhile on a local setup.  Now, I am tasked with creating a new database that will run on a network.  How do I create the sqlnet.ora, tnsnames.ora and listener.ora files?  Are they created automatically? If so, can I edit them as needed?

Answer:  Normally, the Oracle Net Configuration Assistant (NETCA) is launched during the software installation by the Oracle Universal Installer.  If NETCA runs successfully, the sqlnet.ora, tnsnames.ora and listener.ora files will be created automatically with default settings.  If NETCA does not succeed, it is possible to create the files manually.  Follow the links to more detailed information on creating and editing the sqlnet.ora and tnsnames.ora files.

The listener.ora file contains the server side network configuration parameters.  It is usually located in the ORACLE_HOME/network/admin directory.

During a standard installation on the database server, NETCA automatically configures a listener in the listener.ora file.  It is given the name LISTENER and it has a TCP/IP listening protocol address for the Oracle database.  For more advanced or custom installs, NETCA will prompt you and you can configure a listener name and protocol of your own choosing.

Regardless of whether you are configuring the listener during a basic or custom install, a listening IPC protocol address is automatically configured.  It is used for external procedure calls.

A basic listener.ora file might look like the following:

LISTENER=
  (description=
    (address_list)=
      (address=(protocol=tcp)(host=fu-bar)(port=1521))
      (address=(protocol=ipc)(key=extproc))))
sid_list_listener=
  (sid_list=
    (sid_desc=
      (sid_name=plsextproc)
      (oracle_home=/oracle11g)
      (program=extproc)))

Oracle Net Manager can be used to customize the listener.ora file.

For example, to configure one or more Listening Protocol Addresses, use the following steps by accessing the Net Services Administration page in Oracle Enterprise Manager:

  1. From the Administer list, select Listeners
    Select the Oracle home that contains the location of the configuration files
  2. Click Go to access the Listeners page
  3. Select a listener
  4. Click Edit to access the Edit Listener page
  5. In the Addresses section, configure protocol support:
    1. Click Add to access the Add Address page
    2. From the Protocol list, choose the protocol upon which the listener is configured to listen
    3. Enter the parameter information for the selected protocol.
      The default port of 1521 should be used when configuring the listener to listen on TCP/IP. Failure to do so requires configuration of the local_listener parameter in the intialization parameter file and resolving the listener name through a naming method.
    4.  For computers with more than one IP address, if it is important for the listener to listen on all availalbe IP addresses, you will need to configure TCP/IP or TCP/IP with SSL and enter the host name of the computer in the host field.
  6. Click OK to add the protocol address to the Addresses section.

This can be repeated as many times as necessary to add listener protocol addresses.

 
Get the Complete
Oracle SQL Tuning Information 

The landmark book "Advanced Oracle SQL Tuning  The Definitive Reference"  is filled with valuable information on Oracle SQL Tuning. This book includes scripts and tools to hypercharge Oracle 11g performance and you can buy it for 30% off directly from the publisher.

 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2016

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.


 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster