5

For no reason I can think of Nzbget has stopped running. I have changed nothing and the service just stopped and refused to restart.

 sudo systemctl status nzbget -l
 * nzbget.service - NZBGet Daemon
 Loaded: loaded (/etc/systemd/system/nzbget.service; enabled)
 Active: failed (Result: start-limit) since Sun 2016-05-01 06:23:27 BST; 2min 46s ago
Process: 596 ExecStop=/opt/nzbget/nzbget -Q (code=exited, status=0/SUCCESS)  Process: 586 ExecStart=/opt/nzbget/nzbget -c /opt/nzbget/nzbget.conf -D (code=exited, status=0/SUCCESS)
 Main PID: 588 (code=killed, signal=ABRT)

May 01 06:23:27 osmc systemd[1]: Unit nzbget.service entered failed state.
May 01 06:23:27 osmc systemd[1]: nzbget.service start request repeated too quickly, refusing to start.
May 01 06:23:27 osmc systemd[1]: Failed to start NZBGet Daemon.
May 01 06:23:27 osmc systemd[1]: Unit nzbget.service entered failed state.

Here is the log;

osmc@osmc:~/Downloads$ 
cat nzbget.log 
Sun May 1 06:38:44 2016 INFO nzbget 16.4 daemon-mode 
Sun May 1 06:38:44 2016 INFO nzbget 16.4 daemon-mode 
Sun May 1 06:38:45 2016 INFO nzbget 16.4 daemon-mode 
Sun May 1 06:38:45 2016 INFO nzbget 16.4 daemon-mode 
Sun May 1 06:38:46 2016 INFO nzbget 16.4 daemon-mode

Here's the service;

[Unit]
Description=NZBGet Daemon
After=network.target
RequiresMountsFor=/mnt/

[Service]
User=osmc
Group=osmc
Type=forking
ExecStart=/opt/nzbget/nzbget -c /opt/nzbget/nzbget.conf -D
ExecStop=/opt/nzbget/nzbget -Q
ExecReload=/opt/nzbget/nzbget -O
KillMode=process
Restart=on-failure

[Install]
WantedBy=multi-user.target
  • Does the service log somewhere other than stdout? – jordanm May 1 '16 at 5:39
  • 3
    journalctl _PID=588... – jasonwryan May 1 '16 at 6:11
  • 1
    Can you post systemctl cat nzbget.service? – zhenech May 1 '16 at 6:29
1

Weird one. I removed all files in the following folders;

Nzb, intermediate, queue

Restarted the service and that did the trick. No idea why but it's now all working again

| improve this answer | |
  • Please state the directories more clearly. – Fiximan Nov 5 '19 at 9:03
  • Thanks, same case here +1 – Valentin Petkov Apr 25 at 3:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.