• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Sample listener.ora file for Oracle

by admin

LISTENER.ORA is a configuration file used to control the operation of an Oracle listener on the server. You can have more than one listener configured in one LISTENER.ORA file if each has a unique name.

The listerner.ora file contains server side network configuration parameters. It can be found in the “$ORACLE_HOME/network/admin” directory on the server. The LISTENER describes an address list or set of address lists. Addresses consist of a protocol definition and a key value, or else a protocol definition, a hostname, and a port number. The generalized Oracle Database 11.2.0.4 standard fresh install LISTENER entry in the listener.ora file follows:

# LISTENER.ORA Network Configuration File: /u01/app/oracle/product/11.2.0.4/network/admin/listener.ora
# Generated by Oracle configuration tools.

LISTENER =
 (DESCRIPTION_LIST =
   (DESCRIPTION =
      (ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
       )
      (ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
      )
    )
  )

SID_LIST_LISTENER =
 (SID_LIST =
  (SID_DESC =
   (SID_NAME = PLSExtProc)
   (ORACLE_HOME = /u01/app/oracle/product/11.2.0.4)
   (PROGRAM = extproc)
  )
  (SID_DESC = 
   (GLOBAL_DBNAME = prod.com)
   (ORACLE_HOME =/u01/app/oracle/product/11.2.0.4)
   (SID_NAME = prod)
  )
 )

The SID_LIST_LISTENER, the second entry in the standard listener.ora file, contains the SID description. The Oracle Database 12c standard SID_DESC is defined by the SID_NAME, ORACLE_HOME, and PROGRAM parameter definitions. The SID_NAME parameter is defined as PLSExtProc, which is used as the extproc identifier. The ORACLE_HOME parameter defines the Oracle home directory. Finally, the PROGRAM parameter defines the extproc agent as the program.

Filed Under: oracle

Some more articles you might also be interested in …

  1. How to Connect to an Oracle Pluggable Database (PDB)
  2. Oracle GoldenGate: GLOBALS Sample Parameter File
  3. Dynamic Oracle Net Server Tracing
  4. How To Disable Advanced Analytics in Oracle Database 12c?
  5. Oracle GoldenGate: Manager Sample Parameter File
  6. Beginners Guide to Oracle Database Vault
  7. PL/SQL Cursor Variables with REF CURSOR
  8. What Is Oracle Key Vault
  9. How to Set Timeout for WebLogic Web Service Client (JAX-WS and JAX-RPC)
  10. How to get the Values Assigned by Default to a Profile in Oracle Database

You May Also Like

Primary Sidebar

Recent Posts

  • qm Command Examples in Linux
  • qm wait Command Examples in Linux
  • qm start Command Examples in Linux
  • qm snapshot Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright