LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-01-2009, 06:24 AM   #1
yuri16
Member
 
Registered: Jan 2009
Location: Philippines
Posts: 59

Rep: Reputation: 15
Question /bin/sh: toppred: command not found


I got that error when I'm trying to run the toppred program on a web portal.

/bin/sh: toppred: command not found

Why is that?
 
Old 07-01-2009, 06:49 AM   #2
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Rep: Reputation: 55
Quote:
Originally Posted by yuri16 View Post
I got that error when I'm trying to run the toppred program on a web portal.

/bin/sh: toppred: command not found

Why is that?
Can u please tell what was the command that u run..
 
Old 07-01-2009, 07:35 AM   #3
PMP
Member
 
Registered: Apr 2009
Location: ~
Distribution: RHEL, Fedora
Posts: 381

Rep: Reputation: 58
do

whereis toppred

use the absolute path given by this command.
 
Old 07-01-2009, 11:21 PM   #4
yuri16
Member
 
Registered: Jan 2009
Location: Philippines
Posts: 59

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by vinaytp View Post
Can u please tell what was the command that u run..
Actually, I'm running a job on a portal. Toppred is a bioinformatics program, I'm trying to run it here http://mobyle.pasteur.fr/cgi-bin/portal.py# so I can get a sequence analysis but got an error result.
 
Old 07-02-2009, 01:32 AM   #5
yuri16
Member
 
Registered: Jan 2009
Location: Philippines
Posts: 59

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by PMP View Post
do

whereis toppred

use the absolute path given by this command.
Code:
mobyle:~# whereis toppred
toppred: /usr/bin/toppred
 
Old 07-02-2009, 01:45 AM   #6
yuri16
Member
 
Registered: Jan 2009
Location: Philippines
Posts: 59

Original Poster
Rep: Reputation: 15
I copied the toppred file from /usr/bin to /bin/sh.
And when I tried to run the toppred again, I didn't got the error but I also didn't got the result for the toppred job.
 
Old 07-02-2009, 02:39 AM   #7
PMP
Member
 
Registered: Apr 2009
Location: ~
Distribution: RHEL, Fedora
Posts: 381

Rep: Reputation: 58
Whenever you are invoking toppred try invoking it with full parh like /usr/bin/toppred

or add the path in the path ENV of the user who is running the job
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/bin/sh: gcc: command not found muruganm Linux - Embedded & Single-board computer 2 07-03-2008 09:11 AM
/bin/sh: CC : command not found Pikidalto Linux - Software 7 05-11-2008 03:03 AM
/bin/bash: root: command not found pridefc Red Hat 5 12-12-2006 08:09 PM
/bin/sh: cmp: command not found - when compile 2.6.15 again . -=Graz=- Slackware 7 05-05-2006 09:39 PM
/bin/sh: anaconda-ks.cfg: command not found Buttercups Linux - General 1 08-07-2003 09:47 PM


All times are GMT -5. The time now is 12:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration