Cannot start deluge 1.3.5 on Ubuntu 11.04

General support for problems installing or using Deluge
Post Reply
phongtnit

Cannot start deluge 1.3.5 on Ubuntu 11.04

Post by phongtnit »

Hi,

I'm new deluge user. I installed Deluge 1.3.5 on Ubuntu 11.04 via http://dev.deluge-torrent.org/wiki/Inst ... nux/Ubuntu

After that, I created init script thanks to http://dev.deluge-torrent.org/wiki/User ... t%20Job%29

When I accessed deluge via web interface, I see deluge deamon is offline. Please help me fix it?
When I checked /var/log/deluge/web.log, I see deluge cannot open hostlist.conf.1.2, I didn't see the file on /var/lib/deluge/.config/deluge. So how to create the file?

Thanks a lot,

This is the web.log

Code: Select all

[WARNING ] 03:48:48 config:361 Unable to open config file /var/lib/deluge/.config/deluge/hostlist.conf.1.2: [Errno 2] No such file or directory: '/var/lib/deluge/.conf$
[WARNING ] 03:49:44 client:224 Connection to daemon at 127.0.0.1:58846 failed: Connection was refused by other side: 111: Connection refused.
[WARNING ] 03:49:44 client:224 Connection to daemon at 127.0.0.1:58846 failed: Connection was refused by other side: 111: Connection refused.
[WARNING ] 03:49:46 client:224 Connection to daemon at 127.0.0.1:58846 failed: Connection was refused by other side: 111: Connection refused.
[WARNING ] 03:49:48 client:224 Connection to daemon at 127.0.0.1:58846 failed: Connection was refused by other side: 111: Connection refused.
[WARNING ] 03:49:50 client:224 Connection to daemon at 127.0.0.1:58846 failed: Connection was refused by other side: 111: Connection refused.
[WARNING ] 03:49:52 client:224 Connection to daemon at 127.0.0.1:58846 failed: Connection was refused by other side: 111: Connection refused.
[WARNING ] 03:49:54 client:224 Connection to daemon at 127.0.0.1:58846 failed: Connection was refused by other side: 111: Connection refused.
[WARNING ] 03:49:56 client:224 Connection to daemon at 127.0.0.1:58846 failed: Connection was refused by other side: 111: Connection refused.
[ERROR   ] 03:49:57 client:591 Deluge cannot find the 'deluged' executable, it is likely that you forgot to install the deluged package or it's not in your PATH.
[ERROR   ] 03:49:57 json_api:228 Error calling method `web.start_daemon`
[ERROR   ] 03:49:57 json_api:229 [Errno 2] No such file or directory
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/json_api.py", line 220, in _handle_request
    result = self._exec_local(method, params, request)
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/json_api.py", line 187, in _exec_local
    return meth(*params)
  File "/usr/lib/python2.7/dist-packages/deluge/ui/web/json_api.py", line 834, in start_daemon
    client.start_daemon(port, get_config_dir())
  File "/usr/lib/python2.7/dist-packages/deluge/ui/client.py", line 594, in start_daemon
    raise e
OSError: [Errno 2] No such file or directory
[WARNING ] 03:49:58 client:224 Connection to daemon at 127.0.0.1:58846 failed: Connection was refused by other side: 111: Connection refused.
[WARNING ] 03:50:00 client:224 Connection to daemon at 127.0.0.1:58846 failed: Connection was refused by other side: 111: Connection refused.
[WARNING ] 03:50:02 client:224 Connection to daemon at 127.0.0.1:58846 failed: Connection was refused by other side: 111: Connection refused.
[WARNING ] 03:50:04 client:224 Connection to daemon at 127.0.0.1:58846 failed: Connection was refused by other side: 111: Connection refused.
[WARNING ] 03:50:06 client:224 Connection to daemon at 127.0.0.1:58846 failed: Connection was refused by other side: 111: Connection refused.
[WARNING ] 03:50:08 client:224 Connection to daemon at 127.0.0.1:58846 failed: Connection was refused by other side: 111: Connection refused.
[WARNING ] 03:50:10 client:224 Connection to daemon at 127.0.0.1:58846 failed: Connection was refused by other side: 111: Connection refused.
[WARNING ] 03:50:12 client:224 Connection to daemon at 127.0.0.1:58846 failed: Connection was refused by other side: 111: Connection refused.
[WARNING ] 03:50:14 client:224 Connection to daemon at 127.0.0.1:58846 failed: Connection was refused by other side: 111: Connection refused.
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Cannot start deluge 1.3.5 on Ubuntu 11.04

Post by Cas »

Did you create the config directory as specified in the script, along with correct permissions?
Post Reply