Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Listener on Multiple Ports? Possible??

Re: Listener on Multiple Ports? Possible??

From: Billy Verreynne <vslabs_at_onwe.co.za>
Date: 19 Oct 2003 03:24:26 -0700
Message-ID: <1a75df45.0310190224.62492cf6@posting.google.com>


Sybrand Bakker <gooiditweg_at_sybrandb.nospam.demon.nl> wrote:
>
> This is not going to work EVER. The listener will simply grab the
> first port and just forget about any onther
>
> One single listener *always* listens on *ONE* TCP/IP port. Try it!
> Trace the listener starting up.

Don't even need to trace. This is what the listener says (listening to 3 IP ports btw):

---
tjs-dev:/tjs-dev/app/oracle/product/9.2.0/network/admin> lsnrctl start

LSNRCTL for HPUX: Version 9.2.0.1.0 - Production on 19-OCT-2003
12:17:23

Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.

Starting /tjs-dev/app/oracle/product/9.2.0/bin/tnslsnr: please wait...

TNSLSNR for HPUX: Version 9.2.0.1.0 - Production
System parameter file is
/tjs-dev/app/oracle/product/9.2.0/network/admin/listener.ora
Log messages written to
/tjs-dev/app/oracle/product/9.2.0/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=tjs-dev)(PORT=1521))(PROTOCOL_STACK=(PRESENTATION=GIOP)(SESSION=RAW)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=tjs-dev)(PORT=1527)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=tjs-dev)(PORT=1528)))

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=tjs-dev.telkom.co.za)(PORT=1527)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for HPUX: Version 9.2.0.1.0 -
Production
Start Date                19-OCT-2003 12:17:24
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  OFF
SNMP                      OFF
Listener Parameter File  
/tjs-dev/app/oracle/product/9.2.0/network/admin/listener.ora
Listener Log File        
/tjs-dev/app/oracle/product/9.2.0/network/log/listener.log
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=tjs-dev)(PORT=1521))(PROTOCOL_STACK=(PRESENTATION=GIOP)(SESSION=RAW)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=tjs-dev)(PORT=1527)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=tjs-dev)(PORT=1528)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
  Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this
service...
Service "dev" has 1 instance(s).
  Instance "dev", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
---

Note the 3 end points it is listening on. All 3 end points can be
configured for in the TNSNAMES and all 3 end points can be connected.
And tnsping'ed.

You try it.

--
Billy
Received on Sun Oct 19 2003 - 05:24:26 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US