Bug#664637: openarena-server: AAS shutdown server fatal crashed

Markus Koschany apo at gambaru.de
Wed Jun 27 12:20:27 UTC 2012


On 27.06.2012 09:51, Simon McVittie wrote:

>> 2. I would like to debug this issue or at least gather a useful debug
>> output from the server
> [...]
>> 	start-stop-daemon --start --pidfile $PIDFILE --oknodo \
>>         --background --exec $BINARY --startas $DAEMON \
>>         --make-pidfile --chuid $USER \
>>         -- $DAEMON_OPTS > $LOGFILE 2>&1 || return 1
> 
> That will log the output of start-stop-daemon to $LOGFILE.
> Unfortunately, start-stop-daemon doesn't generally output anything - it
> starts openarena-server, puts it in the background and exits.
> 

Oh, that explains a lot.

>> What is the appropriate way to debug the openarena server?
> 
> Either start it by hand (not via the init script), or put a wrapper
> similar to this somewhere (e.g. /usr/local/bin/openarena-server-wrapper):
> 
> #!/bin/sh
> OPENARENA_BACKTRACE=1
> export OPENARENA_BACKTRACE
> exec > /home/user/openarena-server.log 2>&1
> exec /usr/games/openarena-server "$@"
> 
> and modify the init script so it has
> DAEMON=/usr/local/bin/openarena-server-wrapper (or wherever you put it)
> instead of its current value.
> 

Many thanks for your help. I will report back as soon as i have found
something useful.

Regards
Markus


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20120627/f048eb99/attachment.pgp>


More information about the Pkg-games-devel mailing list