Bash sqlplus command not found Oracle 10g linux v3
Posted on 2005-05-11
I have insatlled redhat linux v3 and oracle 10g. The insatllation seemed to go ok now I am trying to get sqlplus working but get the following error. Bash sqlplus command not found
I have added the following to .bash_profile, however When I do echo $ORACLE_HOME I get nothing returned, I had to run
the following as oracle user $export ORACLE_HOME=/product/oracle/10.1.0
Not sure why I had to run manually. Anyway I must be doing something wrong no sqlplus?
I have the following in home/oracle/.bash_profile
and I also ran them as Oracle user. I get $ /product/oracle/10.1.0 Am I missing something?
ORACLE_HOME=/product/oracle/10.1.0; export ORACLE_HOME ORACLE_BASE=/product/oracle/admin; export ORACLE_BASE LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/local/lib; export LD_LIBRARY_PATH PATH=$PATH:$ORACLE_HOME/bin; export PATH
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
# User specific environment and startup programs
#commet out below MAy10 2005