Unable to start sabnzbd in daemon mode

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
Hizzow
Newbie
Newbie
Posts: 5
Joined: April 28th, 2009, 10:00 pm

Unable to start sabnzbd in daemon mode

Post 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?
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Unable to start sabnzbd in daemon mode

Post 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
Hizzow
Newbie
Newbie
Posts: 5
Joined: April 28th, 2009, 10:00 pm

Re: Unable to start sabnzbd in daemon mode

Post 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. 
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Unable to start sabnzbd in daemon mode

Post 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.
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Unable to start sabnzbd in daemon mode

Post by switch »

Are you using Ubuntu? You could try the following command:

Code: Select all

sudo dpkg-reconfigure python-cheetah
Hizzow
Newbie
Newbie
Posts: 5
Joined: April 28th, 2009, 10:00 pm

Re: Unable to start sabnzbd in daemon mode

Post by Hizzow »

Found my problem.  rogue version of python was still on my system.
Post Reply