Multiple user/daemon on CentOS 7

General support for problems installing or using Deluge
executable77
Member
Member
Posts: 22
Joined: Tue Oct 16, 2018 8:55 am
Location: France

Multiple user/daemon on CentOS 7

Post 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
Last edited by executable77 on Tue Oct 16, 2018 2:10 pm, edited 2 times in total.
shamael
Compulsive Poster
Compulsive Poster
Posts: 667
Joined: Sat Oct 08, 2016 9:28 am

Re: Multiple user/daemon on CentOS 7

Post 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
executable77
Member
Member
Posts: 22
Joined: Tue Oct 16, 2018 8:55 am
Location: France

Re: Multiple user/daemon on CentOS 7

Post by executable77 »

Thanks you for your answer. Do you have a tutorial where I can install this version in centOS 7 or a documentation ?
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Multiple user/daemon on CentOS 7

Post 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
executable77
Member
Member
Posts: 22
Joined: Tue Oct 16, 2018 8:55 am
Location: France

Re: Multiple user/daemon on CentOS 7

Post 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 ?
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Multiple user/daemon on CentOS 7

Post 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.

Code: Select all

pgrep -fl deluged
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.
executable77
Member
Member
Posts: 22
Joined: Tue Oct 16, 2018 8:55 am
Location: France

Re: Multiple user/daemon on CentOS 7

Post 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
Image

But the config files is in ~/conf_a for example but it only contain

Image

The default config file is situated in /var/lib/deluge/.config/deluge

And in the web browser I only see 1 daemon.
Image
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Multiple user/daemon on CentOS 7

Post 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.
executable77
Member
Member
Posts: 22
Joined: Tue Oct 16, 2018 8:55 am
Location: France

Re: Multiple user/daemon on CentOS 7

Post by executable77 »

I created a new account for a_conf with test:test
Image

I added the following information for the daemon

Image

but the new daemon won't start

Image

EDIT:

Hors ligne means offline
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Multiple user/daemon on CentOS 7

Post by Cas »

You cannot start a 'remote' added daemon, you will need to start it from terminal.
Post Reply