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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: oraenv and ASM instance

RE: oraenv and ASM instance

From: Adrian <ade.turner_at_gmail.com>
Date: Fri, 10 Aug 2007 19:12:47 +0100
Message-ID: <46bcaa9e.01b2420a.41ed.ffffa3d5@mx.google.com>


Platform dependant - doesn't work on AIX, does on Linux / Solaris I believe. Anyone know about HPUX?  


From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of LS Cheng
Sent: 10 August 2007 16:47
To: tony_at_sequeira.org.uk
Cc: oracle-l_at_freelists.org
Subject: Re: oraenv and ASM instance  

strange it always worked for me, what OS is it?  

--

LSC   On 8/10/07, S. Anthony Sequeira <tony_at_sequeira.org.uk> wrote:

Hi,

Something that has been bothering me for a while. I know it's no biggie, just a bit of a pain.

I cannot use oraenv to change the default instance to the +ASM instance, I haven't the time to go through and fix the script, just wondering whether anyone has done so.

$ cat /var/opt/oracle/oratab
+ASM:/u01/app/oracle/product/10.2.0/ASM:Y testbed:/u01/app/oracle/product/10.2.0/Db_1:Y mpnfdb:/u01/app/oracle/product/8.1.7:N
*:/u01/app/oracle/product/9.2.0:N
$ . oraenv
ORACLE_SID = [tsequeira] ? +ASM
ORACLE_HOME = [/export/home/oracle] ?
$ . oraenv
ORACLE_SID = [+ASM] ? '+ASM'
ORACLE_HOME = [/export/home/oracle] ?
$ . oraenv
ORACLE_SID = ['+ASM'] ? "+ASM"
ORACLE_HOME = [/export/home/oracle] ?
$ . oraenv
ORACLE_SID = ["+ASM"] ? \+ASM
ORACLE_HOME = [/export/home/oracle] ?
$
--

Tony

--

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

--

http://www.freelists.org/webpage/oracle-l Received on Fri Aug 10 2007 - 13:12:47 CDT

Original text of this message

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