RPi 3 - exit code 217

Stel hier je vragen in het Nederlands.
Je zult sneller (en misschien betere) antwoorden in de engelstalige "boards" krijgen. TIP: je kunt je "profile" ook op Nederlands instellen.
Post Reply
citricemperor
Newbie
Newbie
Posts: 5
Joined: June 9th, 2018, 3:36 am

RPi 3 - exit code 217

Post by citricemperor » June 9th, 2018, 3:41 am

Hallo,

Het lukt mij wel om SABnzbd+ te starten via de GUI, maar als ik het commando

Code: Select all

sudo service sabnzbd restart
uitvoer, krijg ik het volgende te zien:

Code: Select all

[email protected]:~ $ service sabnzbd status
● sabnzbd.service - SABnzbd Usenet Client
   Loaded: loaded (/etc/systemd/system/sabnzbd.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sat 2018-06-09 10:33:45 CEST; 4s ago
  Process: 19510 ExecStop=/usr/bin/pkill sabnzbdplus (code=exited, status=217/USER)
  Process: 19508 ExecStart=/usr/bin/python -OO /usr/bin/sabnzbdplus --browser 0 & (code=exited, status=217/USER)
 Main PID: 19508 (code=exited, status=217/USER)

Jun 09 10:33:45 sabnzbdserver systemd[1]: sabnzbd.service: Main process exited, code=exited, status=217/USER
Jun 09 10:33:45 sabnzbdserver systemd[1]: sabnzbd.service: Control process exited, code=exited status=217
Jun 09 10:33:45 sabnzbdserver systemd[1]: sabnzbd.service: Unit entered failed state.
Jun 09 10:33:45 sabnzbdserver systemd[1]: sabnzbd.service: Failed with result 'exit-code'.
Jun 09 10:33:45 sabnzbdserver systemd[1]: sabnzbd.service: Service hold-off time over, scheduling restart.
Jun 09 10:33:45 sabnzbdserver systemd[1]: Stopped SABnzbd Usenet Client.
Jun 09 10:33:45 sabnzbdserver systemd[1]: sabnzbd.service: Start request repeated too quickly.
Jun 09 10:33:45 sabnzbdserver systemd[1]: Failed to start SABnzbd Usenet Client.
Jun 09 10:33:45 sabnzbdserver systemd[1]: sabnzbd.service: Unit entered failed state.
Jun 09 10:33:45 sabnzbdserver systemd[1]: sabnzbd.service: Failed with result 'exit-code'.
Wie kan mij hierbij helpen?

User avatar
safihre
Administrator
Administrator
Posts: 2606
Joined: April 30th, 2015, 7:35 am
Location: Switzerland
Contact:

Re: RPi 3 - exit code 217

Post by safihre » June 9th, 2018, 4:59 am

Did you set the user correctly? See at the bottom of the page https://sabnzbd.org/wiki/installation/i ... buntu-repo

citricemperor
Newbie
Newbie
Posts: 5
Joined: June 9th, 2018, 3:36 am

Re: RPi 3 - exit code 217

Post by citricemperor » June 10th, 2018, 7:35 am

Yes. I have USER=pi

User avatar
jcfp
Release Testers
Release Testers
Posts: 874
Joined: February 7th, 2008, 12:45 pm

Re: RPi 3 - exit code 217

Post by jcfp » June 10th, 2018, 5:57 pm

Probleem is dat hier geen gebruik gemaakt wordt van het in het pakket meegeleverde init.d script (dat geconfigureerd wordt via /etc/default/sabnzbdplus), maar van een zelf toegevoegde systemd service. En die bevat dus een en ander aan fouten. Zie verder dit onderwerp.

Post Reply