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!

Warning message appears at that time of LOGIN

JhilMar 23 2017 — edited Mar 28 2017

Hi,

When i login as 'oracle' userĀ  or execution of .bash_profile , i am getting following warning message.

How do i remove this error ?

# su - oracle

-bash: /home/oracle: is a directory

-bash: /home/oracle: is a directory

[oracle@SERVER1 ~]$ cat .bash_profile

# .bash_profile

# Get the aliases and functions

if [ -f ~/.bashrc ]; then

. ~/.bashrc

fi

# User specific environment and startup programs

export ORACLE_BASE=/u01/app/oracle

export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib

export PATH=$ORACLE_HOME/bin:$PATH

export EDITOR=vi

#. oraenv

$ . .bash_profile

-bash: /home/oracle: is a directory

-bash: /home/oracle: is a directory

This post has been answered by Dejan T. on Mar 27 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 25 2017
Added on Mar 23 2017
21 comments
3,948 views