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: Two different Oracle versions on one server?

Re: Two different Oracle versions on one server?

From: Anton Buijs <aammbuijs_at_xs4all.nl>
Date: Sun, 18 Aug 2002 22:27:46 +0200
Message-ID: <ajovsh$22b$1@news1.xs4all.nl>


On second thought. The stuff with the environment variables is needed after the installation.
With the 8.1.7 environment defined it may be easier to start the already installed OracleInstaller
But you need it to easily and savely switch between the environments.

Anton Buijs <aammbuijs_at_xs4all.nl> schreef in berichtnieuws ajoufj$t67$1_at_news1.xs4all.nl...
| Add a new line to /var/opt/oracle/oratab, temporarely use a dummy Oracle
sid
| and let it point to the new Oracle home to be installed.
| Use oraenv script to set the environment by specifying that dummy sid.
| Check all your environment variables. None should include the old Oracle
| home.
| Most important variables are PATH, LD_LIBRARY_PATH, ORA_NLS33, because
| oraenv only takes care of the PATH variable. If core dumps occur just by
| starting sqlplus or so, you did not do this part properly.
| Now you can start the OraInstaller and install softare in another home
|
| It is because of these situations, I never never want to see lines like
| ORACLE_HOME=/oracle/product/817
| PATH=$ORACLE_HOME/bin;$PATH
| in shell scripts because then you are in trouble.
| I believe that Oracle's script oraenv does an incomplete job
unfortunately.
| So write your own, complete script but use the trick of oraenv to remove
the
| old ORACLE_HOME/bin from the PATH and include the new one for
| LD_LIBRARY_PATH etc...
|
| Rick Denoire <100.17706_at_germanynet.de> schreef in berichtnieuws
| 0duvlugjepf2v6eliv9v9nm0ngq2js8vs3_at_4ax.com...
| | "Anton Buijs" <aammbuijs_at_xs4all.nl> wrote:
| |
| | >Please first specify the platform you are running on before the
"gotchas"
| | >can be told.
| | >(Oracle version(s) and platform(s) should always be stated when posting
| this
| | >newsgroup)
| | >
| |
| | Oh sorry!
| |
| | Oracle 8.1.7 / Solaris 2.7 /Sun E3500
| |
| | Bye
| | Rick
|
Received on Sun Aug 18 2002 - 15:27:46 CDT

Original text of this message

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