LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-29-2009, 01:33 PM   #1
djbon2112
LQ Newbie
 
Registered: Sep 2008
Posts: 24

Rep: Reputation: 15
Can't execute binary install file...


I downloaded the Unreal Tournament 3 Linux dedicated server, and I can't seem to install it. The installer file is a bin binary, the filename is:

Code:
UT3-linux-server-02202008.bin
I chmod a+x'd it, so it's executable:

Code:
localadmin@server-204:~$ ls -l UT3-linux-server-02202008.bin
-rwxr-xr-x 1 localadmin admin 259026312 Feb 22  2008 UT3-linux-server-02202008.bin
But when I go to execute it, I get the following:

Code:
localadmin@server-204:~$ ./UT3-linux-server-02202008.bin
-bash: ./UT3-linux-server-02202008.bin: No such file or directory
And trying to run it with sh (which has worked for me in the past for other applications) fails as well:

Code:
localadmin@server-204:~$ sh ./UT3-linux-server-02202008.bin
./UT3-linux-server-02202008.bin: 1: Syntax error: "(" unexpected
Running with an absolute path, sudo or as su root doesn't help, it just gives me a slightly different error. Ideas?

Last edited by djbon2112; 01-29-2009 at 01:35 PM.
 
Old 01-29-2009, 01:39 PM   #2
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
what do you get when you "file" it, i.e.

Code:
file UT3-linux-server-02202008.bin
it should tell you that it's some sort of executable. If it tells you otherwise, the file may be corrupt.
 
Old 01-29-2009, 03:19 PM   #3
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
-bash: ./UT3-linux-server-02202008.bin: No such file or directory
That's a serious error message when you have just ls -l'd it, apparently alright.

If I received that message, the first thing I'd do is fsck my filesystem.

Have you had an "unclean" shutdown recently?
 
Old 01-29-2009, 03:39 PM   #4
djbon2112
LQ Newbie
 
Registered: Sep 2008
Posts: 24

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by BrianK View Post
what do you get when you "file" it, i.e.

Code:
file UT3-linux-server-02202008.bin
it should tell you that it's some sort of executable. If it tells you otherwise, the file may be corrupt.
Code:
localadmin@server-204:~$ file UT3-linux-server-02202008.bin
UT3-linux-server-02202008.bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.4.18, dynamically linked (uses shared libs), stripped
So it seems like it is. HOWEVER, I'm running an amd64 system: could that be part of the problem?

I'm going to do a full fsck on my server when I get home in case that's the issue. It's inside a Xen DomU that this is happening, but everything both on the Dom0 and the other DomUs seems fine.
 
Old 01-29-2009, 03:49 PM   #5
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
UT3-linux-server-02202008.bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.4.18, dynamically linked (uses shared libs), stripped
This could be part of the problem (and why I'm staying away from 64-bit distros).

But fsck is worth running.

Quote:
It's inside a Xen DomU
Yet more layers of complexity.... Good luck!
 
Old 01-29-2009, 07:08 PM   #6
djbon2112
LQ Newbie
 
Registered: Sep 2008
Posts: 24

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by tredegar View Post
This could be part of the problem (and why I'm staying away from 64-bit distros).
Yea, this is the problem; just tried it on my laptop (8.10 x64) and the same error. Anyone know how to run a 32-bit bin in a 64-bit environment? This program isn't distributed in any other form that I can find so I'm stuck with this one...

EDIT: Well, I found my problem: I THOUGHT I had the ia32-libs installed, but apparently I didn't. Installed them and everything worked. Thanks guys!

Last edited by djbon2112; 01-29-2009 at 07:19 PM.
 
  


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
cannot execute binary file kenpeter Linux - Newbie 2 01-16-2008 07:01 PM
Cannot execute binary file Sigh Linux - Server 4 09-22-2006 07:43 AM
cannot execute binary file phanee Linux - Software 6 05-25-2006 01:16 PM
"cannot execute binary file" when install j2sdk jin007 Linux - Software 3 06-27-2005 02:05 PM
Cannot execute binary file Nooodle007 Linux - Software 2 06-25-2003 01:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:59 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
Open Source Consulting | Domain Registration