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 -> oraenv - what am i doing wrong?

oraenv - what am i doing wrong?

From: <kal121_at_my-deja.com>
Date: Fri, 08 Sep 2000 00:09:37 GMT
Message-ID: <8p9ani$vte$1@nnrp1.deja.com>

In my .bash_profile, I am calling "oraenv" because I have two instances on one box (dev1 and dev2) and want to be prompted for my ORACLE_SID.

This is what my oraenv entries look like in .bash_profile:

ORAENV_ASK=yes (I'm not sure I need this?) oraenv

I do not specify an ORACLE_SID anywhere in the file. I also have entries in oratab corresponding to the two different SIDs.

When I log on as the "oracle" user, it prompts me for the SID like this: ORACLE_SID = [oracle] ?

This does not look right to me. Anyways, what am I supposed to type here? Shouldn't it prompt me with the sid names, e.g.) dev1 and dev2? Well, regardless of what I type in here, it doesn't set the ORACLE_SID at all.

What am I doing wrong?

Thanks

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Thu Sep 07 2000 - 19:09:37 CDT

Original text of this message

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