LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-20-2011, 05:48 AM   #1
kumar Saurabh
LQ Newbie
 
Registered: Jun 2011
Location: Camerino
Distribution: 2.6.35-22-generic #33-Ubuntu SMP
Posts: 19

Rep: Reputation: Disabled
Error; Cannot execute binary file


Hi,

I am using linux(Linux raghul-laptop 2.6.32-31-generic #61-Ubuntu SMP Fri Apr 8 18:24:35 UTC 2011 i686 GNU/Linux)and I just installed a BLAST standalone module in my system. I follwed the steps available here: http://www.ncbi.nlm.nih.gov/staff/ta...nix_setup.html

While running the program I get the follwoing error...

raghul@raghul-laptop:/$ /home/raghul/ncbi-blast-2.2.25+/bin/blastn -help
bash: /home/raghul/ncbi-blast-2.2.25+/bin/blastn: cannot execute binary file

Can anyone tell me what I am missing here....????

Thanks
 
Old 06-20-2011, 05:49 AM   #2
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339

Rep: Reputation: 260Reputation: 260Reputation: 260
What is:
Code:
$ file /home/raghul/ncbi-blast-2.2.25+/bin/blastn
saying?
 
Old 06-20-2011, 06:29 AM   #3
kumar Saurabh
LQ Newbie
 
Registered: Jun 2011
Location: Camerino
Distribution: 2.6.35-22-generic #33-Ubuntu SMP
Posts: 19

Original Poster
Rep: Reputation: Disabled
follwed and got the following messages.....

raghul@raghul-laptop:/$ file /home/raghul/ncbi-blast-2.2.25+/bin/blastn
/home/raghul/ncbi-blast-2.2.25+/bin/blastn: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.4.1, stripped
raghul@raghul-laptop:/$ file /home/raghul/ncbi-blast-2.2.25+/bin/blastn -help
Usage: file [-bcikLhnNrsvz0] [-e test] [-f namefile] [-F separator] [-m magicfiles] file...
file -C -m magicfiles
Try `file --help' for more information.




Quote:
Originally Posted by Reuti View Post
What is:
Code:
$ file /home/raghul/ncbi-blast-2.2.25+/bin/blastn
saying?
 
Old 06-20-2011, 06:33 AM   #4
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339

Rep: Reputation: 260Reputation: 260Reputation: 260
Looks like you have a 32 bit kernel and a 64 bit binary. You will have to install the 32 bit version.
 
Old 06-20-2011, 06:47 AM   #5
kumar Saurabh
LQ Newbie
 
Registered: Jun 2011
Location: Camerino
Distribution: 2.6.35-22-generic #33-Ubuntu SMP
Posts: 19

Original Poster
Rep: Reputation: Disabled
I guess you picked up rightly....here is the configurtaion...

Linux raghul-laptop 2.6.32-31-generic #61-Ubuntu SMP Fri Apr 8 18:24:35 UTC 2011 i686 GNU/Linux

i686 means 32 bit right???

how could I upgrade the kernel?? is it a complicated process?

I checked and it says i have to install the kernel again...and If I do it what about my windows partition. Do I need to take a beckup...or repeat the whole process again???

I am sorry for all this question which I just blasted on you...i am new to linux...!!!

Thanks for your replies so far..witing for the same...

ciao

Quote:
Originally Posted by Reuti View Post
Looks like you have a 32 bit kernel and a 64 bit binary. You will have to install the 32 bit version.
 
Old 06-20-2011, 06:53 AM   #6
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339

Rep: Reputation: 260Reputation: 260Reputation: 260
You can’t just upgrade the kernel, as you would have to upgrade all tools of the OS too, which means in the essence to reinstall Linux. What about installing the 32 bit version of the blastn application?
 
Old 06-20-2011, 07:01 AM   #7
kumar Saurabh
LQ Newbie
 
Registered: Jun 2011
Location: Camerino
Distribution: 2.6.35-22-generic #33-Ubuntu SMP
Posts: 19

Original Poster
Rep: Reputation: Disabled
Nice Idea...

I will try the 32 bit version of BLAST...

Quote:
Originally Posted by Reuti View Post
You can’t just upgrade the kernel, as you would have to upgrade all tools of the OS too, which means in the essence to reinstall Linux. What about installing the 32 bit version of the blastn application?
 
Old 06-20-2011, 07:03 AM   #8
kumar Saurabh
LQ Newbie
 
Registered: Jun 2011
Location: Camerino
Distribution: 2.6.35-22-generic #33-Ubuntu SMP
Posts: 19

Original Poster
Rep: Reputation: Disabled
The only hitch is ...I dont know how to uninstall previous version from the system...i tried with syneptic manager/software centre..but all in vein..so if you can tell how to uninstall the previous install version from terminal..I will proceed with installing the 32 bit BLAST version...



Quote:
Originally Posted by kumar Saurabh View Post
Nice Idea...

I will try the 32 bit version of BLAST...
 
Old 06-20-2011, 07:12 AM   #9
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339

Rep: Reputation: 260Reputation: 260Reputation: 260
If you only untar the archive you can get rid of it by just removing it again:
Code:
$ rm -rf /home/raghul/ncbi-blast-2.2.25+
Note that will remove the complete ncbi-blast-2.2.25+ directory.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
make with make file yields error: /usr/bin/javac: cannot execute binary file bweaver Ubuntu 4 11-19-2010 02:58 PM
getting error 'cannot execute binary file' kapilbajpai88 Linux - Newbie 15 09-20-2010 06:00 AM
unable to run c program , error : cannot execute binary file soni_silver17 Linux - Software 4 03-30-2009 08:45 AM
GCC compilation returns a "cannot execute binary file" error Antongarou Linux - Newbie 13 01-03-2009 07:28 PM
While installing informix-SE 7.0 it gives error as cannot execute binary file sp2797 Linux - Server 1 09-07-2006 09:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:27 AM.

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
Open Source Consulting | Domain Registration