Im having an issue on a new box I setup with ubuntu 15.04. Using this tutorial. https://github.com/qbittorrent/qBittorrent/wiki/Running-qBittorrent-without-X-server
when I run "sudo service qbittorrent-nox-daemon start" it returns this error "Job for qbittorrent-nox-daemon.service failed. See "systemctl status qbittorrent-nox-daemon.service" and "journalctl -xe" for details."
when I run "systemctl status qbittorrent-nox-daemon.service" it returns:
? qbittorrent-nox-daemon.service - (null)
Loaded: loaded (/etc/init.d/qbittorrent-nox-daemon)
Active: failed (Result: exit-code) since Wed 2015-05-13 11:02:05 EDT; 3min 24s ago
Docs: man:systemd-sysv-generator(8)
Process: 26568 ExecStart=/etc/init.d/qbittorrent-nox-daemon start (code=exited, status=1/FAILURE)
May 13 11:02:05 fileserver systemd[1]: Starting (null)...
May 13 11:02:05 fileserver systemd[1]: qbittorrent-nox-daemon.service: control process exited, code=exited status=1
May 13 11:02:05 fileserver systemd[1]: Failed to start (null).
May 13 11:02:05 fileserver systemd[1]: Unit qbittorrent-nox-daemon.service entered failed state.
May 13 11:02:05 fileserver systemd[1]: qbittorrent-nox-daemon.service failed.
when i run "journalctl -xe" it returns this:
May 13 10:57:09 fileserver sshd[26485]: Received disconnect from 221.229.166.4: 11: [preauth]
May 13 10:57:09 fileserver sshd[26485]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=221.229.166.4 user=root
May 13 10:57:17 fileserver sshd[26488]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=221.229.166.4 user=root
May 13 10:57:19 fileserver sshd[26488]: Failed password for root from 221.229.166.4 port 54499 ssh2
May 13 10:57:22 fileserver sshd[26488]: Failed password for root from 221.229.166.4 port 54499 ssh2
May 13 10:57:24 fileserver sshd[26488]: Failed password for root from 221.229.166.4 port 54499 ssh2
May 13 10:57:24 fileserver sshd[26488]: Received disconnect from 221.229.166.4: 11: [preauth]
May 13 10:57:24 fileserver sshd[26488]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=221.229.166.4 user=root
May 13 10:57:30 fileserver sshd[26491]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=221.229.166.4 user=root
May 13 10:57:32 fileserver sshd[26491]: Failed password for root from 221.229.166.4 port 44945 ssh2
May 13 10:57:34 fileserver sshd[26491]: Failed password for root from 221.229.166.4 port 44945 ssh2
May 13 10:57:39 fileserver sshd[26491]: Failed password for root from 221.229.166.4 port 44945 ssh2
May 13 10:57:40 fileserver sshd[26491]: Received disconnect from 221.229.166.4: 11: [preauth]
May 13 10:57:40 fileserver sshd[26491]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=221.229.166.4 user=root
May 13 10:57:44 fileserver sshd[26494]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=221.229.166.4 user=root
May 13 10:57:46 fileserver sshd[26494]: Failed password for root from 221.229.166.4 port 39756 ssh2
May 13 10:57:48 fileserver sshd[26494]: Failed password for root from 221.229.166.4 port 39756 ssh2
May 13 10:57:51 fileserver sshd[26494]: Failed password for root from 221.229.166.4 port 39756 ssh2
May 13 10:57:51 fileserver sshd[26494]: Received disconnect from 221.229.166.4: 11: [preauth]
May 13 10:57:51 fileserver sshd[26494]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=221.229.166.4 user=root
May 13 11:01:31 fileserver sudo[26470]: pam_unix(sudo:session): session closed for user root
May 13 11:01:42 fileserver sudo[26519]: chris : TTY=pts/0 ; PWD=/home/chris ; USER=root ; COMMAND=/bin/chmod 755 /etc/init.d/qbittorrent-nox-daemon
May 13 11:01:42 fileserver sudo[26519]: pam_unix(sudo:session): session opened for user root by chris(uid=0)
May 13 11:01:42 fileserver sudo[26519]: pam_unix(sudo:session): session closed for user root
May 13 11:01:48 fileserver sudo[26522]: chris : TTY=pts/0 ; PWD=/home/chris ; USER=root ; COMMAND=/usr/sbin/update-rc.d qbittorrent-nox-daemon defaults
May 13 11:01:48 fileserver sudo[26522]: pam_unix(sudo:session): session opened for user root by chris(uid=0)
May 13 11:01:49 fileserver polkitd(authority=local)[623]: Registered Authentication Agent for unix-process5054809 (system bus name :1.12 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-
May 13 11:01:49 fileserver systemd[1]: Reloading.
May 13 11:01:49 fileserver polkitd(authority=local)[623]: Unregistered Authentication Agent for unix-process5054809 (system bus name :1.12, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
May 13 11:01:49 fileserver sudo[26522]: pam_unix(sudo:session): session closed for user root
May 13 11:02:05 fileserver sudo[26542]: chris : TTY=pts/0 ; PWD=/home/chris ; USER=root ; COMMAND=/usr/sbin/service qbittorrent-nox-daemon start
May 13 11:02:05 fileserver sudo[26542]: pam_unix(sudo:session): session opened for user root by chris(uid=0)
May 13 11:02:05 fileserver polkitd(authority=local)[623]: Registered Authentication Agent for unix-process5056403 (system bus name :1.13 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-
May 13 11:02:05 fileserver systemd[1]: Starting (null)...
-- Subject: Unit qbittorrent-nox-daemon.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit qbittorrent-nox-daemon.service has begun starting up.
May 13 11:02:05 fileserver systemd[1]: qbittorrent-nox-daemon.service: control process exited, code=exited status=1
May 13 11:02:05 fileserver systemd[1]: Failed to start (null).
-- Subject: Unit qbittorrent-nox-daemon.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit qbittorrent-nox-daemon.service has failed.
--
-- The result is failed.
May 13 11:02:05 fileserver systemd[1]: Unit qbittorrent-nox-daemon.service entered failed state.
May 13 11:02:05 fileserver systemd[1]: qbittorrent-nox-daemon.service failed.
May 13 11:02:05 fileserver polkitd(authority=local)[623]: Unregistered Authentication Agent for unix-process5056403 (system bus name :1.13, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
May 13 11:02:05 fileserver sudo[26542]: pam_unix(sudo:session): session closed for user root
May 13 11:05:37 fileserver sshd[26593]: Address 212.75.150.91 maps to uttk-212-75-150-ip91, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!
May 13 11:05:37 fileserver sshd[26593]: Invalid user brett from 212.75.150.91
May 13 11:05:37 fileserver sshd[26593]: input_userauth_request: invalid user brett [preauth]
May 13 11:05:37 fileserver sshd[26593]: pam_unix(sshd:auth): check pass; user unknown
May 13 11:05:37 fileserver sshd[26593]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=212.75.150.91
May 13 11:05:38 fileserver sshd[26593]: Failed password for invalid user brett from 212.75.150.91 port 37096 ssh2
May 13 11:05:38 fileserver sshd[26593]: Connection closed by 212.75.150.91 [preauth]
any idea on what Im doing wrong?
Installing on Ubuntu 15.04 server?
Installing on Ubuntu 15.04 server?
Last edited by Roseysdaddy on Wed May 13, 2015 3:09 pm, edited 1 time in total.
Re: Installing on Ubuntu 15.04 server?
Ubuntu 15.04 uses systemd, while <14.10 used a different init system.
The wiki will need to be updated.
Stay tuned.
(I will take a look at it.)
The wiki will need to be updated.
Stay tuned.
(I will take a look at it.)
Re: Installing on Ubuntu 15.04 server?
Thank you for all your help. I really appreciate everything you do.
Re: Installing on Ubuntu 15.04 server?
Well I spent quite some time with the script yesterday.
It looks so simple (add Service file for Systemd, copy the script in, launch service), yet it fails.
Best thing? Systemd tells you _nothing_.
While both Debian and Ubuntu had verbose messages about what went wrong at times like this, you get "returned 1" with Systemd.
Anyway. I will try to fix it today.
It looks so simple (add Service file for Systemd, copy the script in, launch service), yet it fails.
Best thing? Systemd tells you _nothing_.
While both Debian and Ubuntu had verbose messages about what went wrong at times like this, you get "returned 1" with Systemd.
Anyway. I will try to fix it today.
Re: Installing on Ubuntu 15.04 server?
Not to rush anything.
But is there any progress?
But is there any progress?
Re: Installing on Ubuntu 15.04 server?
Created a systemd service
create a qbittorrent-nox.service in /etc/systemd/system
Below contents of my qbittorrent-now.service:
[Unit]
Description=qBittorrent-nox
After=network.target
[Service]
User=administrator
ExecStart=/usr/bin/qbittorrent-nox --webui-port=8084
ExecStop=/usr/bin/qbittorrent-nox -X quit
[Install]
WantedBy=multi-user.target
Change User= in user your qbittorrent is running on
if you want default port remove --webuiport=8084
After creating file do
systemctl enable qbittorrent-nox.service
systemctl start qbittorrent-nox.service
To see status type
systemctl start qbittorrent-nox.service
Prefferences are not remembered.
Like changing username and password.
Perhaps something to work on further.
create a qbittorrent-nox.service in /etc/systemd/system
Below contents of my qbittorrent-now.service:
[Unit]
Description=qBittorrent-nox
After=network.target
[Service]
User=administrator
ExecStart=/usr/bin/qbittorrent-nox --webui-port=8084
ExecStop=/usr/bin/qbittorrent-nox -X quit
[Install]
WantedBy=multi-user.target
Change User= in user your qbittorrent is running on
if you want default port remove --webuiport=8084
After creating file do
systemctl enable qbittorrent-nox.service
systemctl start qbittorrent-nox.service
To see status type
systemctl start qbittorrent-nox.service
Prefferences are not remembered.
Like changing username and password.
Perhaps something to work on further.
Re: Installing on Ubuntu 15.04 server?
[quote="Junktroep"]
Prefferences are not remembered.
Like changing username and password.
Perhaps something to work on further.
[/quote]
Have same problem here.
Any news?
Prefferences are not remembered.
Like changing username and password.
Perhaps something to work on further.
[/quote]
Have same problem here.
Any news?