Can't execute RunSrv on Devian7 server

Moderator: NADEO

Post Reply
DogeCena
Posts: 1
Joined: 22 May 2018, 19:58

Can't execute RunSrv on Devian7 server

Post by DogeCena »

Hi


I followed the instruction to open a dedicated server, all of this is fine.
I created the file(RunSrv) which contains

Code: Select all

#!/bin/sh
   ./ManiaPlanetServer /game_settings=MatchSettings/maplist1.txt /dedicated_cfg=dedicated_cfg.txt /title=TMStadium
Unfortunately, i can't execute the file (I'm using WinSCP)

Code: Select all

Command '"./RunSrv..sh"'
failed with return code 126 and error message
-bash: lign7: ./RunSrv..sh: Permission not granted.
(I'm not allowed to post url, so i put 2 dots in runsrv cause it's recognized as a link)
It tells me that i'm not allowed to execute it, even if i'm connected with root (Even using Putty).

Does anyone know a solution ? :? :yes:
speedychris
Posts: 172
Joined: 29 Dec 2011, 20:47

Re: Can't execute RunSrv on Devian7 server

Post by speedychris »

you need the correct file-permissions (execute)!
User avatar
Miss
Posts: 2155
Joined: 05 Jan 2016, 11:34
Location: The Netherlands
Contact:

Re: Can't execute RunSrv on Devian7 server

Post by Miss »

Never run the server as root. EVER.

But yes, try "chmod +x RunSrv.sh" before executing it.
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
Harest
Posts: 144
Joined: 26 Mar 2018, 04:21
Contact:

Re: Can't execute RunSrv on Devian7 server

Post by Harest »

Debian 7 is too old to run ManiaPlanetServer too, more precisely, the version of glibc (libc6) is too old. You'll get something like :

Code: Select all

/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found
I'd advise you to upgrade the dist to Debian 8 (Jessie).
Post Reply

Return to “Dedicated Server”

Who is online

Users browsing this forum: No registered users and 2 guests