Problem launching the server

The custom C++ server (mc.ae-c.net:7777)
GO HERE INSTEAD -> http://forum.mc-server.org/

Moderator: FakeTruth

Locked
AtomFusion
Posts: 3
Joined: Sun Feb 06, 2011 8:55 pm
Minecraft IGN: AtomFusion

Problem launching the server

Post by AtomFusion » Sun Feb 06, 2011 9:03 pm

I'm trying to launch MCServer on an Ubuntu 10.04 LTS (Also tried 10.10 and Fedora 10) instance. Every time I run ./MCServer, I get the message "-bash: ./MCServer: No such file or directory" even though I can see it in ls and can interact with it via chmod, chown, and file.

Out of all the years I've administered Linux boxes, this is the first time such a peculiar event has happened. Thoughts?

BenPhelps
Posts: 2
Joined: Sat Jan 22, 2011 2:52 am
Minecraft IGN: benphelps

Re: Problem launching the server

Post by BenPhelps » Mon Feb 07, 2011 1:02 am

Make sure it is executable.

Code: Select all

chmod +x MCServer


If that doesn't work do this and paste the output.

Code: Select all

whoami
stat MCServer
uname -a

User avatar
FakeTruth
Site Admin
Posts: 1802
Joined: Tue Oct 26, 2010 10:29 pm
Minecraft IGN: FakeTruth

Re: Problem launching the server

Post by FakeTruth » Mon Feb 07, 2011 1:14 am

Since you 're using Ubuntu, try this?

Image
Image

AtomFusion
Posts: 3
Joined: Sun Feb 06, 2011 8:55 pm
Minecraft IGN: AtomFusion

Re: Problem launching the server

Post by AtomFusion » Mon Feb 07, 2011 10:23 pm

First off, I'm running this on an EC2 instance, eg. No GUI. I've reported the problem to the Ubuntu EC2 team, as it occurs that your software happens to have some property that makes it invisible on the Ubuntu EC2 filesystem.

I started another Fedora 32-bit instance and it runs swimmingly. I hope either you or the Ubuntu EC2 team get the problem fixed fairly soon.

User avatar
FakeTruth
Site Admin
Posts: 1802
Joined: Tue Oct 26, 2010 10:29 pm
Minecraft IGN: FakeTruth

Re: Problem launching the server

Post by FakeTruth » Mon Feb 07, 2011 10:58 pm

I reaallly have no clue... don't know much about Linux
Image

AtomFusion
Posts: 3
Joined: Sun Feb 06, 2011 8:55 pm
Minecraft IGN: AtomFusion

Re: Problem launching the server

Post by AtomFusion » Mon Feb 07, 2011 11:26 pm

Can't blame ya. Linux isn't my first target for software either.

Anyways, it looks like a bug in the EC2 Userland, and the Ubuntu devs should have it fixed in the next image release. I hope that happens, because I'd love to run it alongside my webserver as opposed to its own instance, since the footprint is so amazingly low. Bravo on the resource-efficiency of it, sir.

magnifikus
Posts: 2
Joined: Thu Feb 10, 2011 6:18 pm

Re: Problem launching the server

Post by magnifikus » Thu Feb 10, 2011 6:22 pm

same problem on debian here:

./MCServer
-sh: ./MCServer: No such file or directory

ldd MCServer
not a dynamic executable

stat MCServer
File: `MCServer'
Size: 811565 Blocks: 1600 IO Block: 4096 regular file
Device: 902h/2306d Inode: 22495927 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 1000/ moritz) Gid: ( 1000/ moritz)
Access: 2011-02-10 19:24:53.000000000 +0100
Modify: 2011-02-07 01:06:32.000000000 +0100
Change: 2011-02-10 18:58:45.000000000 +0100



uname -a
Linux nm2 2.6.26-2-amd64 #1 SMP Wed May 12 18:03:14 UTC 2010 x86_64 GNU/Linux


dunno if this says something:

ld MCServer
ld: i386 architecture of input file `MCServer' is incompatible with i386:x86-64 output
ld: error in MCServer(.eh_frame); no .eh_frame_hdr table will be created.



its x64 linux

magnifikus
Posts: 2
Joined: Thu Feb 10, 2011 6:18 pm

Re: Problem launching the server

Post by magnifikus » Thu Feb 10, 2011 6:40 pm

MCServer: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped

says file, so its definitly not x64 like stated on the homepage :D

User avatar
FakeTruth
Site Admin
Posts: 1802
Joined: Tue Oct 26, 2010 10:29 pm
Minecraft IGN: FakeTruth

Re: Problem launching the server

Post by FakeTruth » Fri Feb 11, 2011 1:24 am

You can't run 32bit binaries on 64bit Linux? :?
Image

Locked

Who is online

Users browsing this forum: No registered users and 1 guest