Sabnzbdplus does not start on reboot.

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
rwickra
Newbie
Newbie
Posts: 2
Joined: November 6th, 2011, 10:35 pm

Sabnzbdplus does not start on reboot.

Post by rwickra »

Forgive me, if this is a rather elementary question.
I'm new to Linux/Ubuntu, and I'm running Sabnzbd+ on my newly built minimal Ubuntu based XBMC Live box.

I followed the instructions listed on http://forums.sabnzbd.org/viewtopic.php?f=16&t=387 by jcfp to install sabnzbd on my ubuntu-based XBMC live install, and it worked perfectly. The problem, I am running into, however, is that Sabnzbdplus does not get activated upon rebooting my PC (i.e., I cannot connect to the WebGUI).

However, if I SSH into the box, and activate the service by doing.

Code: Select all

sudo /etc/init.d/sabnzbdplus start

 * SABnzbd+ binary newsgrabber:   [ok]
I even tried using

Code: Select all

sudo update-rc.d sabnzbdplus defaults

System start/stop links for /etc/init.d/sabnzbdplus already exist.
I'm not sure what to do. My knowledge on Linux is that acquired by reading on websites etc, so I would really appreciate if anyone can give me some pointers on how to get sabnzbdplus to start on bootup automatically.

Would really appreciate it if someone can give me a step-by-step of how to do it. THanks so much!

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

Re: Sabnzbdplus does not start on reboot.

Post by jcfp »

Check the usual culprits: encrypted home dirs, usb or network drives not yet mounted, etc. Remember that services start before any user login and before any graphical interface starts.
mkeybhoy
Newbie
Newbie
Posts: 11
Joined: November 8th, 2011, 9:18 am

Re: Sabnzbdplus does not start on reboot.

Post by mkeybhoy »

I had quite the opposite problem, I DIDN'T want sabnzbdplus to start automatically as my CIFS share hadn't been mounted at the time sabnzbd tried to start

Try adding

/etc/init.d sabnzbdplus start

as the last line in /etc/rc.local. This is where I start it after I have asked my CIFS share to mount.

I also had a problem at first when I had ran sabnzbdplus using sudo and root then owned some of the key folders rather than my user, so check permissions on the hidden.sabnzbd folder in your home folder.
rwickra
Newbie
Newbie
Posts: 2
Joined: November 6th, 2011, 10:35 pm

Re: Sabnzbdplus does not start on reboot.

Post by rwickra »

Thanks so much, guys.

I am at work now, so I will go home and check this out. Thanks again for your help.

Raz
Post Reply