You can start several listeners from the same listener.ora file. I am not aware that you can use 2 files to start 2 listeners.

I give an example below

 

John

 

###########################################################

# Listener service name LISTENER_LIVE

# Listens on service LIVE, ports 1522 and 1523

###########################################################

 

LISTENER_LIVE =

  (DESCRIPTION_LIST =

    (DESCRIPTION =

      (ADDRESS_LIST =

        (ADDRESS = (PROTOCOL = TCP)

          (HOST = host1)(PORT = 1522))

        (ADDRESS = (PROTOCOL = TCP)

          (HOST =host1)(PORT = 1523))

       (ADDRESS = (PROTOCOL = IPC)

          (KEY = MWO.LOCAL))

      )

    )

  )

 

LOG_FILE_LISTENER_LIVE = host1_listener_live.log

LOG_DIRECTORY_LISTENER_LIVE = /opt/oracle/local/SqlNet/log/

 

TRACE_LEVEL_LISTENER_LIVE = user 

TRACE_FILE_LISTENER_LIVE = host1_listener_live.trc

TRACE_DIRECTORY_LISTENER_LIVE = /opt/oracle/local/SqlNet/trc/

 

 

###########################################################

# Listener service name LISTENER_DEV (port 1529)

# Listener for DEV purposes only

###########################################################

 

LISTENER_DEV =

  (DESCRIPTION =

    (ADDRESS_LIST =

      (ADDRESS = (PROTOCOL = TCP)(HOST = host1)(PORT = 1529))

    )

  )

 

LOG_FILE_LISTENER_DBAS = host1_listener_dbas.log

LOG_DIRECTORY_LISTENER_DEV = /opt/oracle/local/SqlNet/log/

 

TRACE_LEVEL_LISTENER_DEV = off

TRACE_FILE_LISTENER_DEV = host1_listener_dev.trc

TRACE_DIRECTORY_LISTENER_DEV = /opt/oracle/local/SqlNet/trc/

 

STARTUP_WAIT_TIME_LISTENER_DEV = 0

CONNECT_TIMEOUT_LISTENER_DEV = 10

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Big Planet
Sent: 04 April 2002 01:38
To: Multiple recipients of list ORACLE-L
Subject: another listener.ora

 

How can I start another listener on same box using another listener.ora file .

 

TIA

Bp

Reply via email to