Document ID:       16884.1
Subject:           Example LISTENER.ORA (Unix)
Last Modified:     31 Jul 96 
Author:            RPOWELL


# ------------------------------------------------------------------------
# Example listener.ora file. Make sure you use your own 'hostname' below
# ------------------------------------------------------------------------
# This tells the listener WHERE to listen
#
# Note: Do *NOT* enter the comments in the script below 
#       Ie: Do *NOT* enter the '#' or the text after it. These are
#           explanatory comments only.
#
LISTENER =
  (ADDRESS_LIST =
        (ADDRESS = 
          (PROTOCOL=tcp)
          (HOST=hostname)               #<--  Use YOUR machines HOST NAME
          (PORT=1521)
          (COMMUNITY=UK_SUP_TCPIP)      #<--  Optional Community
        )
        (ADDRESS=                       #<--  UNIX DOMAIN SOCKETS
          (PROTOCOL=ipc)                #<--  These are used for 'LOCAL'
          (KEY=700)                     #<--  connections.
          (COMMUNITY=UK_SUP_IPC)        #<--  Optional Community
        )
  )

# This tells the listener of DEDICATED services it can connect you to
#
SID_LIST_LISTENER=                      #<-- Used for DEDICATED connect 
  (SID_LIST=                            #<--  requests
        (SID_DESC= 
          (SID_NAME=V713)               #<-- Put YOUR $ORACLE_SID value
          (ORACLE_HOME=/oracle/v713)    #<-- Put YOUR $ORACLE_HOME value
        )
        (SID_DESC=                      #<-- Other databases may be added
          (SID_NAME=TESTDB)             #<--  here
          (ORACLE_HOME=/oracle/v714)
        )
  )

# These parameters control TRACE and LOG output - Set them to suit you
# 
TRACE_LEVEL_LISTENER     = OFF              #<-- Set to ADMIN for tracing
TRACE_DIRECTORY_LISTENER = /tns_admin/trace #<-- Trace output goes here
TRACE_FILE_LISTENER      = "listener"
LOG_DIRECTORY_LISTENER   = /tns_admin/log   #<-- Log output goes here
LOG_FILE_LISTENER        = "listener"

# Miscellaneous parameters
#
CONNECT_TIMEOUT_LISTENER = 10            #<-- Allow 10 seconds new connects
STOP_LISTENER            = YES
DBA_GROUP                = dba           #<-- Put your DBA group here
# PASSWORDS_LISTENER     = manager       #<-- Uncomment for a password
# ------------------------------------------------------------------------