SABnzbd+ exit code 2

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
citricemperor
Newbie
Newbie
Posts: 5
Joined: June 9th, 2018, 3:36 am

SABnzbd+ exit code 2

Post by citricemperor » June 11th, 2018, 6:44 am

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

User avatar
OneCD
Full Member
Full Member
Posts: 171
Joined: March 4th, 2017, 3:47 pm

Re: SABnzbd+ exit code 2

Post by OneCD » 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]
Stuff I like: Apache BASH CouchPotato CRON Debian DNSMasq Entware-3x FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo S20 Python Raspberry Pi RAID SABnzbd+ SickRage Transmission Usenet VirtualBox WordPress XFCE

User avatar
sander
Release Testers
Release Testers
Posts: 6336
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd+ exit code 2

Post by sander » June 11th, 2018, 2:27 pm


citricemperor
Newbie
Newbie
Posts: 5
Joined: June 9th, 2018, 3:36 am

Re: SABnzbd+ exit code 2

Post by citricemperor » June 13th, 2018, 7:51 am

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

citricemperor
Newbie
Newbie
Posts: 5
Joined: June 9th, 2018, 3:36 am

Re: SABnzbd+ exit code 2

Post by citricemperor » June 13th, 2018, 7:54 am

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.

User avatar
jcfp
Release Testers
Release Testers
Posts: 874
Joined: February 7th, 2008, 12:45 pm

Re: SABnzbd+ exit code 2

Post by jcfp » June 13th, 2018, 1:06 pm

sander wrote:
June 11th, 2018, 2:27 pm
Is 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).

Post Reply