Page 1 of 3
Multiple user/daemon on CentOS 7
Posted: Tue Oct 16, 2018 8:59 am
by executable77
I made research on the web but there only tutorial to make it on Ubuntu. I tried to make it works on CentOS 7 but I can't make it running.
I want to run several instances of deluge daemon (web) to use multiple user on the same server.
What I followed :
https://www.reddit.com/r/torrents/comme ... instances/
The config file is situated in /var/lib/deluge/.config/deluge/
Some help would be apreciated.
EDIT
You can also find my thread with detailed step I tried
https://unix.stackexchange.com/question ... n-centos-7
Re: Multiple user/daemon on CentOS 7
Posted: Tue Oct 16, 2018 12:04 pm
by shamael
I think it's one of the feature supported by the version 2.0
viewtopic.php?f=8&t=54338
Maybe give it a try and see if it suits your need
Re: Multiple user/daemon on CentOS 7
Posted: Tue Oct 16, 2018 2:01 pm
by executable77
Thanks you for your answer. Do you have a tutorial where I can install this version in centOS 7 or a documentation ?
Re: Multiple user/daemon on CentOS 7
Posted: Tue Oct 16, 2018 6:18 pm
by Cas
There should be no issue running multiple daemons with different config directories. If you provide the exact steps and errors here that is more helpful than cross-posting on stackexchange...
First of all don't copy over a config directory, let the daemon create it.
Code: Select all
deluged -c a_conf -p 58840
deluged -c b_conf -p 58850
Re: Multiple user/daemon on CentOS 7
Posted: Wed Oct 17, 2018 1:20 pm
by executable77
Well the first time I launch the command it show no error but I can't see the daemon running. If I launch the same command second time it show error like :
[ERROR ] 10:16:17 rpcserver:378 Couldn't listen on localhost:58840: [Errno 98] Adress already used.
I only have one daemon running at port 58846. Also how can I open the web page on a different port ?
Re: Multiple user/daemon on CentOS 7
Posted: Wed Oct 17, 2018 4:26 pm
by Cas
I can't see the daemon running.
Couldn't listen on localhost:58840:
It forks to the background so yes it is running.
And see
deluged --help
for command options
Also how can I open the web page on a different port ?
Via plugin or the
web.conf
.
Re: Multiple user/daemon on CentOS 7
Posted: Mon Oct 22, 2018 8:28 am
by executable77
Well I run these commands
Code: Select all
deluged -c a_conf -p 58840
deluged -c b_conf -p 58850
and it seems like it works
But the config files is in ~/conf_a for example but it only contain
The default config file is situated in /var/lib/deluge/.config/deluge
And in the web browser I only see 1 daemon.

Re: Multiple user/daemon on CentOS 7
Posted: Mon Oct 22, 2018 8:34 am
by Cas
You need to create a user in the auth file for each config and then add them to the connection manager with the new user/pass. They won't show up automatically.
Re: Multiple user/daemon on CentOS 7
Posted: Mon Oct 22, 2018 10:12 am
by executable77
I created a new account for a_conf with test:test
I added the following information for the daemon
but the new daemon won't start
EDIT:
Hors ligne means offline
Re: Multiple user/daemon on CentOS 7
Posted: Mon Oct 22, 2018 3:08 pm
by Cas
You cannot start a 'remote' added daemon, you will need to start it from terminal.