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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-29-2009, 01:33 PM
|
#1
|
LQ Newbie
Registered: Sep 2008
Posts: 24
Rep:
|
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.
|
|
|
01-29-2009, 01:39 PM
|
#2
|
Senior Member
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334
Rep:
|
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.
|
|
|
01-29-2009, 03:19 PM
|
#3
|
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,153
|
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?
|
|
|
01-29-2009, 03:39 PM
|
#4
|
LQ Newbie
Registered: Sep 2008
Posts: 24
Original Poster
Rep:
|
Quote:
Originally Posted by BrianK
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.
|
|
|
01-29-2009, 03:49 PM
|
#5
|
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,153
|
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.
Yet more layers of complexity..  .. Good luck!
|
|
|
01-29-2009, 07:08 PM
|
#6
|
LQ Newbie
Registered: Sep 2008
Posts: 24
Original Poster
Rep:
|
Quote:
Originally Posted by tredegar
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.
|
|
|
All times are GMT -5. The time now is 05:37 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|