Before installion I set the oracle's profile as follows

#----------------------
ORACLE_BASE=/u01/app/oracle
export ORACLE_BASE

ORACLE_HOME=$ORACLE_BASE/product/8.1.7
export ORACLE_HOME

PATH=$PATH:$ORACLE_HOME/bin:/usr/ccs/bin
export PATH

echo "The oracle 8i environment variables are set"
#---------------------

But when I login as oracle user I get the following error message

-sh : ORACLE_BASE not found
-sh : ORACLE_HOME not found

anyone has any ideas