Can't get sabnzbd to start as a service

Support for the Debian/Ubuntu package, created by JCFP.
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
chops
Newbie
Newbie
Posts: 1
Joined: February 17th, 2025, 7:01 am

Can't get sabnzbd to start as a service

Post by chops »

Hi,

I've installed sabnzbd successfully on Ubuntu 24.04.2 and when I run it from a terminal window it works fine and I can connect to it from a browser.

Im following the instructions in the wiki to setup sabnzbd to run as a service on Ubuntu. I have edited /etc/default/sabnzbdplus to set the user to be sabnzbd, pointed the config file at /home/sabnzbd/.sabnzbd/sabnzbd.ini but when I start the service using 'service sabnzbdplus start' it returns the error

Code: Select all

    Job for sabnzbdplus.service failed because the control process exited with error code.
    See "systemctl status sabnzbdplus.service" and "journalctl -xeu sabnzbdplus.service" for details.
Checking the status of the service gives me

Code: Select all

    × sabnzbdplus.service - LSB: SABnzbd+ binary newsgrabber
         Loaded: loaded (/etc/init.d/sabnzbdplus; generated)
         Active: failed (Result: exit-code) since Mon 2025-02-17 22:58:56 AEDT; 1min 4s ago
           Docs: man:systemd-sysv-generator(8)
        Process: 289933 ExecStart=/etc/init.d/sabnzbdplus start (code=exited, status=2)
            CPU: 745ms

    Feb 17 22:58:54 chops-plex systemd[1]: Starting sabnzbdplus.service - LSB: SABnzbd+ binary newsgrabber... 
    Feb 17 22:58:55 chops-plex sabnzbdplus[289933]:  * Starting SABnzbd+ binary newsgrabber
    Feb 17 22:58:56 chops-plex sabnzbdplus[289933]:    ...fail!
    Feb 17 22:58:56 chops-plex systemd[1]: sabnzbdplus.service: Control process exited, code=exited, status=2/INVALIDARGUMENT
    Feb 17 22:58:56 chops-plex systemd[1]: sabnzbdplus.service: Failed with result 'exit-code'.
    Feb 17 22:58:56 chops-plex systemd[1]: Failed to start sabnzbdplus.service - LSB: SABnzbd+ binary newsgrabber.
Any suggestions?
User avatar
jcfp
Release Testers
Release Testers
Posts: 1022
Joined: February 7th, 2008, 12:45 pm

Re: Can't get sabnzbd to start as a service

Post by jcfp »

Please post the content of the /etc/default file. Does the user actually exist, as a regular (non-system) account that can login and use a shell?
blakejosh
Newbie
Newbie
Posts: 2
Joined: June 3rd, 2025, 5:24 am

Re: Can't get sabnzbd to start as a service

Post by blakejosh »

You can start by verifying that the sabnzbd user exists and has ownership of /home/sabnzbd/.sabnzbd/ using sudo chown -R sabnzbd:sabnzbd /home/sabnzbd/.sabnzbd/. You can also test the configuration by running sudo -u sabnzbd sabnzbdplus -f /home/sabnzbd/.sabnzbd/sabnzbd.ini to check for permission or path errors before retrying the service.
Post Reply