Page 1 of 1

qbittorrent service doesn't start on raspberry pi

Posted: Mon Dec 08, 2014 7:49 am
by grorel
Hi all, I have followed the tuto below to install qbittorrent-nox on my raspberry pi with RaspBMC.

https://github.com/qbittorrent/qBittorrent/wiki/Setting-up-qBittorrent-on-Ubuntu-server-as-daemon-with-Web-interface

I have a problem starting the service. There is the console output :
pi@raspbmc:~$ sudo service qbittorrent start
[....] Starting QBittorrent: qbittorrent-noxLogging to /var/log/qbittorrent-nox.log.
. ok
pi@raspbmc:~$ sudo service qbittorrent status
[FAIL] qbittorrent-nox is not running ... failed!
The /var/log/qbittorrent-nox.log file is empty and I don't know how to start to resolve the problem.
Any help or advice is much appreciated.

Thank you.

Re: qbittorrent service doesn't start on raspberry pi

Posted: Mon Dec 08, 2014 1:28 pm
by sledgehammer_999
try running qbittorrent-nox by itself to see the real output.
eg issue: "qbittorrent-nox" in a terminal.

Re: qbittorrent service doesn't start on raspberry pi

Posted: Mon Dec 08, 2014 8:52 pm
by grorel
hi and thanks taking time to answer my noob question.

Actually there were an error in the tuto I use on the lines :
start-stop-daemon --start --chuid $USER --test --quiet --make-pidfile --pidfile $PIDFILE --background --exec /bin/bash -- -c "$DAEMONSTRING" || return 1

    start-stop-daemon --start --chuid $USER --make-pidfile --pidfile $PIDFILE --background --exec bin/bash -- -c "$DAEMONSTRING" || return 2
I change them by :
start-stop-daemon --start --chuid $USER --test --quiet --make-pidfile --pidfile $PIDFILE -background --exec "$DAEMON" || return 1

    start-stop-daemon --start --chuid $USER --make-pidfile --pidfile $PIDFILE --background --exec "$DAEMON" || return 2
and it works.

Problem solved.