Cannot execute binary file | Unix Linux Forums | Linux

  Go Back    


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

Cannot execute binary file

Linux


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 09-13-2011
pots06 pots06 is offline
Registered User
 
Join Date: Sep 2011
Last Activity: 14 September 2011, 9:24 AM EDT
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Question Cannot execute binary file

I'm trying to install JasperReports Server 4.1 on Linux Ubuntu (release 11.04) as root and have following message:
-bash: ./jasperreports-server-cp-4.1.0-linux-x64-installer.run: cannot execute binary file


Is any idea what should I do in order to install Jasper?
Previously, I installed JasperReports Server 4.0 on Linux Red Hat without any problem. Is it related specifically to Linux Ubuntu?
Sponsored Links
    #2  
Old 09-13-2011
pludi's Avatar
pludi pludi is offline Forum Advisor  
Cat herder
 
Join Date: Dec 2008
Last Activity: 28 March 2014, 8:35 AM EDT
Location: Vienna, Austria, Earth
Posts: 5,522
Thanks: 38
Thanked 335 Times in 308 Posts
Could you post the output of these commands?
Code:
uname -a
file jasperreports-server-cp-4.1.0-linux-x64-installer.run
ldd -r jasperreports-server-cp-4.1.0-linux-x64-installer.run

Sponsored Links
    #3  
Old 09-13-2011
pots06 pots06 is offline
Registered User
 
Join Date: Sep 2011
Last Activity: 14 September 2011, 9:24 AM EDT
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Question Cannot execute binary file

Here are outputs for commands:
# uname -a
Linux 64-cncrclinrpts 2.6.38-11-generic-pae #48-Ubuntu SMP Fri Jul 29 20:51:21 UTC 2011 i686 i686 i386 GNU/Linux

# file jasperreports-server-cp-4.1.0-linux-x64-installer.run
jasperreports-server-cp-4.1.0-linux-x64-installer.run: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.4.0, stripped

# ldd -r jasperreports-server-cp-4.1.0-linux-x64-installer.run
not a dynamic executable
    #4  
Old 09-13-2011
mark54g mark54g is offline Forum Advisor  
Registered User
 
Join Date: May 2008
Last Activity: 26 July 2013, 11:43 AM EDT
Location: Northeastern United States
Posts: 918
Thanks: 1
Thanked 61 Times in 58 Posts
have you tried actually setting the execute bit for the file?
Sponsored Links
    #5  
Old 09-13-2011
pots06 pots06 is offline
Registered User
 
Join Date: Sep 2011
Last Activity: 14 September 2011, 9:24 AM EDT
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Question Cannot execute binary file

The mode is 755:
-rwxr-xr-x 1 root root 329844862 2011-09-09 09:11 jasperreports-server-cp-4.1.0-linux-x64-installer.run
Sponsored Links
    #6  
Old 09-13-2011
alister alister is offline
Registered User
 
Join Date: Dec 2009
Last Activity: 11 June 2014, 8:40 PM EDT
Posts: 3,231
Thanks: 179
Thanked 973 Times in 789 Posts
Quote:
Originally Posted by pots06 View Post
Here are outputs for commands:
# uname -a
Linux 64-cncrclinrpts 2.6.38-11-generic-pae #48-Ubuntu SMP Fri Jul 29 20:51:21 UTC 2011 i686 i686 i386 GNU/Linux

# file jasperreports-server-cp-4.1.0-linux-x64-installer.run
jasperreports-server-cp-4.1.0-linux-x64-installer.run: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.4.0, stripped
Looks like you are trying to run a 64-bit x86-64 binary on a 32-bit i386 system.

Regards,
Alister
Sponsored Links
    #7  
Old 09-14-2011
pots06 pots06 is offline
Registered User
 
Join Date: Sep 2011
Last Activity: 14 September 2011, 9:24 AM EDT
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
MySQL Cannot execute binary file

Thank you to all.
Thank you Alister.
I've tried to install 64-bit file edition on 32-bit Kernel system and that's caused a problem.
I successfully installed 32-bit edition.
Best Regards.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Cannot execute binary file SmithJ UNIX for Dummies Questions & Answers 6 09-28-2010 08:09 AM
cannot execute binary file MarieM UNIX for Dummies Questions & Answers 3 06-14-2010 03:50 AM
can not execute binary file Anu10 SuSE 1 07-30-2009 02:36 AM
cannot execute binary file bhag281 Shell Programming and Scripting 4 03-23-2009 06:38 AM
cannot execute binary file durgaprasadr13 Linux 2 10-16-2008 10:29 AM



All times are GMT -4. The time now is 04:31 PM.