Page 1 of 1

Dedicated Server help.

Posted: 16 Jul 2015 11:40
by Unclepeanut82
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,

Re: Dedicated Server help.

Posted: 16 Jul 2015 12:27
by Xymph
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.

Re: Dedicated Server help.

Posted: 17 Jul 2015 09:00
by Unclepeanut82
Many thanks, but do I still need something like Apache?

Re: Dedicated Server help.

Posted: 17 Jul 2015 10:26
by Xymph
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.

Re: Dedicated Server help.

Posted: 22 Jul 2015 04:52
by Unclepeanut82
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?