This discussion is archived
3 Replies Latest reply: Mar 12, 2013 4:25 AM by alvaromiranda RSS

sqlplus: not found oracle 11g

996050 Newbie
Currently Being Moderated
I have installed Oracle 11g on RHEL6.. on VM machine..
when i try to start sqlplus it says command not found..

[oracle@localhost ~]$ sqlplus
-bash: sqlplus: command not found

I have set the $ORACLE_HOME path aswell.. but still the issue persists.. some one please help me.

echo $ORACLE_HOME
/home/oracle/app/oracle/product/11.2.0

env command output...

[oracle@localhost ~]$ env
HOSTNAME=localhost.localdomain
SELINUX_ROLE_REQUESTED=
TERM=xterm
SHELL=/bin/bash
HISTSIZE=1000
SSH_CLIENT=192.168.75.1 2824 22
SELINUX_USE_CURRENT_RANGE=
OLDPWD=/home/oracle/app/oracle/product/11.2.0/dbhome_1
SSH_TTY=/dev/pts/0
USER=oracle
MAIL=/var/spool/mail/oracle
PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/oracle/bin
PWD=/home/oracle
LANG=en_US.UTF-8
SELINUX_LEVEL_REQUESTED=
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
HISTCONTROL=ignoredups
SHLVL=1
HOME=/home/oracle
LOGNAME=oracle
SSH_CONNECTION=192.168.75.1 2824 192.168.75.128 22
LESSOPEN=|/usr/bin/lesspipe.sh %s
ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0
G_BROKEN_FILENAMES=1
_=/bin/env

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points