Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Setting environment variables in terminal

809598Nov 8 2010 — edited Nov 9 2010
Hi All,

Im trying to set my oracle environment varibles in the linux terminal so that I can start up SQL plus.

What im trying to set seems to map to the directories on my system but im not able to run SQLplus.... maybe im missing somehting obvious?

Any ideas, terminal session follows:
[matt@localhost ~]$ export ORACLE_BASE=/u01/app/oracle
[matt@localhost ~]$ export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
[matt@localhost ~]$ export ORACLE_SID=orcl
[matt@localhost ~]$ export LD_LIBRARY_PATH=$ORACLE_HOME/lib
[matt@localhost ~]$ export PATH=$ORACLE_HOME/bin:$PATH
[matt@localhost ~]$ export EDITOR=/usr/bin/vi
[matt@localhost ~]$ sqlplus /nolog
bash: sqlplus: command not found
This post has been answered by AliD on Nov 8 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 7 2010
Added on Nov 8 2010
4 comments
399 views