Link to home
Start Free TrialLog in
Avatar of Mike Caldwell
Mike CaldwellFlag for United States of America

asked on

Getting "permission denied" trying to launch Deluge daemon under Ubuntu 14.04

Deluge GUI runs fine, but cannot connect to the daemon.  So I tried launching the daemon, and got this:

mikec@FamilyRoom:~$ deluged
mikec@FamilyRoom:~$ Traceback (most recent call last):
  File "/usr/bin/deluged", line 9, in <module>
    load_entry_point('deluge==1.3.11', 'console_scripts', 'deluged')()
  File "/usr/lib/python2.7/dist-packages/deluge/main.py", line 214, in start_daemon
    open_logfile()
  File "/usr/lib/python2.7/dist-packages/deluge/main.py", line 196, in open_logfile
    file_handler = FileHandler(options.logfile)
  File "/usr/lib/python2.7/logging/__init__.py", line 903, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python2.7/logging/__init__.py", line 928, in _open
    stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/home/mikec/.config/deluge/deluged.log'

I know little about Linux (my son set this up), but this looks like the daemon launched but the log did not open, which I really wouldn't care about.  But the GUI still will not connect to the daemon.  On the GUI "Start daemon" is grayed out.
ASKER CERTIFIED SOLUTION
Avatar of Justin Paul
Justin Paul

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mike Caldwell

ASKER

rTorrent, etc, seem to be high performance, but also is not as canned as I would need.  The documentation provides the commands, flags, etc, to make it do what the user wants; I have no idea how to do any of those.

After problems with Ubuntu 15.04, I wiped it clean and started all over with a fresh installation of 14.04 that I did myself, then installed Deluge.  My problem is that I get the GUI, but it is not connected to the daemon, and it seems I cannot start the daemon because it is already started.  So I guess my problem is the connection, not starting it.  I am guessing I have a port issue, but don't know how to deal with that.
With transmission preinstalled why should you try to use other client?
What is transmission?
gnome torrent client?
Transmission was not preinstalled, but was in the Ubuntu library.  As with rTorrent it appears to require more Linux knowledge than I have.  I already have Deluge installed on a different machine, so familiar with how to use it.  I really want to stay with a package I have had experience with and know, so I would like to get back to my question: how to overcome the permission issue with the Deluge daemon.