Error while setting SABnzbd to run as daemon at startup [solved, for now]
Posted: August 2nd, 2008, 6:57 am
Following instructions here: http://sabnzbd.wikidot.com/install-as-a-unix-daemon and here: http://www.xs4all.nl/~mgj1/sabnzbd.htm
I tried to get sabnzbd to start automatically as a daemon.
THe init.d update does not seem to work (sab is nto running after startup) but I've found at least one error that might indicate why.
When I try to run the script manually using
I am greeted with:
and sab does not start. It refuses to fork.
However, if i run sabnzbd.py directly, it start and runs fine (as long as i keep the terminal open, of course).
I did run and configure sab before setting up the script, and all its happy directories exist, including ~/.sabnzbd/logs
So what have I done wrong? Why is there a problem finding/writing to the log dir when trying to start sab from the script.
Any help would be greatly appreciated.
edit: OS is Ubuntu 8.04
I tried to get sabnzbd to start automatically as a daemon.
THe init.d update does not seem to work (sab is nto running after startup) but I've found at least one error that might indicate why.
When I try to run the script manually using
Code: Select all
sudo /etc/init.d/sabnzbd startCode: Select all
Starting SABnzbd.
Error:
I refuse to fork without a log directory!
However, if i run sabnzbd.py directly, it start and runs fine (as long as i keep the terminal open, of course).
I did run and configure sab before setting up the script, and all its happy directories exist, including ~/.sabnzbd/logs
So what have I done wrong? Why is there a problem finding/writing to the log dir when trying to start sab from the script.
Any help would be greatly appreciated.
edit: OS is Ubuntu 8.04