Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: 2 Oralcle Environments, problem getting both listeners to work
This message was emailed to Chuck at
<379f2fca.880075591_at_client.sw.news.psi.net>...
>
Hi Chuck,
For what it's worth here is a listener.ora file we have running on a box with two instances (WG73 and SWDT)
316$ cat listener.ora
################################################################# ####### # Server: andor.hbsrx.com # Filename: ORACLE_HOME/network/admin/listener.ora # Note: built from the template file listener.ora.tmpl # Node: local.world # Date: 07/18/1997 ########################################################################
(ADDRESS= (COMMUNITY= TCP.world) (PROTOCOL= TCP) (Host = andor.hbsrx.com) (Port= 1521) ) (ADDRESS= (COMMUNITY= TCP.world) (PROTOCOL= TCP) (Host = andor.hbsrx.com) (Port= 1526) )
(SID_NAME = WG73) (ORACLE_HOME = /rx/app/oracle/wgs))
SWDT_LISTENER =
(ADDRESS_LIST =
(ADDRESS= (COMMUNITY= TCP.world) (Host = andor.hbsrx.com) (Port= 1522) ) (ADDRESS= (COMMUNITY= TCP.world) (PROTOCOL= TCP) (Host = andor.hbsrx.com) (Port= 1527) )
(SID_NAME = SWDT) (ORACLE_HOME = /rx/app/oracle/wgs))
We start the listeners separately using the commands:
lsnrctl start tcp_listener
lsnrctl start swdt_listener
regards
Jerry Gitomer
Chuck wrote in message
<379f2fca.880075591_at_client.sw.news.psi.net>...
>
>I have two separate Oracle installations on a single box and can
>run the listener fine in the first environment. (I have this one
>running on port 1520)
>
>The second envrionment gives me this error when trying the
following
>command:
>
>lsnrctl start
>TNS-01106:Listener using listener name LISTENER has already been
>started.
>
>In the listener.ora file in the 2nd environment, I changed the
>LISTENER to LISTENER2 and am also trying to use port
>1521.
>
>
>Any ideas?
>
>
>Thanks,
>CHuck
>
Received on Wed Jul 28 1999 - 11:56:19 CDT