Command Not Found Error?

  • praswer
  • Born
  • Born
  • praswer
  • Posts: 3

Post 3+ Months Ago

Hi,
I am beginer to Linux. I have installed Redhat Linux AS 4.0 on my System.Later I created a User Oracle10g for Installing Oracle.Then I logged onto Oracle10g user and crated a Bash Profile and when I run that profile there was an error in that Profile. from then If I type any of Linux Command like LS, PWD etc i am getting an error like Command not found.
So Please help me out with this. I will be very greateful to you..
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Posts: 9101
  • Loc: Seattle, WA & Phoenix, AZ

Post 3+ Months Ago

I am curious. Are you typing those command in capital letters like you did in the post? It is case sensitive so you need to type it lowercase like ls and pwd, not LS and PWD.
  • praswer
  • Born
  • Born
  • praswer
  • Posts: 3

Post 3+ Months Ago

Just for Understanding I have mentioned it in Capital Letters.I have typed those letters only in Lower Case.. Is there any possiblity of getting my problem solved..
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6254
  • Loc: Seattle, WA

Post 3+ Months Ago

Post the contents of your bash profile and the error that you're getting.
  • praswer
  • Born
  • Born
  • praswer
  • Posts: 3

Post 3+ Months Ago

Hi,
Thank you for you reply.. here is the bash Profile Details under User Oracle10g

export ORACLE_SID=ORCL
export ORACLE_HOME=/oraeng/app/oracle/product/10.2.0
export LD_LIBRARY_PATH=$ORACLE_HOME/lib,/usr/ucblib,/usr/openwin/lin
export PATH =$ORACLE_HOME/bin:/bin:/usr/bin:/usr/ccs/bin:/usr/ucb/bin:$PATH:.
export CLASS_PATH=$ORACLE_HOME/jlib

When I ran this profile, I got an error saying the error in bash profile.
and Later when I tried to edit profile using vi or use other Commands, I am getting an error like command not found.
But All command worked very fine when I logged in as Root user..

Thank you in advance...
  • SouthoKB
  • Born
  • Born
  • SouthoKB
  • Posts: 1

Post 3+ Months Ago

When logged in as your new user what is the output of the following

echo $PATH
  • gamekiller
  • Graduate
  • Graduate
  • gamekiller
  • Posts: 101
  • Loc: above the chair

Post 3+ Months Ago

how about using which command?
i.e
#which pwd or #which ls
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2521
  • Loc: /usr/src/MI

Post 3+ Months Ago

does the su command work when logged in as that user?
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

is it possible the user and the group they are assigned to are non-privileged? That is they do not have the capability to run basic unix commands?

Can you cd to /usr/bin? Wait are you trying to run these commands from the sql command line interface? Or from the unix command line?

Post Information

  • Total Posts in this topic: 9 posts
  • Users browsing this forum: No registered users and 9 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.