Raspbian Jessie: Service is not running after a few minutes

Support for the Debian/Ubuntu package, created by JCFP.
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
NotANoobLol
Newbie
Newbie
Posts: 13
Joined: September 12th, 2017, 7:09 pm

Raspbian Jessie: Service is not running after a few minutes

Post by NotANoobLol »

Hey Folks,

first a few Infos:
Raspbian 8 (Jessie) installed.
Current version of SABnzbd: 2.3.0Alpha2
after installing SAByenc via PPA yesterday I'm expeciencing a weird issue.
Usually SABnzbd works as a service including autostart after rebooting/startup the raspberrypi.

I'm experiencing the issue, that the service seems to stop after a while. "sabnzbdplus" shows up in "top" but I can't accsess it via the browser. However IF i can accsess it via the browser the webinterface tells me, that it has lost the connection to the server. Which is werird because it shows up in top...
Screenshot: https://imgur.com/a/Rsf3C

If I restart the service via "sudo service sabnzbdplus restart" it works again for a few Minutes but then I can't accsess it via the browser and the download seems to stop too.

I checked the errorlog in ~/.sabnzbd/logs which was literally empty. Afterwards I checked the regular log but there are only [Info] entries and no errors.
Besides of installing SABYenc yesterday via PPA i have not changed any settings or else.

Since I'm not sure where to look else for hints of errors I'm posting here. I hope someone can help me out here.

Cheers
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Raspbian Jessie: Service is not running after a few minutes

Post by safihre »

Are you able to enter the interface at any time?
What happens if you just start sabnzbdplus from the command line?
Can you start it like this:
sabnzbdplus -l2
This will enable Debug logging and now you should either in the console or in the log files see why it shuts down.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
NotANoobLol
Newbie
Newbie
Posts: 13
Joined: September 12th, 2017, 7:09 pm

Re: Raspbian Jessie: Service is not running after a few minutes

Post by NotANoobLol »

safihre wrote: September 14th, 2017, 11:39 pm Are you able to enter the interface at any time?
What happens if you just start sabnzbdplus from the command line?
Can you start it like this:
sabnzbdplus -l2
This will enable Debug logging and now you should either in the console or in the log files see why it shuts down.
The issue happens again. I used the following command to restart sabnzbdplus again

Code: Select all

sabnzbdplus -l2 >> sabnzbd.log
I'll get back to you as soon as the error shows up again.
NotANoobLol
Newbie
Newbie
Posts: 13
Joined: September 12th, 2017, 7:09 pm

Re: Raspbian Jessie: Service is not running after a few minutes

Post by NotANoobLol »

safihre wrote: September 14th, 2017, 11:39 pm Are you able to enter the interface at any time?
What happens if you just start sabnzbdplus from the command line?
Can you start it like this:
sabnzbdplus -l2
This will enable Debug logging and now you should either in the console or in the log files see why it shuts down.
The issue seems to happen after one nzb is finished and SABnzbd wants to start to download the next in the queue.
I get a "Speicherzugriffsfehler" which translates to memory access error.

But for the record: the harddrive has about 800 GB space left which is more than enough for the file I've downloaded.
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Raspbian Jessie: Service is not running after a few minutes

Post by safihre »

Maybe you can share that part of the logging here so we can better understand?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: Raspbian Jessie: Service is not running after a few minutes

Post by sander »

"Speicherzugriffsfehler" is not a word in/from SABnzbd.

Speicherzugriffsfehler seems to be Segmentation Fault in English. If that is true: a segfault is very bad.

What is the output of "free -m"?
NotANoobLol
Newbie
Newbie
Posts: 13
Joined: September 12th, 2017, 7:09 pm

Re: Raspbian Jessie: Service is not running after a few minutes

Post by NotANoobLol »

safihre wrote: September 16th, 2017, 1:41 am Maybe you can share that part of the logging here so we can better understand?
Unfortunateley my created logfiles for that issue are empty.... I obviously screwed up the command.
But I remember that it was like:

Code: Select all

decoding: NZB:__Admin___
Speicherzugriffsfehler
sander wrote: September 16th, 2017, 4:33 am "Speicherzugriffsfehler" is not a word in/from SABnzbd.

Speicherzugriffsfehler seems to be Segmentation Fault in English. If that is true: a segfault is very bad.

What is the output of "free -m"?
Are you sure? The German translation is very well tbh. Not sure if that changes the Output in the commandline tbh.

Code: Select all

$ free -m
             total       used       free     shared    buffers     cached
Mem:           970        889         81         10         74        150
-/+ buffers/cache:        664        306
Swap:           99         98          1
(CPU Rate is at about 90, the Raspberry is doing stuff.)
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: Raspbian Jessie: Service is not running after a few minutes

Post by sander »

So you have swap (good), but it's almost completely used ... that is not so good. And it might explain memory problems.

Anyway ... back to SABnzbd: let's do it the easy way and just run SABnzbd from the commandline, with logging.
First make sure SABnzbd is not running anymore. Then open a terminal on your Raspi, and in that terminal start SABnzbd:

Code: Select all

sabnzbdplus -l2
Start downloading.
As soon as you have the "Speicherzugriffsfehler", post what's in the terminal here as text or as picture/gif. If the forum does not allow to do that, send me a PM
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: Raspbian Jessie: Service is not running after a few minutes

Post by sander »

@NotANoobLol Does the above work for you?
Post Reply