[SOLVED] 1.91 doesn't start as a service on Ubuntu 9.04

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Locked
p2ranger
Posts: 5
Joined: Wed Feb 24, 2010 2:18 pm

[SOLVED] 1.91 doesn't start as a service on Ubuntu 9.04

Post by p2ranger »

I'm using Ubuntu 9.04 server edition. I was able to get transmission to run under the canonical version (1.51 I think). When I updated to the latest, 1.91, I can't get transmission to run. I completely deleted everything and did another install. When I type:

sudo /etc/init.d/transmission-daemon start

sudo /etc/init.d/transmission-daemon stop

nothing happens, it just goes to the next command prompt. I normally says its stopping or starting the daemon. Also, it doesn't generate a settings.json file. When I go to the URL to view torrents, it gives me a page not found. It appears to me that it isn't running the daemon.

Any help would be greatly apprecaited.

Thanks

Jason
Jordan
Transmission Developer
Posts: 2312
Joined: Sat May 26, 2007 3:39 pm
Location: Titania's Room

Re: 1.91 won't start

Post by Jordan »

is the transmission-daemon process running?
p2ranger
Posts: 5
Joined: Wed Feb 24, 2010 2:18 pm

Re: 1.91's daemon doesn't start as a service on Ubuntu 9.04

Post by p2ranger »

No, it won't run
kklimonda
Posts: 7
Joined: Mon Aug 03, 2009 9:00 pm

Re: 1.91's daemon doesn't start as a service on Ubuntu 9.04

Post by kklimonda »

Thank you for the report. Where did you get your Transmission from? Can you paste a result of the following commands somewhere:

Code: Select all

apt-cache policy transmission-daemon
md5sum /etc/init.d/transmission-daemon
I'm going to test it in Jaunty tonight but it doesn't sound like something we've messed up.. :/
p2ranger
Posts: 5
Joined: Wed Feb 24, 2010 2:18 pm

Re: 1.91's daemon doesn't start as a service on Ubuntu 9.04

Post by p2ranger »

Here is the results:
transmission-daemon:
Installed: (none)
Candidate: 1.91-0ubuntu1.09.04.1
Version table:
1.91-0ubuntu1.09.04.1 0
500 http://ppa.launchpad.net jaunty/main Packages
1.51-0ubuntu3.1 0
500 http://us.archive.ubuntu.com jaunty-updates/universe Packages
500 http://security.ubuntu.com jaunty-security/universe Packages
100 /var/lib/dpkg/status
1.51-0ubuntu3 0
500 http://us.archive.ubuntu.com jaunty/universe Packages

f369473fc3b05e66d886cf872c66d92b /etc/init.d/transmission-daemon
I have to admit, I'm new and don't know much about linux. I use apt-get and let it do everything to install stuff. I followed another posters instructions on how to get the current version by doing this:

Code: Select all

sudo tee /etc/apt/sources.list.d/transmission.list << EOF
deb http://ppa.launchpad.net/transmissionbt/ubuntu jaunty main
deb-src http://ppa.launchpad.net/transmissionbt/ubuntu jaunty main
EOF
gpg --keyserver keyserver.ubuntu.com --recv 976b5901365c5ca1
gpg --export --armor 976b5901365c5ca1 | sudo apt-key add -
If there is another way to get the current version from you, I don't know how to do it

Thanks

Jason
kklimonda
Posts: 7
Joined: Mon Aug 03, 2009 9:00 pm

Re: 1.91's daemon doesn't start as a service on Ubuntu 9.04

Post by kklimonda »

Hmm.. that's weird - you don't have a daemon installed but you still do have an old init script from Jaunty.
Can you install daemon by using

Code: Select all

apt-get install transmission-daemon
It should make it work again.
p2ranger
Posts: 5
Joined: Wed Feb 24, 2010 2:18 pm

Re: 1.91's daemon doesn't start as a service on Ubuntu 9.04

Post by p2ranger »

Well, that did get it to instal and have the transmission daemon running. However, it doesn't create a settings.json file. I've started and stopped and started it and there is no file. I even tried creating my own file from a prior installation when it was working. Then I tried the web interface and I get a 403:Forbidden screen.

Thanks

Jason
Longinus00
Posts: 137
Joined: Fri Aug 21, 2009 5:46 am

Re: 1.91's daemon doesn't start as a service on Ubuntu 9.04

Post by Longinus00 »

What user are you running transmission-daemon as in your init script?
kklimonda
Posts: 7
Joined: Mon Aug 03, 2009 9:00 pm

Re: 1.91's daemon doesn't start as a service on Ubuntu 9.04

Post by kklimonda »

So by default transmission-daemon in Debian and Ubuntu uses a different folder (and a different user) for configuration. Your config should be in the /var/lib/transmission-daemon/info/ folder owned by debian-transmission user.
p2ranger
Posts: 5
Joined: Wed Feb 24, 2010 2:18 pm

Re: 1.91's daemon doesn't start as a service on Ubuntu 9.04

Post by p2ranger »

Thanks so much for the help. There was a settings.json file there and it works now. Previously, it had the file in /etc/transmission-daemon/settings.json
It is running under debain-transmission as the user.

It all works fine now.

Thanks again for the help

Jason
Locked