Page 1 of 1

SABnzbd+ exit code 2

Posted: June 11th, 2018, 6:44 am
by citricemperor
I can start SABnzbd via the GUI but when I try it using this commands, it fails:

Code: Select all

sudo /etc/init.d/sabnzbdplus start
or

Code: Select all

sudo service sabnzbdplus start
The command

Code: Select all

systemctl status sabnzbdplus.service
gives me:
Image

Re: SABnzbd+ exit code 2

Posted: June 11th, 2018, 12:50 pm
by OneCD
You might try launching SABnzbd with the username you want to run SABnzbd as.

If your username is 'pi', then:

Code: Select all

sudo systemctl start [email protected]
To check:

Code: Select all

sudo systemctl status [email protected]

Re: SABnzbd+ exit code 2

Posted: June 11th, 2018, 2:27 pm
by sander

Re: SABnzbd+ exit code 2

Posted: June 13th, 2018, 7:51 am
by citricemperor
OneCD wrote: June 11th, 2018, 12:50 pm You might try launching SABnzbd with the username you want to run SABnzbd as.

If your username is 'pi', then:

Code: Select all

sudo systemctl start [email protected]
To check:

Code: Select all

sudo systemctl status [email protected]
I tried it, but I end up with:
Image

Re: SABnzbd+ exit code 2

Posted: June 13th, 2018, 7:54 am
by citricemperor
sander wrote: June 11th, 2018, 2:27 pm Is this the same as viewtopic.php?f=16&t=23412#p115950 ?
I tried the solution justgosh suggested, but that are exactly the steps I took to install SABnzbd+. The only difference here, is that I can't run

Code: Select all

sudo add-apt-repository ppa:jcfp/nobetas
or

Code: Select all

sudo add-apt-repository ppa:jcfp/sab-addons
but this is not my problem since no-one with a Raspberry Pi can run add-apt-repository.

Re: SABnzbd+ exit code 2

Posted: June 13th, 2018, 1:06 pm
by jcfp
sander wrote: June 11th, 2018, 2:27 pmIs this the same as viewtopic.php?f=16&t=23412#p115950 ?
Nope, this user is using the normal init.d script.

TS: see if there's anything useful in the program log files (under .sabnzbd/logs/ in the home dir of the configured user). Might also want to post your /etc/default/sabnzbdplus, and check (sudo netstat -lntep) there's nothing else on the port for sabnzbd (defaults to 8080).