Minecraft-Nintendo-Switch-Private-Server icon indicating copy to clipboard operation
Minecraft-Nintendo-Switch-Private-Server copied to clipboard

"exec format error" when starting bedrock server

Open crazy888 opened this issue 5 years ago • 6 comments

Starting the minecraft server brings this error:


Starting minecraft_mc_1 ... done                                                                                        Attaching to minecraft_mc_1
mc_1  | standard_init_linux.go:211: exec user process caused "exec format error"
minecraft_mc_1 exited with code 1

Don´t know much about docker ...... Docker is running on a windows 10 pc.

crazy888 avatar Nov 09 '19 11:11 crazy888

I have the same problem. After running minecraft server following happens:

Attaching to minecraft_mc_1 mc_1 | standard_init_linux.go:211: exec user process caused "exec format error" minecraft_mc_1 exited with code 1

I have absolutely no knowledge about docker.

Edit: forgot to mention, running docker on W10

BlaX722 avatar Nov 25 '19 17:11 BlaX722

Hey folks. Thanks for raising the issue. I got my hands on a windows 10 machine and am experiencing the same. The problem has to do with the underlying architecture of our machines. I'll have to look to see if I can fix this, but no promises....

ConnorGraham avatar Jan 08 '20 22:01 ConnorGraham

Hello, I have the same issue but under CentOS 7.7 :

docker-compose up Recreating minecraft_mc_1 ... done Attaching to minecraft_mc_1 mc_1 | standard_init_linux.go:211: exec user process caused "exec format error" minecraft_mc_1 exited with code 1

If somebody can help me :-)

kueisaho avatar Apr 02 '20 14:04 kueisaho

Any progress on this? My issue isn't quite the same, but it appears that running this in a VM on W10 will be a problem?

Orilante avatar Apr 25 '20 22:04 Orilante

Getting the same issue on Ubuntu

uzarubin avatar Aug 06 '20 02:08 uzarubin

You can fix this by using a third-party minecraft server docker image, instead of the one bundled into this repo.

eg.

docker run -d \
  -e EULA=TRUE -e ONLINE_MODE=false \
  -p 19132:19132/udp -p 19133:19133/udp \
  itzg/minecraft-bedrock-server

See PR #8

eschwartz avatar Nov 28 '20 21:11 eschwartz