Can not run deluged daemon.

General support for problems installing or using Deluge
Post Reply
Tofi
New User
New User
Posts: 6
Joined: Tue Oct 27, 2015 10:36 pm

Can not run deluged daemon.

Post by Tofi »

Already tried to reinstall with "autoremove --purge" between instalations, and stil can not make deluged run. Logs point me to search for ports

Code: Select all

 cat /var/log/deluged/daemon.log                                                                                         :(
[INFO    ] 22:28:33 configmanager:70 Setting config directory to: /var/lib/deluged/config
[INFO    ] 22:28:36 daemon:124 Deluge daemon 1.3.12
[INFO    ] 22:28:36 configmanager:70 Setting config directory to: /var/lib/deluged/config
[INFO    ] 22:28:37 core:80 Starting libtorrent 1.0.6.0 session..
[INFO    ] 22:28:37 rpcserver:367 Starting DelugeRPC server localhost:58846
[INFO    ] 22:28:37 rpcserver:375 Daemon already running or port not available..
[ERROR   ] 22:28:37 rpcserver:376 Couldn't listen on localhost:58846: [Errno 98] Adres jest już w użyciu.
But netstat shows nothing.
I had found similar topic where solution was to change file access, but in my case: I changed recursively config directory to 777, and still no results. Any clues?
Upgrade from 1.3.10 didn't work.
Shryp
Moderator
Moderator
Posts: 521
Joined: Mon Apr 20, 2015 10:20 pm

Re: Can not run deluged daemon.

Post by Shryp »

It looks like that is a port already in use error. Did you start it twice, is it already running, or is something else running on that port?
Tofi
New User
New User
Posts: 6
Joined: Tue Oct 27, 2015 10:36 pm

Re: Can not run deluged daemon.

Post by Tofi »

Automaticly start during boot up, so not possible to run twice. nothing else is using this port. Mightbe i messed up with something. The system i am using is Banana pi R1 run from HDD I will try to make another bananian boot SD card and check is it me or something different.
Tofi
New User
New User
Posts: 6
Joined: Tue Oct 27, 2015 10:36 pm

Re: Can not run deluged daemon.

Post by Tofi »

On fresh system works flawless with one exception

Code: Select all

cat /var/log/deluged/daemon.log
[INFO    ] 12:37:06 configmanager:70 Setting config directory to: /var/lib/deluged/config
[INFO    ] 12:37:11 daemon:124 Deluge daemon 1.3.10
[INFO    ] 12:37:11 configmanager:70 Setting config directory to: /var/lib/deluged/config
[INFO    ] 12:37:12 core:80 Starting libtorrent 0.16.18.0 session..
[INFO    ] 12:37:12 rpcserver:367 Starting DelugeRPC server localhost:58846
[WARNING ] 12:37:12 torrentmanager:650 Unable to update state file to a compatible version: list index out of range
[WARNING ] 12:37:12 torrentmanager:753 Unable to load fastresume file: [Errno 2] No such file or directory: '/var/lib/deluged/config/state/torrents.fastresume'
what this time?
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Can not run deluged daemon.

Post by Cas »

If that occurs only once with a fresh install don't worry.

Edit: I will make a change so that won't be outputted if there are no torrents in the state.
Tofi
New User
New User
Posts: 6
Joined: Tue Oct 27, 2015 10:36 pm

Re: Can not run deluged daemon.

Post by Tofi »

I have added user to auth file but can not login from deluge-console... Found it. IF anyone else will be looking for it, then in debian jessie auth file instead of

Code: Select all

~/.config/deluge/auth
is at

Code: Select all

/var/lib/deluged/config/auth
, so probably someone should update this and add such possibility. I am using bananaian, but package is stright from debian repo.
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Can not run deluged daemon.

Post by Cas »

There is info about this on that page:
http://dev.deluge-torrent.org/wiki/User ... aultConfig
http://dev.deluge-torrent.org/wiki/User ... alUIClient

I might reword it a bit and add a link in the section you mentioned though.
Tofi
New User
New User
Posts: 6
Joined: Tue Oct 27, 2015 10:36 pm

Re: Can not run deluged daemon.

Post by Tofi »

Of course it is, but it is a bit unclear to me (linux user not guru, imagine some regular windows user in my position), and it took me few days to make it running. Example suggest ~/.config/deluge/auth and in debian config dir has totally different path, that is doggy.
Post Reply