Kodi Community Forum

Full Version: Startup of Deluge Daemon
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
For some reason, my Deluge Daemon has stopped starting up at boot. I have had an init script installed for months with no problem. For some reason it has stopped working within the past two days.

Here is the instruction that I followed originally.

http://www.havetheknowhow.com/Install-th...dless.html

I know that this isn't specific to Xbmc, but I figured that someone on here would have a thought. You guys have always been so helpful.
Logs?

What does
Code:
sudo service deluged start
do?
Code:
deluged: unrecognized service
check that the init script /etc/init.d/deluge-daemon still exists and is executable
sorry it is deluge-daemon not deluged
Nickr, that doesn't return an error, but it also doesn't start the daemon. The only way I can get the daemon to start back up is to type deluged.

wsnipex, the init script still exists and is executable.

Which logs would be helpful for you to see?
probably /var/log/syslog, but grep will look for the term you want in all the log files.
I usually add echo statements throughout the code in the init script to see how far it gets before it fails. You should also check the Deluge logs (your init script should tell you where they are stored, /var/log/deluge is a common place) for clues.
here is my deluged upstart script, works for me

Code:
description "Deluge daemon"
author "Deluge Team"

#start on filesystem and stopped networking
#stop on runlevel [016]

start on (filesystem and net-device-up IFACE=lo)
stop on runlevel [!2345]

# give time to send info to trackers
kill timeout 30

#setuid debian-transmission
setuid username
respawn
respawn limit 5 30

env uid=username
env gid=username
env umask=007

exec  /usr/bin/deluged -- -d  -l /var/log/deluge/daemon.log -L warning

Following would work now

Code:
sudo service deluged start
I followed this guide, and it worked: http://www.howtogeek.com/142044/how-to-t...rrent-box/

Just a warning: you need to install the webui for the init script on the tutorial to work, or else it just does nothing.

Also, check this, as there is a confusing part on the tutorial: http://discuss.howtogeek.com/t/deluge-da...orial/2301