Page 1 of 1
Unable to start sabnzbd in daemon mode
Posted: April 28th, 2009, 10:07 pm
by Hizzow
I am unable to start sabnzbd in daemon mode and it gives the error "Sorry, requires Python module Cheetah 2.0rc7 or higher." But I'm able to run it in the forground just find. I've removed and reinstalled cheetah and there are no errors during the install.
I'm at a loss as to what could cause this. Anyone have any ideas?
Re: Unable to start sabnzbd in daemon mode
Posted: April 28th, 2009, 10:19 pm
by switch
Are you running it in a different way when trying to run in daemon mode? Eg using an init.d script or as a different user.
It sounds like the place Cheetah is installed to is not being passed in $PATH or $PYTHONPATH
Re: Unable to start sabnzbd in daemon mode
Posted: April 28th, 2009, 10:35 pm
by Hizzow
The only difference is the daemon switch. I've tried as the user, sudo and as root. I've also tried with an absolute path as well as running it from within the directory.
Re: Unable to start sabnzbd in daemon mode
Posted: April 29th, 2009, 2:17 am
by shypike
There must something wrong in your Python setup.
The main thing -d does is to fork a secundary SABnzbd process and stop the primary one (standard Unix method for daemons).
Somehow the forked copy doesn't get all path info passed.
What is is platform?
Look for known problems with Python on your platform.
Re: Unable to start sabnzbd in daemon mode
Posted: April 29th, 2009, 8:11 am
by switch
Are you using Ubuntu? You could try the following command:
Code: Select all
sudo dpkg-reconfigure python-cheetah
Re: Unable to start sabnzbd in daemon mode
Posted: April 29th, 2009, 1:16 pm
by Hizzow
Found my problem. rogue version of python was still on my system.