Daemon Autostart Problems (Ubuntu/Newb)

General support for problems installing or using Deluge
Post Reply
khigh
New User
New User
Posts: 6
Joined: Thu Feb 03, 2011 4:08 am

Daemon Autostart Problems (Ubuntu/Newb)

Post by khigh »

I'm sure I'm missing something, but I can't figure out what it is. My *Nix learning curve is in maybe its third or fourth week as I build a NAS/download box, and I'm sure that's the bulk of my problem.

I want to autostart the daemon with Ubuntu 10.10 to be accessed remotely (the latter part of which is working wonderfully).

I did this... http://dev.deluge-torrent.org/wiki/User ... ipt/Ubuntu

Twice, as a matter of fact.

I did put my username in (inside the quotes), and I followed it all the way to the bottom.

But the daemon's not running when I restart the machine. I have to fire up the client and start the daemon locally via Connection Manager before I can connect to it remotely. Everything's fine from there on out until I restart the machine.

I'd appreciate any pointers as to what I may be overlooking.
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Daemon Autostart Problems (Ubuntu/Newb)

Post by Cas »

You should edit the init and add debug logging so that you can see why it is failing to start.

DAEMON1_ARGS="-d -L debug -l /var/deluged.log"
khigh
New User
New User
Posts: 6
Joined: Thu Feb 03, 2011 4:08 am

Re: Daemon Autostart Problems (Ubuntu/Newb)

Post by khigh »

Thank you for the reply.

I'm doing something horribly wrong, and I just can't tell what.

I took your suggestion and restarted the machine. When I went to view the log, it wasn't there.

I double and triple checked the two files - that I'd pasted them in right, named them properly, etc.

Then I ran the last three lines again.

No errors setting permissions. The second line said there was already a start/stop entry. the third (execution) came back to the prompt with no errors

but - no Daemon is running - not in any way that either the local or remote client can see.

I know I'm overlooking something, or made a simple newb mistake, but I don't even know where to start looking.
khigh
New User
New User
Posts: 6
Joined: Thu Feb 03, 2011 4:08 am

Re: Daemon Autostart Problems (Ubuntu/Newb)

Post by khigh »

How horrible is it just to add deluged to Startup Programs via the GUI?

Because that's working.

I don't want to shoot myself in the foot for later on, though.
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Daemon Autostart Problems (Ubuntu/Newb)

Post by Cas »

it wont restart deluged if it stops/crashes but its fine for a basic way to have it run on startup. you can always revisit the init script later.
nymusicman

Re: Daemon Autostart Problems (Ubuntu/Newb)

Post by nymusicman »

Make sure you have the deluge-web package installed otherwise the deluge-daemon script won't work.
johnti

Re: Daemon Autostart Problems (Ubuntu/Newb)

Post by johnti »

I have the same problem, also with the deluge-web package installed it won't work

got anymore tips?
Post Reply