Dedicated Server help.

This is the place where you can find everything related to the dedicated server, control scripts and community tools.

Moderators: Pit Crew, TM-Patrol

Post Reply
Unclepeanut82
pedestrian
pedestrian
Posts: 6
Joined: 29 Dec 2014 06:27
Owned TM-games: TMUF

Dedicated Server help.

Post by Unclepeanut82 » 16 Jul 2015 11:40

Howdy all o/

I've been following a TMF server quick-start guide, and it's telling me I need a working PHP 5.x setup. I'm totally new to PHP, only just hearing about it. What is it? What do I do with it? Do I install it? So many questions.

I'm only looking to get the dedicated server up and running (Using Xaseco). Could anybody give me a helping hand or give me link/s to further information? Anything would be greatly appreciated.

Cheers,

Xymph
Pit Crew
Pit Crew
Posts: 5654
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: Dedicated Server help.

Post by Xymph » 16 Jul 2015 12:27

Unclepeanut82 wrote:I'm totally new to PHP, only just hearing about it. What is it? What do I do with it? Do I install it? So many questions.
So many answers.
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub

Unclepeanut82
pedestrian
pedestrian
Posts: 6
Joined: 29 Dec 2014 06:27
Owned TM-games: TMUF

Re: Dedicated Server help.

Post by Unclepeanut82 » 17 Jul 2015 09:00

Many thanks, but do I still need something like Apache?
At the end of the day, the King and the Pawn go in the same box.

Xymph
Pit Crew
Pit Crew
Posts: 5654
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: Dedicated Server help.

Post by Xymph » 17 Jul 2015 10:26

Unclepeanut82 wrote:Many thanks, but do I still need something like Apache?
If it's not mentioned in the Quick Start Guide, then it's not needed.
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub

Unclepeanut82
pedestrian
pedestrian
Posts: 6
Joined: 29 Dec 2014 06:27
Owned TM-games: TMUF

Re: Dedicated Server help.

Post by Unclepeanut82 » 22 Jul 2015 04:52

Alright, so I've had to restart everything. Only now, with the dedicated startup script, I'm getting this:

sudo ./tmfd start
* Starting tmfd
Segmentation fault (core dumped)

What's this error? I've managed to find where the problem is, putting echo's into the script. It's somewhere in here:

Code: Select all

PATH=/bin:/usr/bin:/sbin:/usr/sbin

MYPATH=/home/tmf/tmf
MYNAME=`basename $0 | sed 's/^[SK][0-9][0-9]//'`
DAEMON=$MYPATH/RunTrackmaniaNations.sh
MYPROC=$MYPATH/TrackmaniaServer
MYPIDF=/var/run/$MYNAME.pid

start-stop-daemon --start --quiet --chuid tmf --pidfile $MYPIDF --exec $DAEMON | tee /tmp/$MYNAME$$
pid=`sed -n 's~.*with pid=\([0-9][0-9]*\).*~\1~;/^[0-9]*$/p' /tmp/$MYNAME$$`
echo $pid > $MYPIDF
Any idea?
Last edited by Xymph on 22 Jul 2015 07:01, edited 2 times in total.
Reason: Use code tags for code/configs/logs...
At the end of the day, the King and the Pawn go in the same box.

Post Reply