Home » Infrastructure » Linux » Setting oraenv (10g R1,Linux)
Setting oraenv [message #284740] Fri, 30 November 2007 14:49 Go to next message
gkrishn
Messages: 506
Registered: December 2005
Location: Putty a dark screen
Senior Member
After database creation, i set following values in $HOME/.bash_profile file


ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/OraHome_1; export ORACLE_HOME
ORACLE_SID=orcl; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM

i re-loggedin and issued

[oracle@kitcomp ~]$ . oraenv
ORACLE_SID = [orcl] ?
ORACLE_HOME = [/home/oracle] ?

its picking SID correctly, why its not picking ORACLE_HOME automaticaly ?I did echo $ORACLE_HOME ,its gives correst result but.
Can someone please assist ?
Re: Setting oraenv [message #284744 is a reply to message #284740] Fri, 30 November 2007 15:03 Go to previous message
Michel Cadot
Messages: 68637
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Because you didn't correctly fill /etc/oratab.
Just read the content of oraenv and you will know what it does and what it is searcing for.

Regards
Michel
Previous Topic: Oracle 10g R1 on Oracle Enterprise linux
Next Topic: User Password Changed
Goto Forum:
  


Current Time: Tue Apr 16 12:59:34 CDT 2024