ubuntu dedicated server please help

Moderator: NADEO

Post Reply
User avatar
chiwbicka
Posts: 10
Joined: 22 Jan 2012, 10:53

ubuntu dedicated server please help

Post by chiwbicka »

Hi
I run into a problem on my ubuntu 14.04LTS 32 bit system
I tried several methods to run my maniaplanet server but nothing works.
First i tried to install APT but after the end i got the "unable to locate package maniaplanet-server" i tried it from http://apt.live.nadeo.com stable/main
after i tried to download manually the dedicated server package ( i run 6 servers before and they run smoothly 1-2 years before). Now i updated the old servers to make them run but i got several errors :
./ManiaPlanetServer: 1: ./ManiaPlanetServer: ELF: not found
./ManiaPlanetServer: 2: ./ManiaPlanetServer: Syntax error: ")" unexpected

and after it makes a ^5M@�O�@8 (invalid encrypt) file
please somebody help me thanks
User avatar
Miss
Posts: 2151
Joined: 05 Jan 2016, 11:34
Location: The Netherlands
Contact:

Re: ubuntu dedicated server please help

Post by Miss »

How are you running the MP server binary? It looks like you're trying to run it as a shell script which is obviously wrong.
3080 RTX, Ryzen 3700X, 32GB RAM, Windows 11
Forum moderator, opinions are my own. :thx:
Check out Image openplanet, the alternative ManiaPlanet & Turbo scripting platform! (Openplanet subforum)
I also stream and tweet.
User avatar
chiwbicka
Posts: 10
Joined: 22 Jan 2012, 10:53

Re: ubuntu dedicated server please help

Post by chiwbicka »

Hi
like previous versions that was running well i use an sh file that contains: " #!/bin/sh
./ManiaPlanetServer /game_settings=MatchSettings /CanyonA.txt /dedicated_cfg=dedicated_cfg.txt /title=TMCanyon"

and in terminal of course sudo ./RunSrv.sh
User avatar
Miss
Posts: 2151
Joined: 05 Jan 2016, 11:34
Location: The Netherlands
Contact:

Re: ubuntu dedicated server please help

Post by Miss »

Okay first of all don't run it as root. There is no reason to and it's bad for security.

Second, try using /bin/bash instead of /bin/sh, it usually leads to better overall results.

If that doesn't help, you'll have to tell us some more about the file permissions etc, eg. run "ls -alF" and show the output.

Also, that "invalid encrypt" error makes me think that you upgraded your server without upgrading your titlepacks or other pak files. I'd suggest you start off with a clean installation of the server rather than overwrite an existing MP3 server.
3080 RTX, Ryzen 3700X, 32GB RAM, Windows 11
Forum moderator, opinions are my own. :thx:
Check out Image openplanet, the alternative ManiaPlanet & Turbo scripting platform! (Openplanet subforum)
I also stream and tweet.
User avatar
chiwbicka
Posts: 10
Joined: 22 Jan 2012, 10:53

Re: ubuntu dedicated server please help

Post by chiwbicka »

ok i tried with bin/bash i got : ./RunSrv.sh: line: 2: ./ManiaPlanetServer: cannot execute binary file:

Tried with a clean install and i got the same for all the two method (sh; bash)


drwxrwxrwx 6 chiwbicka chiwbicka 4096 jan 4 13:58 ./
drwxrwx--- 5 chiwbicka chiwbicka 4096 nov 29 12:54 ../
-rw-rw-r-- 1 chiwbicka chiwbicka 0 jan 4 13:58 ?^5M@?O??@8 <--- this is the file that was made automatically after sh run
drwxrwxrwx 5 chiwbicka chiwbicka 4096 márc 13 2017 GameData/
-rwxrwxrwx 1 chiwbicka chiwbicka 3835 márc 9 2017 ListCallbacks_2011-08-01.html*
-rwxrwxrwx 1 chiwbicka chiwbicka 3772 márc 9 2017 ListCallbacks_2011-10-06.html*
-rwxrwxrwx 1 chiwbicka chiwbicka 3648 márc 9 2017 ListCallbacks_2012-06-19.html*
-rwxrwxrwx 1 chiwbicka chiwbicka 3676 márc 9 2017 ListCallbacks_2013-04-16.html*
-rwxrwxrwx 1 chiwbicka chiwbicka 28661704 nov 17 17:53 ManiaPlanetServer*
-rwxrwxrwx 1 chiwbicka chiwbicka 20998744 nov 17 18:05 ManiaPlanetServer.exe*
drwxrwxrwx 2 chiwbicka chiwbicka 4096 nov 29 13:01 Packs/
drwxrwxrwx 3 chiwbicka chiwbicka 4096 márc 9 2017 RemoteControlExamples/
-rwxrwxrwx 1 chiwbicka chiwbicka 121 jan 4 13:58 RunSrv.sh*
-rwxrwxrwx 1 chiwbicka chiwbicka 123 jan 4 13:51 RunSrv.sh~*
-rwxrwxrwx 1 chiwbicka chiwbicka 118 júl 12 2012 RunSrvSM.bat*
-rwxrwxrwx 1 chiwbicka chiwbicka 114 júl 12 2012 RunSrvTM.bat*
-rwxrwxrwx 1 chiwbicka chiwbicka 128 nov 29 13:05 t.sh~*
drwxrwxrwx 3 chiwbicka chiwbicka 4096 márc 9 2017 UserData/
User avatar
Miss
Posts: 2151
Joined: 05 Jan 2016, 11:34
Location: The Netherlands
Contact:

Re: ubuntu dedicated server please help

Post by Miss »

Is your system 64 bit?

Edit: You say in the OP you're running a 32 bit server, which is then likely to be the issue. I believe the MP4 server is a 64 bit binary, so you'll have to upgrade. (Why are you still running 32 bit anyway?)
3080 RTX, Ryzen 3700X, 32GB RAM, Windows 11
Forum moderator, opinions are my own. :thx:
Check out Image openplanet, the alternative ManiaPlanet & Turbo scripting platform! (Openplanet subforum)
I also stream and tweet.
User avatar
chiwbicka
Posts: 10
Joined: 22 Jan 2012, 10:53

Re: ubuntu dedicated server please help

Post by chiwbicka »

yep its a 32 bit server and the reason is becouse its a really old computer ( hp compaq 615 with 2 gigabyte ram ) and early servers was running good
thx for the reply
User avatar
chiwbicka
Posts: 10
Joined: 22 Jan 2012, 10:53

Re: ubuntu dedicated server please help

Post by chiwbicka »

Hi again
i installed a 64 bit ubuntu now and downloaded the APT configured the server and run it.

"[2018/01/09 20:55:57] Starting ManiaPlanet Date=2017-11-17_18_00 Svn=78597 GameVersion=3.3.0...
[2018/01/09 20:55:57] Configuration file : dedicated_cfg.txt
[2018/01/09 20:55:57] Loading system configuration...
[2018/01/09 20:55:57] ...system configuration loaded
[2018/01/09 20:55:57] Loading cache...
[2018/01/09 20:55:57] ...OK
[2018/01/09 20:55:57] Loading dedicated server configuration...
[2018/01/09 20:55:57] ...Dedicated server configuration loaded
[2018/01/09 20:55:58] Connecting to master server...
[2018/01/09 20:55:59] ...OK
[2018/01/09 20:55:59] Identifying on master server...
[2018/01/09 20:56:01] ...OK
[2018/01/09 20:56:08] Listening for xml-rpc commands on port 5072.
[2018/01/09 20:56:08] Match settings file : MatchSettings\MatchSettings.txt
[2018/01/09 20:56:08] Loading match settings...
[2018/01/09 20:56:08] ...Match settings loaded
[2018/01/09 20:56:09] Autostart server on internet
[2018/01/09 20:56:09] URL: maniaplanet://#join=chiw@TMCanyon@nadeo
[2018/01/09 20:56:09] Starting server...
[2018/01/09 20:56:09] Loading map 111111.Map.Gbx (N315Ah3wQwUVta4y1sNaemmTuY1)...
[2018/01/09 20:56:09] ...Load succeeds"

but after a minute i got a message: Sorry the application ManiaplanetServer has stopped unexpetedly.

Problem type: Crash
Title: Maniaplanetserver crashed with SIGSEGV in_start()
Post Reply

Return to “Dedicated Server”

Who is online

Users browsing this forum: Google [Bot] and 1 guest