SPADS unable to restart

SPADS unable to restart

SpringRTS Perl Autohost for Dedicated Server

Moderators: Moderators, Lobby Developers, SPADS AutoHost

Post Reply
User avatar
Jools
XTA Developer
Posts: 2812
Joined: 23 Feb 2009, 16:29

SPADS unable to restart

Post by Jools »

I found out what is causing spads to not be able to restart, writing it here since someone else may have the same problem.

If I start the program with:

Code: Select all

perl spads.pl ./etc/spads.conf &
It will start but not be able to restart. But if I start it this way instead:

Code: Select all

./spads.pl ./etc/spads.conf & OR perl ./spads.pl ./etc/spads.conf &
Then it will be able to restart using the !restart command.

The only exception to method #1 was that that I have two installations of spads: one normal one which has a subfolder called spads-dev, which contains the other installation. If I cd to this second spads folder and launch the first spads installation with the command:

Code: Select all

perl ../spads.pl ./etc/spads.conf &
It will still work.

Maybe the requirement is just the folder specification before the executable.

Both methods will always launch spads, but they wont make it be restartable...
User avatar
bibim
Lobby Developer
Posts: 913
Joined: 06 Dec 2007, 11:12

Re: SPADS unable to restart

Post by bibim »

this should be fixed in SPADS 0.11.27 (in unstable only for now)
gajop
Moderator
Posts: 3035
Joined: 05 Aug 2009, 20:42

Re: SPADS unable to restart

Post by gajop »

Slightly related (SPADS fails to restart after updating):
NOTICE - [SPADS] Initializing SPADS
NOTICE - [SPADS] Using dedicated Spring server binary



NOTICE - [SpadsUpdater] 6 package(s) updated
NOTICE - [SPADS] AutoHost restart scheduled (reason: auto-update)
Can't exec "spads.pl": No such file or directory at spads.pl line 13277.
CRITICAL - [SPADS] Unable to restart SPADS
Works fine when simply started again
User avatar
bibim
Lobby Developer
Posts: 913
Joined: 06 Dec 2007, 11:12

Re: SPADS unable to restart

Post by bibim »

Do you remember with which version of spads.pl it was and how you launched SPADS initially?
gajop
Moderator
Posts: 3035
Joined: 05 Aug 2009, 20:42

Re: SPADS unable to restart

Post by gajop »

I don't remember the exact version, but it's no older than 19th of March.
I started it with "perl spads.pl etc/spads.conf" I think.
User avatar
bibim
Lobby Developer
Posts: 913
Joined: 06 Dec 2007, 11:12

Re: SPADS unable to restart

Post by bibim »

The fix is in unstable since 25 apr, and in testing since 22 apr only. I guess your version didn't contain the fix yet.
If your new version of SPADS is >= 0.11.27 it shouldn't happen again (don't hesitate to tell me if it does).
Post Reply

Return to “SPADS AutoHost”

cron