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!

-bash: sqlplus: command not found UNIX

user3636719Aug 18 2010 — edited Aug 18 2010
I have just installed oracle database on unix.
Here is my .profile
[oracle@sam ~]$ cat .profile
XAUTHORITY=/root/.xauthcy2rR4
DISPLAY=:0.0
ORACLE_HOME=/u01/oracle/10g/PROD
export ORACLE_HOME
PATH=$ORACLE_HOME/bin:$PATH
export PATH LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/network/lib
TNS_ADMIN=$ORACLE_HOME/network/admin
ORACLE_SID=PROD
export LD_LIBRARY_PATH export TNS_ADMIN export DISPLAY export XAUTHORITY
export ORACLE_SID
env | grep $ORACLE_HOME
env | grep $ORACLE_SID
uname -a
I have ran it doing
[oracle@sam ~]$ . .profile
LD_LIBRARY_PATH=/u01/oracle/10g/PROD/lib:/u01/oracle/10g/PROD/network/lib
TNS_ADMIN=/u01/oracle/10g/PROD/network/admin
PATH=/u01/oracle/10g/PROD/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin
ORACLE_HOME=/u01/oracle/10g/PROD
LD_LIBRARY_PATH=/u01/oracle/10g/PROD/lib:/u01/oracle/10g/PROD/network/lib
ORACLE_SID=PROD
TNS_ADMIN=/u01/oracle/10g/PROD/network/admin
PATH=/u01/oracle/10g/PROD/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin
ORACLE_HOME=/u01/oracle/10g/PROD
Linux sam 2.6.9-42.0.0.0.1.ELsmp #1 SMP Sun Oct 15 14:02:40 PDT 2006 i686 i686 i386 GNU/Linux
When I do
[oracle@sam ~]$ sqlplus / as sysdba
-bash: sqlplus: command not found
Can some one help me here. Please let me know if you need any other information, I will have it posted.

Thanks for the help.

-Sam
This post has been answered by sb92075 on Aug 18 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 15 2010
Added on Aug 18 2010
16 comments
9,362 views