When I run the command docker-compose up after building successfully I get the error:
master_1 | bash: ./MasterServer: cannot execute binary file: Exec format error
I'm trying to setup this Pwn Adventure 3 server on a Raspberry Pi 4 with 4GB of RAM.
I of course looked at the internet for answers and what I found out was that you apparently can't run the Pwn Server on the RPi's ARM64 architecture?
Is there no way to run the server successfully on RPi?
Here is the whole output:
pwn3@ubuntu:~/PwnAdventure3$ docker-compose up Creating pwnadventure3_init_1 ... done Creating pwnadventure3_master_1 ... done Creating pwnadventure3_game_1 ... done Attaching to pwnadventure3_init_1, pwnadventure3_master_1, pwnadventure3_game_1 pwnadventure3_init_1 exited with code 0 master_1 | * Starting PostgreSQL 9.3 database server game_1 | bash: ./PwnAdventure3Server: cannot execute binary file: Exec format error pwnadventure3_game_1 exited with code 126 master_1 | ...done. master_1 | CREATE ROLE master_1 | CREATE DATABASE master_1 | GRANT master_1 | rm: cannot remove '/opt/pwn3/client/PwnAdventure3_Data/PwnAdventure3/PwnAdventure3/Saved/Logs/*': No such file or directory master_1 | No backup data found! master_1 | psql:/opt/pwn3/initdb.sql:1: NOTICE: table "users" does not exist, skipping master_1 | DROP TABLE master_1 | DROP TABLE master_1 | DROP TABLE master_1 | DROP TABLE master_1 | psql:/opt/pwn3/initdb.sql:2: NOTICE: table "teams" does not exist, skipping master_1 | psql:/opt/pwn3/initdb.sql:3: NOTICE: table "team_state" does not exist, skipping master_1 | DROP TABLE master_1 | psql:/opt/pwn3/initdb.sql:4: NOTICE: table "characters" does not exist, skipping master_1 | psql:/opt/pwn3/initdb.sql:5: NOTICE: table "char_items" does not exist, skipping master_1 | psql:/opt/pwn3/initdb.sql:6: NOTICE: table "char_slots" does not exist, skipping master_1 | DROP TABLE master_1 | psql:/opt/pwn3/initdb.sql:7: NOTICE: table "char_quests" does not exist, skipping master_1 | DROP TABLE master_1 | psql:/opt/pwn3/initdb.sql:8: NOTICE: table "char_pickups" does not exist, skipping master_1 | DROP TABLE master_1 | psql:/opt/pwn3/initdb.sql:9: NOTICE: table "names" does not exist, skipping master_1 | DROP TABLE master_1 | psql:/opt/pwn3/initdb.sql:10: NOTICE: table "info" does not exist, skipping master_1 | DROP TABLE master_1 | CREATE TABLE master_1 | CREATE TABLE master_1 | CREATE TABLE master_1 | CREATE TABLE master_1 | CREATE TABLE master_1 | CREATE TABLE master_1 | CREATE TABLE master_1 | CREATE TABLE master_1 | CREATE TABLE master_1 | CREATE TABLE master_1 | CREATE INDEX master_1 | CREATE INDEX master_1 | CREATE INDEX master_1 | CREATE INDEX master_1 | CREATE INDEX master_1 | CREATE INDEX master_1 | CREATE INDEX master_1 | CREATE INDEX master_1 | CREATE INDEX master_1 | CREATE INDEX master_1 | CREATE INDEX master_1 | CREATE INDEX master_1 | CREATE INDEX master_1 | INSERT 0 1 master_1 | INSERT 0 1 master_1 | UPDATE 1 master_1 | UPDATE 1 master_1 | bash: ./MasterServer: cannot execute binary file: Exec format error master_1 | CREATE TABLE master_1 | DELETE 0 master_1 | INSERT 0 0 master_1 | DELETE 0 master_1 | DELETE 0 master_1 | DROP TABLE master_1 | bash: ./MasterServer: cannot execute binary file: Exec format error master_1 | bash: ./MasterServer: cannot execute binary file: Exec format error pwnadventure3_master_1 exited with code 126 pwn3@ubuntu:~/PwnAdventure3$ ls Dockerfile README.md docker-compose.yml server tools LICENSE client postgres-data setup pwn3@ubuntu:~/PwnAdventure3$ cd server/ pwn3@ubuntu:~/PwnAdventure3/server$ ls GameServer MasterServer README creds pwn3@ubuntu:~/PwnAdventure3/server$ cd MasterServer/ pwn3@ubuntu:~/PwnAdventure3/server/MasterServer$ ls MasterServer initdb.sql server.crt server.key pwn3@ubuntu:~/PwnAdventure3/server/MasterServer$ file MasterServer MasterServer: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=0279745823cef309cb0bc9a85ca686abbe61fa3f, with debug_info, not stripped pwn3@ubuntu:~/PwnAdventure3/server/MasterServer$ uname -a Linux ubuntu 5.4.0-1012-raspi #12-Ubuntu SMP Wed May 27 04:08:35 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux pwn3@ubuntu:~/PwnAdventure3/server/MasterServer$ ls MasterServer initdb.sql server.crt server.key pwn3@ubuntu:~/PwnAdventure3/server/MasterServer$
When I run the command
docker-compose up
after building successfully I get the error:master_1 | bash: ./MasterServer: cannot execute binary file: Exec format error
I'm trying to setup this Pwn Adventure 3 server on a Raspberry Pi 4 with 4GB of RAM. I of course looked at the internet for answers and what I found out was that you apparently can't run the Pwn Server on the RPi's ARM64 architecture? Is there no way to run the server successfully on RPi? Here is the whole output:pwn3@ubuntu:~/PwnAdventure3$ docker-compose up Creating pwnadventure3_init_1 ... done Creating pwnadventure3_master_1 ... done Creating pwnadventure3_game_1 ... done Attaching to pwnadventure3_init_1, pwnadventure3_master_1, pwnadventure3_game_1 pwnadventure3_init_1 exited with code 0 master_1 | * Starting PostgreSQL 9.3 database server game_1 | bash: ./PwnAdventure3Server: cannot execute binary file: Exec format error pwnadventure3_game_1 exited with code 126 master_1 | ...done. master_1 | CREATE ROLE master_1 | CREATE DATABASE master_1 | GRANT master_1 | rm: cannot remove '/opt/pwn3/client/PwnAdventure3_Data/PwnAdventure3/PwnAdventure3/Saved/Logs/*': No such file or directory master_1 | No backup data found! master_1 | psql:/opt/pwn3/initdb.sql:1: NOTICE: table "users" does not exist, skipping master_1 | DROP TABLE master_1 | DROP TABLE master_1 | DROP TABLE master_1 | DROP TABLE master_1 | psql:/opt/pwn3/initdb.sql:2: NOTICE: table "teams" does not exist, skipping master_1 | psql:/opt/pwn3/initdb.sql:3: NOTICE: table "team_state" does not exist, skipping master_1 | DROP TABLE master_1 | psql:/opt/pwn3/initdb.sql:4: NOTICE: table "characters" does not exist, skipping master_1 | psql:/opt/pwn3/initdb.sql:5: NOTICE: table "char_items" does not exist, skipping master_1 | psql:/opt/pwn3/initdb.sql:6: NOTICE: table "char_slots" does not exist, skipping master_1 | DROP TABLE master_1 | psql:/opt/pwn3/initdb.sql:7: NOTICE: table "char_quests" does not exist, skipping master_1 | DROP TABLE master_1 | psql:/opt/pwn3/initdb.sql:8: NOTICE: table "char_pickups" does not exist, skipping master_1 | DROP TABLE master_1 | psql:/opt/pwn3/initdb.sql:9: NOTICE: table "names" does not exist, skipping master_1 | DROP TABLE master_1 | psql:/opt/pwn3/initdb.sql:10: NOTICE: table "info" does not exist, skipping master_1 | DROP TABLE master_1 | CREATE TABLE master_1 | CREATE TABLE master_1 | CREATE TABLE master_1 | CREATE TABLE master_1 | CREATE TABLE master_1 | CREATE TABLE master_1 | CREATE TABLE master_1 | CREATE TABLE master_1 | CREATE TABLE master_1 | CREATE TABLE master_1 | CREATE INDEX master_1 | CREATE INDEX master_1 | CREATE INDEX master_1 | CREATE INDEX master_1 | CREATE INDEX master_1 | CREATE INDEX master_1 | CREATE INDEX master_1 | CREATE INDEX master_1 | CREATE INDEX master_1 | CREATE INDEX master_1 | CREATE INDEX master_1 | CREATE INDEX master_1 | CREATE INDEX master_1 | INSERT 0 1 master_1 | INSERT 0 1 master_1 | UPDATE 1 master_1 | UPDATE 1 master_1 | bash: ./MasterServer: cannot execute binary file: Exec format error master_1 | CREATE TABLE master_1 | DELETE 0 master_1 | INSERT 0 0 master_1 | DELETE 0 master_1 | DELETE 0 master_1 | DROP TABLE master_1 | bash: ./MasterServer: cannot execute binary file: Exec format error master_1 | bash: ./MasterServer: cannot execute binary file: Exec format error pwnadventure3_master_1 exited with code 126 pwn3@ubuntu:~/PwnAdventure3$ ls Dockerfile README.md docker-compose.yml server tools LICENSE client postgres-data setup pwn3@ubuntu:~/PwnAdventure3$ cd server/ pwn3@ubuntu:~/PwnAdventure3/server$ ls GameServer MasterServer README creds pwn3@ubuntu:~/PwnAdventure3/server$ cd MasterServer/ pwn3@ubuntu:~/PwnAdventure3/server/MasterServer$ ls MasterServer initdb.sql server.crt server.key pwn3@ubuntu:~/PwnAdventure3/server/MasterServer$ file MasterServer MasterServer: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=0279745823cef309cb0bc9a85ca686abbe61fa3f, with debug_info, not stripped pwn3@ubuntu:~/PwnAdventure3/server/MasterServer$ uname -a Linux ubuntu 5.4.0-1012-raspi #12-Ubuntu SMP Wed May 27 04:08:35 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux pwn3@ubuntu:~/PwnAdventure3/server/MasterServer$ ls MasterServer initdb.sql server.crt server.key pwn3@ubuntu:~/PwnAdventure3/server/MasterServer$