RE: multiple Oracle Homes with one Listener 10g and 9i on solaris

  • From: <JayMiller@xxxxxxxxxxxxxxxx>
  • To: <joe_dba@xxxxxxxxxxx>, <paulastankus@xxxxxxxxx>, <oracle-l@xxxxxxxxxxxxx>
  • Date: Wed, 5 Apr 2006 12:50:47 -0400

If you are using a local client 10g then you will always be running 10g
SQL*Plus.  You can still use that to connect to your 9i instance (I'm
not clear on whether you are also having problems connecting to the 9i
instance or it's just the SQL*Plus version you are worried about?)

If you feel you really want to use 9i client then you will need to do a
separate 9i installation on your local workstation as well but what is
your reason for wanting to do so?




Jay Miller


-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] 
Sent: Wednesday, April 05, 2006 9:43 AM
To: paulastankus@xxxxxxxxx; oracle-l@xxxxxxxxxxxxx
Subject: Re: multiple Oracle Homes with one Listener 10g and 9i on
solaris

I did an Oracle Client install with the admin option from my desktop.  I
am 
connecting from my windows 2000 desktop to a sun server. I am running
Oracle 
client 10g from my desktop to connect.



SQL*Plus: Release 10.1.0.2.0 - Production on Wed Apr 5 08:16:43 2006 <=
this 
banner is from my client correct?

Copyright (c) 1982, 2004, Oracle.  All rights reserved.

SQL> connect system/user@10gdatabase
Connected.

Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit
Production
With the Partitioning, OLAP and Data Mining options

SQL> select * from v$version;

BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
PL/SQL Release 10.2.0.1.0 - Production
CORE    10.2.0.1.0      Production
TNS for Solaris: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production




SQL> connect system/user@9idatabase
Connected.
SQL> select * from v$version;

BANNER
----------------------------------------------------------------
Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
PL/SQL Release 9.2.0.6.0 - Production
CORE    9.2.0.6.0       Production
TNS for Solaris: Version 9.2.0.6.0 - Production
NLSRTL Version 9.2.0.6.0 - Production

thanks.


>You configure the listener to use the correct ORACLE_HOME on the 
>server-side (the database and network binaries), what version of the
client 
>you are running is handled through your path.  You need to ensure that
you 
>are using oraenv and setting your ORACLE_HOME correctly before using
the 
>client tools.  When you "echo $ORACLE_HOME" each time what do you get?
>
>   That would be the first place to start. :)
>
>Joe Smith <joe_dba@xxxxxxxxxxx> wrote:
>   I have a solaris 8 server with 2 oracle homes. One is 9.2.0.6.0 and
the
>other 10.2.0.1.0.
>When I go to my client (from my desk) and login with SQL*Plus I can't
get 
>it
>to use the "SQL*Plus Release 9i..." from the 9i instance.
>
>It wants to use the 10g version of sqlplus! How do I configure my
>listener.ora to use the 9i sqlplus
>with the 9i instance and the 10g sqlplus with the 10g instance?
>
>Below is the Listener.ora definition:
>
>[oracle@host] /apps/oracle/tns$ more listener.ora
># listener.ora Network Configuration File:
/apps/oracle/tns/listener.ora
># Generated by Oracle configuration tools.
>
>LISTENER =
>(DESCRIPTION_LIST =
>(DESCRIPTION =
>(ADDRESS = (PROTOCOL = TCP)(HOST = host)(PORT = port))
>(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
>)
>)
>
>SID_LIST_LISTENER =
>(SID_LIST =
>(SID_DESC =
>(SID_NAME = PLSExtProc)
>(ORACLE_HOME = /apps/oracle/product/10.2.0)
>(PROGRAM = extproc)
>)
>(SID_DESC =
>(ORACLE_HOME=/apps/oracle9i/product/9.2.0)
>(SID_NAME=orcl9i)
>)
>)
>
>
>Here is an example of me logging in from my client with sqlplus:
>
>
>SQL*Plus: Release 10.1.0.2.0 - Production on Tue Apr 4 15:48:57 2006
>
>Copyright (c) 1982, 2004, Oracle. All rights reserved.
>
>Connected to:
>Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
>With the Partitioning, OLAP and Oracle Data Mining options
>JServer Release 9.2.0.6.0 - Production
>
>SQL> select * from v$version;
>
>BANNER
>----------------------------------------------------------------
>Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
>PL/SQL Release 9.2.0.6.0 - Production
>CORE 9.2.0.6.0 Production
>TNS for Solaris: Version 9.2.0.6.0 - Production
>NLSRTL Version 9.2.0.6.0 - Production
>
>
>
>Any help is appreciated!
>
>_________________________________________________________________
>Don't just search. Find. Check out the new MSN Search!
>http://search.msn.click-url.com/go/onm00200636ave/direct/01/
>
>--
>//www.freelists.org/webpage/oracle-l
>
>
>
>
>
>---------------------------------
>Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great
rates 
>starting at 1&cent;/min.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's
FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

--
//www.freelists.org/webpage/oracle-l



-----------------------------------------
This message is confidential and sent by TD Waterhouse solely for
use by the intended recipient. If you are not the intended
recipient, you are hereby notified that any use, distribution or
copying of this communication is strictly prohibited. This should
not be deemed as an offer or solicitation, to buy or sell any
product. Any 3rd party information contained herein was prepared by
sources deemed reliable, but is not guaranteed. TD Waterhouse does
not accept electronic instructions that would require an original
signature. Information received by or sent from TD Waterhouse is
stored, subject to review, and may be produced to regulatory
authorities or others with a legal right to such.

--
//www.freelists.org/webpage/oracle-l


Other related posts: