Page 1 of 1

SPADS unable to restart

Posted: 01 Feb 2015, 02:51
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...

Re: SPADS unable to restart

Posted: 25 Apr 2015, 15:35
by bibim
this should be fixed in SPADS 0.11.27 (in unstable only for now)

Re: SPADS unable to restart

Posted: 02 May 2015, 06:56
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

Re: SPADS unable to restart

Posted: 02 May 2015, 10:43
by bibim
Do you remember with which version of spads.pl it was and how you launched SPADS initially?

Re: SPADS unable to restart

Posted: 02 May 2015, 10:50
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.

Re: SPADS unable to restart

Posted: 02 May 2015, 11:08
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).