Cannot start deluged service (init.d)
Solution 1
Okay, so I got it working! I've been closely going over the /etc/init.d/deluged
apparently the daemon mode of deluged
is disabled by default (WTF deluge, what else is the point of installing a daemon) and you're supposed to enable it manually (they also forgot to mention this in the user guides).
Anyways, to enable it, open /etc/default/deluged
in your favorite editor:
$ sudo vi /etc/default/deluged
and change ENABLE_DELUGED=0
to ENABLE_DELUGED=1
Solution 2
As explained on the Deluge Service wiki you should be using systemd
with Ubuntu 16.04.
Most Linux distributions now use systemd. See wikipedia for releases with systemd as default.
systemd Upstart (Ubuntu 11.04 to 14.10) init.d (Obsolete)
The init script is provided by the Ubuntu package maintainers but the /etc/default/deluged
file is mentioned in the init wiki...
Related videos on Youtube
![Sheharyar](https://i.stack.imgur.com/E2mYN.jpg?s=256&g=1)
Sheharyar
Updated on September 18, 2022Comments
-
Sheharyar almost 2 years
I installed
deluge
,deluged
anddeluge-console
. All of them work fine and I can start the deluged daemon using this command$ deluged
but I cannot start it using the
init.d
script that comes with it. Neither of these work:$ sudo service deluged start $ sudo /etc/init.d/deluged start
and if I check the status, it says
active (exited)
. This worked without any issues on my previous laptop running ubuntu 14.04, but doesn't on my fresh 16.04 installation.I've tried everything I could think of; tail logs (they're empty), change permissions and mask (didn't do anything), change auth settings - but it just doesn't start. I've been at this for over an hour, and any help would be highly appreciated. Installing a torrent-client shouldn't take this long.
-
Sheharyar almost 8 yearsI like
init.d
more. And the init script in the wiki is very different than what comes pre-packaged withdeluged
. -
Carlo Wood over 7 yearsI have the same symptoms, but already had ENABLE_DELUGED=1 ... No go.
-
Admin about 2 yearsit works like a charm!