Xymph wrote:
Leave out the redirection to /dev/null to see more output.
All that produces is this:
Code:
[xxx-ant@letsrock-tm ~]$ sh server start
Starting daemon: TMFServer_dediserver: line 44: 11952 Segmentation fault ./
$DEDINAME /dedicated_cfg=$DEDICONF /game_settings=MatchSettings/$MATCHSETTINGS
Xymph wrote:
And what's in the pertaining ConsoleLog?
Nothing gets entered into any log because it doesn't even start, all thats there is the output from before I stopped the server to try to upgrade.
Xymph wrote:
Also, you need to stop the old server executable before copying the new one in its place, you can't (or shouldn't try to) replace an executable that's still running. Just stating the obvious.

Lol, I know but cheers

By the way, if it matters, this is the startup script i'm using:
Code:
#!/bin/sh
#
# made by nouseforname/fufi.
#===================================================================
#===================================================================
# Set the following variables to your system needs
#===================================================================
# Process name followed by "dedi"
NAME=TMFServer_dedi
# path to server folder
SERVERPATH=/home/xxx-ant
# dedicated server folder name
DEDI=TMF
# dedicated executable name
DEDINAME=TrackmaniaServer
# name of dedicated_cfg
DEDICONF=dedicated_cfg.txt
# name of matchsettings
MATCHSETTINGS=tracklist.txt
# path to log file, could be a webserver folder to use it for status page
LOGPATH=/home/xxx-ant/statuslog
# post fix for log file, the date will be in front eg "2009-06-10_status.log
# use same for ALL servers
LOGNAME="_status.log"
#======================================================================
#============== don't change anything below here ======================
#======================================================================
PIDFILE=$SERVERPATH/$NAME.pid
DATE=` date +"%H:%M:%S"`
LOGDATE=` date +"%Y-%m-%d"`
OLDDATE=` date -d "7 days ago" +"%Y-%m-%d"`
LOG="$LOGPATH/$LOGDATE$LOGNAME"
case "$1" in
start)
echo -n "Starting daemon: "$NAME
cd /
cd $SERVERPATH/$DEDI
./$DEDINAME /dedicated_cfg=$DEDICONF /game_settings=MatchSettings/$MATCHSETTINGS > /dev/null
PID=`ps -ef | grep $DEDINAME | awk '{print $2;}'`
set -- $PID
PID2=$1
echo $PID > $PIDFILE
sleep 1
echo ""
echo -n "Waiting."
sleep 1
echo -n "."
sleep 1
echo -n "."
sleep 1
echo -n "."
sleep 1
echo "."
;;
stop)
echo -n "Stopping daemon: "$NAME
kill `cat $PIDFILE`
rm $PIDFILE
echo "."
;;
restart)
echo -n "Restarting daemon: "$NAME
echo ""
$0 stop
sleep 1
echo -n "Waiting."
sleep 1
echo -n "."
sleep 1
echo -n "."
sleep 1
echo -n "."
sleep 1
echo "."
$0 start
;;
status)
if [ -f $PIDFILE ] ; then
if kill -0 `cat $PIDFILE` 2>/dev/null ; then
echo "$DATE $NAME is running with pid `cat $PIDFILE`." >> $LOG
cd /
if [ -f $LOGPATH/$OLDDATE$LOGNAME ] ; then
rm $LOGPATH/$OLDDATE$LOGNAME
fi
else
$0 restart 2>/dev/null
echo "$DATE $NAME automatically restarted." >> $LOG
fi
else
echo "$DATE $NAME was stopped by operator, no action." >> $LOG
fi
;;
*)
echo "Usage: "$1" {start|stop|restart|status}"
exit 1
esac
exit 0
Simply replacing the old exe with the new (and using same permissions) doesn't work by the way - which is starting to frustrate me now !