[LINUX] Unable to connect to Upstart

General support for problems installing or using Deluge
Post Reply
snakyjake
New User
New User
Posts: 3
Joined: Sat Sep 19, 2015 7:32 pm

[LINUX] Unable to connect to Upstart

Post by snakyjake »

I am installing Deluge on Ubuntu Linux using these instructions:
http://dev.deluge-torrent.org/wiki/User ... ce/Upstart

I'm receiving the error when trying to "Starting (and stopping) Upstart Script":

Code: Select all

start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
Any hints on how to troubleshoot this error message?

Ubuntu 15.04
Thanks.
Shryp
Moderator
Moderator
Posts: 521
Joined: Mon Apr 20, 2015 10:20 pm

Re: [LINUX] Unable to connect to Upstart

Post by Shryp »

Are you doing something special with your client or just trying to get it to run?

If you just want a functioning client go with the built in update manager.
http://dev.deluge-torrent.org/wiki/Inst ... Repository

Basically, you can just use the version that comes with it, or you can add the PPA and get the latest.

Code: Select all

sudo add-apt-repository ppa:deluge-team/ppa
sudo apt-get update
sudo apt-get install deluge
snakyjake
New User
New User
Posts: 3
Joined: Sat Sep 19, 2015 7:32 pm

Re: [LINUX] Unable to connect to Upstart

Post by snakyjake »

I'm running Ubuntu without the Desktop GUI, so I want to access deluge remotely from a web client.

I'm trying to:
1) Install Deluge as a server/service.
2) Access Deluge remotely from web UI.
snakyjake
New User
New User
Posts: 3
Joined: Sat Sep 19, 2015 7:32 pm

Re: [LINUX] Unable to connect to Upstart

Post by snakyjake »

It appears there's three ways to install Deluge: systemd, upstart, init.d. See link.

I'm now trying systemd, because I presume I have a "modern" version of Ubuntu.
societyb
New User
New User
Posts: 2
Joined: Sat Oct 17, 2015 2:39 am

Re: [LINUX] Unable to connect to Upstart

Post by societyb »

Were you able to get systemd working? After updating from Ubuntu 14 to 15 I got the same errors trying to run it with upstart. I tried migrating to systemd using the provided guide: http://dev.deluge-torrent.org/wiki/User ... ce/systemd.

However, deluge still will not start.

Code: Select all

:/etc/systemd/system# systemctl start deluged
Failed to start deluged.service: Unit deluged.service failed to load: No such file or directory.
I changed the permissions on the service files just in case but no go. (also did not work if I added them to the deluge user / group)

Code: Select all

:/etc/systemd/system$ ls -l |grep deluge
-rwxrwxr-x 1 root root  351 Oct 16 22:22 deluged.service
-rwxrwxr-x 1 root root  234 Oct 16 22:18 deluge-web.service
Checked to make sure deluge binaries were still present

Code: Select all

:/usr/bin$ ls -l |grep deluge
-rwxr-xr-x 1 root   root        292 Apr  5  2015 deluge
-rwxr-xr-x 1 root   root        302 Apr  5  2015 deluged
-rwxr-xr-x 1 root   root        300 Apr  5  2015 deluge-gtk
-rwxr-xr-x 1 root   root        308 Apr  5  2015 deluge-web
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: [LINUX] Unable to connect to Upstart

Post by Cas »

There is no issue with the service file, I think you have made a mistake creating the file, you should delete it and try again. The permissions only need to be 644 for service files. I have tested this on Ubuntu 15.10 and see no issues starting or stopping a deluged systemd service.
societyb
New User
New User
Posts: 2
Joined: Sat Oct 17, 2015 2:39 am

Re: [LINUX] Unable to connect to Upstart

Post by societyb »

Thank you, I checked the service file and didn't see anything different about it but deleting and recreating it worked.
Post Reply