Page 1 of 1

init.d script fails [SOLVED]

Posted: January 22nd, 2011, 10:30 pm
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]

Re: init.d script fails

Posted: January 22nd, 2011, 10:39 pm
by krackt
What user are you attempting to run sabnzbd as? Check the contents of  /etc/default/sabnzbdplus

Re: init.d script fails [SOLVED]

Posted: January 22nd, 2011, 11:02 pm
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.