Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Two instances with same SID in a same machine
Joel Garry wrote:
> Maybe there is "too much" intelligence in the listener. Please post > output of lsnrctl status, both homes. > > jg
I think the Listener has just the right amount of intelligence. More will make configuring even harder :-Q
You will note from the log file from home 'B' that the listener simply does not have enough information to determine which specific instance ... there is NO HOME information transmitted from the client. And also note that the GLOBAL Database Name (and therefore the service) is identical for both instances.
Remember that a listener has the ability to listen on behalf of all services regardless of home (even non-DB services). Therefore, any environment that uses duplicate SIDs *and* duplicate Global DB Name, is asking for this kind of situation. Highly _not_ recomended.
However, here you go:
oracle_at_fcc02:~> lsnrctl status
LSNRCTL for Linux: Version 9.2.0.4.0 - Production on 30-AUG-2004 18:52:03
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC))) STATUS of the LISTENER
Alias LISTENER Version TNSLSNR for Linux: Version 9.2.0.4.0 - Production Start Date 28-AUG-2004 19:44:34 Uptime 1 days 23 hr. 7 min. 28 sec Trace Level off Security OFF SNMP OFF
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=fcc02)(PORT=8080))(Presentation=HTTP)(Session=RAW))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=fcc02)(PORT=2100))(Presentation=FTP)(Session=RAW))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this
service...
Service "pts1.xyz.ca" has 3 instance(s).
Instance "pts1", status UNKNOWN, has 1 handler(s) for this service... Instance "pts1", status READY, has 1 handler(s) for this service... Instance "pts1", status READY, has 1 handler(s) for this service...Service "pts1XDB.xyz.ca" has 2 instance(s). Instance "pts1", status READY, has 1 handler(s) for this service... Instance "pts1", status READY, has 1 handler(s) for this service... The command completed successfully
LSNRCTL for Linux: Version 9.2.0.4.0 - Production on 30-AUG-2004 18:55:14
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=fcc02)(PORT=1531))) STATUS of the LISTENER
Alias LISTENER Version TNSLSNR for Linux: Version 9.2.0.4.0 - Production Start Date 28-AUG-2004 19:48:26 Uptime 1 days 23 hr. 6 min. 48 sec Trace Level off Security OFF SNMP OFF
TNSLSNR for Linux: Version 9.2.0.4.0 - Production on 28-AUG-2004 19:48:26
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
System parameter file is
/opt/oracle/product/ora904b/network/admin/listener.ora
Log messages written to /opt/oracle/product/ora904b/network/log/listener.log
Trace information written to
/opt/oracle/product/ora904b/network/trace/listener.trc
Trace level is currently 0
Started with pid=14135
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=fcc02)(PORT=1531)))
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
28-AUG-2004 19:48:26 *
(CONNECT_DATA=(CID=(PROGRAM=)(HOST=fcc02)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=153093
120)) * status * 0
28-AUG-2004 19:50:35 *
(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=PTS1.XYZ.CA)(CID=(PROGRAM=C:\oracle\ora92\bin\sqlplusw.exe
)(HOST=FCC001L)(USER=Hans))) *
(ADDRESS=(PROTOCOL=tcp)(HOST=?.?.?.88)(PORT=1177)) * establish *
PTS1.XYZ.CA * 0
28-AUG-2004 20:01:29 *
(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=PTS1.XYZ.CA)(CID=(PROGRAM=C:\oracle\ora92\bin\sqlplusw.exe
)(HOST=FCC001L)(USER=Hans))) *
(ADDRESS=(PROTOCOL=tcp)(HOST=?.?.?.88)(PORT=1182)) * establish *
PTS1.XYZ.CA * 0
30-AUG-2004 18:55:14 *
(CONNECT_DATA=(CID=(PROGRAM=)(HOST=fcc02)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=153093
120)) * status * 0
oracle_at_fcc02:/opt/oracle/product/ora904b/network/log>
Received on Mon Aug 30 2004 - 20:13:38 CDT