Skip to Main Content

Infrastructure Software

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!

Receiving command not found after modifying .bash_profile in OEL 5.6 64 bits

ClamarionNov 25 2013 — edited Nov 29 2013

Hi guys,


After the installation of Oracle Database 11gR2 on OEL 5.6, I added the following entries into the .bash_profile of the oracle user:


# Oracle Settings

TMP=/tmp; export TMP

TMPDIR=$TMP; export TMPDIR

ORACLE_HOSTNAME=ol5-112.localdomain; export ORACLE_HOSTNAME

ORACLE_UNQNAME=DB11G; export ORACLE_UNQNAME

ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE

ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1; export ORACLE_HOME

ORACLE_SID=DB11G; export ORACLE_SID

PATH=/usr/sbin:$PATH; export PATH

PATH=$ORACLE_HOME/bin:$PATH; export PATH

LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH

CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH

# I added my own values relative to my environment.

But now, when I tried to login as the oracle user on my terminal, I received the following error:


command not found

command not found

So I deleted all the entries I added to the .bash_profile file. But it didn't solve the problem. When I log in as oracle, I still receive the error:

command not found

command not found


This is really weird. How can I do to solve this error?

Thanks in advance

Clamarion.



This post has been answered by Clamarion on Nov 29 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 27 2013
Added on Nov 25 2013
3 comments
2,225 views