Home » Infrastructure » Linux » Error while runing .bash_profile (linux 2.6.9)
icon9.gif  Error while runing .bash_profile [message #348173] Mon, 15 September 2008 20:50 Go to next message
dasuwal
Messages: 6
Registered: September 2008
Junior Member
Hi Forum

I am a DBA, so not familiar much with System level stuff.

When I execute .bash_profile on my system, it executes successfully , but give a addtional response as follow:

[oracle@rac1host~]$. ./.bash_profile
bash: /home/oracle: is a directory

Please advice any way to avoid this message
(bash: /home/oracle: is a directory )

Thanks a lot in advance,
Raj.
Re: Error while runing .bash_profile [message #348175 is a reply to message #348173] Mon, 15 September 2008 21:15 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
http://www.orafaq.com/forum/t/88153/0/
Please read & FOLLOW the Posting Guidelines as stated in URL above

OK, you have a file & when you invoke it you get an error.
WHY, Why, why do you expect any assistance when you decided we should be able to debug a file when we can't see the contents??????????????

Would you be able to debug a file containing PL/SQL if I showed you only an error message?
icon13.gif  Re: Error while runing .bash_profile [message #348177 is a reply to message #348175] Mon, 15 September 2008 21:30 Go to previous messageGo to next message
dasuwal
Messages: 6
Registered: September 2008
Junior Member
Hi Anacedent

I think u missed the first rule

BE POLITE.......!!!!!!!!!!!!!!1

are you PISSED OFF your LIFE and decided to join this forum.

Below is the file: BUT i know u wont have any solution like mccain......
Smile
#.bash_profile

if [ -f ~/.bashrc ]; then
.~/.bashrc
fi

PATH=$PATH:$HOME/bin

export PATH
unset USERNAME

export ORACLE_BASE=/home/oracle/product
export ORACLE_HOME=$ORACLE_BASE/10.2.0
export ORA_CRS_HOME=$ORACLE_BASE/crs
Re: Error while runing .bash_profile [message #348179 is a reply to message #348177] Mon, 15 September 2008 21:33 Go to previous messageGo to next message
dasuwal
Messages: 6
Registered: September 2008
Junior Member
OHH I missed one more thing......

I CAN DEBUG THE PL/SQL FILE WIHOUT LOOKING AT FILE & JUST SIMPLY LOOKING AT ERROR CODE..............
Re: Error while runing .bash_profile [message #348213 is a reply to message #348177] Tue, 16 September 2008 01:01 Go to previous message
Michel Cadot
Messages: 68625
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
This question bears no connection with Oracle.
Please find a more appropriate forum.
The topic is locked.

Regards
Michel
Previous Topic: addlnctl.sh status clone
Next Topic: Semaphore process
Goto Forum:
  


Current Time: Thu Mar 28 23:45:49 CDT 2024