Forum
[SOLVED] transmission does not auto start - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Additional Packages (/forum-22.html)
+--- Thread: [SOLVED] transmission does not auto start (/thread-2907.html)



transmission does not auto start - supahfly - 28th Mar, 2015 09:43 PM

Hi
I installed the tranmssion package via xbian-config.
If I check the services status, i see autostart is checked but the service never starts during boot.
I checked the /etc/init.d/ script, which works cause I can start it from command line.
I also checked the /etc/rcx.d directories, which indeed contains the services for transmission.

Any idea why the transmission daemon is not starting?

Thx

s.


RE: transmission does not auto start - supahfly - 29th Mar, 2015 04:33 AM

Anyone?


RE: transmission does not auto start - f1vefour - 29th Mar, 2015 04:48 AM

Any errors about transmission when booting up?


RE: transmission does not auto start - supahfly - 29th Mar, 2015 06:36 PM

where would I find those booterrors? I tried adding a log file of transmission in /etc/default/transmission, but failed to do so.


RE: transmission does not auto start - f1vefour - 29th Mar, 2015 10:49 PM

You should see something in dmesg about transmission failing to start.


RE: transmission does not auto start - supahfly - 30th Mar, 2015 01:43 AM

there's nothing in dmesg at all ...
What other log files are there in xbian to check what happens during boot?

I now have the same when trying to add permanent iptables.
I added that as well via update rc.d, rebooted, but no such luck, I have to start it manualy after boot.


RE: transmission does not auto start - f1vefour - 30th Mar, 2015 03:33 AM

Sounds like an upstart issue but I'm unsure.


RE: transmission does not auto start - supahfly - 30th Mar, 2015 04:58 AM

transmission service is not ported to upstart it seems, hence I am using the rc.d mechanism ...
It would have been easier indeed if it was added to upstart.
Can someone point me to some useful log files where I could troubleshoot this issue?


RE: transmission does not auto start - f1vefour - 30th Mar, 2015 05:58 AM

Why not just create an upstart job? This has to be a raspbian issue since it isn't an xbian package, have you checked if anyone on raspbian has the same issue?

I don't know where failed service logs are stored.


RE: transmission does not auto start - f1vefour - 30th Mar, 2015 07:06 AM

Here is one you can edit to suit:

https://launchpadlibrarian.net/113253473/transmission-daemon.upstart

Code:
start on (filesystem and net-device-up IFACE=lo)
stop on runlevel [!2345]

# give time to send info to trackers
kill timeout 30

setuid debian-transmission

respawn

pre-start script

  # stop job from continuing if no config file found for daemon
  [ ! -f /etc/default/transmission-daemon ] && { stop; exit 0; }

  # source the config file
  . /etc/default/transmission-daemon

  # stop job from continuing if admin has not enabled service in
  # config file.
  [ "$ENABLE_DAEMON" != 0 ] || { stop; exit 0; }

end script

script
  . /etc/default/transmission-daemon

  exec /usr/bin/transmission-daemon -f $OPTIONS
end script



RE: transmission does not auto start - supahfly - 31st Mar, 2015 02:33 AM

thanks for that, I tried adding it to /etc/init/transmission, but as you can guess, no good :-).
Damn, the bigger problem is, logging, I have no idea where to find logfiles, and if there are logfiles like the upstart dir, there's nothing useful in there...
Is this a raspbian problem you think?


RE: transmission does not auto start - Peiote - 26th Mar, 2016 11:29 PM

(31st Mar, 2015 02:33 AM)supahfly Wrote:  thanks for that, I tried adding it to /etc/init/transmission, but as you can guess, no good :-).
Damn, the bigger problem is, logging, I have no idea where to find logfiles, and if there are logfiles like the upstart dir, there's nothing useful in there...
Is this a raspbian problem you think?

It autostarts here. Just need to select that option in SSH menu (I know you did it). Fresh reinstall?


RE: transmission does not auto start - supahfly - 8th Jun, 2016 11:47 PM

(26th Mar, 2016 11:29 PM)Peiote Wrote:  
(31st Mar, 2015 02:33 AM)supahfly Wrote:  thanks for that, I tried adding it to /etc/init/transmission, but as you can guess, no good :-).
Damn, the bigger problem is, logging, I have no idea where to find logfiles, and if there are logfiles like the upstart dir, there's nothing useful in there...
Is this a raspbian problem you think?

It autostarts here. Just need to select that option in SSH menu (I know you did it). Fresh reinstall?

I started using raspbian itself, and a happy camper ever since.
I had stability issues with xbian, I had to reboot occasionally, lockups, the startup issue, ...
raspbain runs for several months now without the need for a reboot ...


RE: transmission does not auto start - IriDium - 9th Jun, 2016 04:39 AM


Set to solved as originator has moved to Raspbian