init.d script fails [SOLVED]

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
neospud
Newbie
Newbie
Posts: 2
Joined: January 22nd, 2011, 10:16 pm

init.d script fails [SOLVED]

Post by neospud »

sabnzbd doesn't start when my system boots.  The script will work if i run it directly.  

Version: 0.5.6
OS: ubuntu 10.10
Install-type: linux repository
Skin: default dark blue
Firewall Software: none
Are you using IPV6? no
Is the issue reproducible? yes

Every time i boot my system in to ubuntu, tty7 shows this output (i have to gdm stop to see it).  However if i start the script manually later it runs fine.. as does starting it from the application menus.

* Starting SABnzbd+ binary newsgrabber
Traceback (most recent call last):
File "/usr/bin/sabnzbdplus", line 1245, in
main()
File "/usr/bin/sabnzbdplus", line 832, in main
os.makedirs(sabnzbd.DIR_LCLDATA)
FILE "/usr/lib/python2.6/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/home/spud/.sabnzbd'
[Fail]
Last edited by neospud on January 22nd, 2011, 11:02 pm, edited 1 time in total.
krackt
Newbie
Newbie
Posts: 37
Joined: December 29th, 2010, 7:15 am

Re: init.d script fails

Post by krackt »

What user are you attempting to run sabnzbd as? Check the contents of  /etc/default/sabnzbdplus
SABnzbd 0.7.17 JCFP Ubuntu ppa
Precise 12.04.4 LTS x86_64
XBMC Gotham 14.0-alpha1 Git:577494a 20140406
ASRock ION 330-BD Intel Dual Core Atom 1.6GHz
4GB RAM | HDMI Display | Analogue Audio | Flirc IR
neospud
Newbie
Newbie
Posts: 2
Joined: January 22nd, 2011, 10:16 pm

Re: init.d script fails [SOLVED]

Post by neospud »

I had USER=spud.  I figured it out.. it was that my home directory was encrypted.  Took FOREVER to figure that out though.  Plus sickbeard ran fine... strange.
Post Reply