Page 1 of 1

[Solved] Deluged is not starting

Posted: Sun Apr 03, 2011 10:53 am
by Darktyrael
Hello,
I am trying to install deluged / deluge-web 1.3.1 on my Ubuntu lucid 10.04 x64 server, but deluge-web is the only one working.

Here is my deluged.log file

Code: Select all

[WARNING ] 12:33:03 core:162 Failed to load lt state: [Errno 2] No such file or directory: '/var/lib/deluge/session.state'
[WARNING ] 12:33:03 config:358 Unable to open config file /var/lib/deluge/core.conf: [Errno 2] No such file or directory: '/var/lib/deluge/core.conf'
[ERROR   ] 12:33:03 rpcserver:375 [('system library', 'fopen', 'Permission denied'), ('BIO routines', 'FILE_CTRL', 'system lib'), ('SSL routines', 'SSL_CTX_use_certificate_file', 'system lib')]
fopen: Permission denied... but what file?

Also, my deluge-web.log file is filled with that line:

Code: Select all

[WARNING ] 12:44:07 client:224 Connection to daemon at 127.0.0.1:58846 failed: Connection was refused by other side: 111: Connection refused.
Thanks for your help

Re: Deluged is not starting

Posted: Sun Apr 03, 2011 1:10 pm
by Darktyrael
Hello again,

I gathered more informations
So here is the extended deluged.log

Code: Select all

[INFO    ] 14:56:03 daemon:129 Deluge daemon 1.3.1
[INFO    ] 14:56:03 configmanager:70 Setting config directory to: /var/lib/deluge
[INFO    ] 14:56:03 core:78 Starting libtorrent 0.14.10.0 session..
[WARNING ] 14:56:03 core:162 Failed to load lt state: [Errno 2] Aucun fichier ou dossier de ce type: '/var/lib/deluge/session.state'
[WARNING ] 14:56:03 config:358 Unable to open config file /var/lib/deluge/core.conf: [Errno 2] Aucun fichier ou dossier de ce type: '/var/lib/deluge/core.conf'
[INFO    ] 14:56:03 rpcserver:366 Starting DelugeRPC server localhost:58846
[INFO    ] 14:56:03 rpcserver:374 Daemon already running or port not available..
[ERROR   ] 14:56:03 rpcserver:375 [('system library', 'fopen', 'Permission denied'), ('BIO routines', 'FILE_CTRL', 'system lib'), ('SSL routines', 'SSL_CTX_use_certificate_file', 'system lib')]
It look like the real error is

Code: Select all

[INFO    ] 14:56:03 rpcserver:374 Daemon already running or port not available..
rpcserver code throwing the exception:

Code: Select all

371         try:
372             reactor.listenSSL(port, self.factory, ServerContextFactory(), in    terface=hostname)
373         except Exception, e:
374             log.info("Daemon already running or port not available..")
375             log.error(e)
376             sys.exit(0)
netstat --listening confirm that the port 58846 is aviable...

Re: Deluged is not starting

Posted: Sun Apr 03, 2011 1:53 pm
by Cas
By default deluged stores the config in ~/.config/deluge but it looks like you have specified a different path '/var/lib/deluge' and that path does not either exist or have permission to access it.

Please detail how you starting deluged and deluge-web.

Re: Deluged is not starting

Posted: Sun Apr 03, 2011 4:52 pm
by Darktyrael
There, I got it!
I gave permissions to access .config but not recursively, so .config/deluge wasn't accessible...

Thanks for your help