sqlplus: Command not found

Sympton

Whenever you are trying to connect to SQL*, you are receiving this error.

> sqlplus "/as sysdba"
sqlplus: Command not found.

Caused

1. The environment variables is not set.
2. You logged into the wrong system. Some company configured their database system into separate hosts.

Solution

1. Set the environment variables.

# export ORACLE_HOME=<YOUR-ORACLE-HOME>
# export PATH=$ORACLE_HOME/bin:$PATH

2. Check the configured environment variables

# echo $PATH
# $ORACLE_HOME

You May Also Like

1 Comment

  1. Thanks for that tip.
    Apparently I messed up my path in the environment variables but after reading this I got it right

Leave a Reply?