Page 1 of 3

Sabnzbd crashes (SSL ?)

Posted: May 16th, 2011, 4:40 am
by hyperbart
I'm running Sabnzbd+ 0.5.4 for a while now... Recently I noticed Sab crashes... Don't know what causes this. I use Astraweb EU with SSL...

Sab is feeded with NZB's from CouchPotato or Sick Beard...

This is my errlog:

http://mibpaste.com/Qy6d7t

Re: Sabnzbd crashes (SSL ?)

Posted: May 16th, 2011, 4:47 am
by shypike
SSL depends mostly on the OpenSSL libraries.
Check if there are any updates available for your OS.
Also the PyOpenSSL Python modules requires a recent version (0.10 or 0.11).

The scheduler error sometimes occurs on shutdown of SABnzbd, it's not
related or relevant.
The email deprecated warning is just that, a warning telling that a later
release of Python may drop support. Also unrelated.

Re: Sabnzbd crashes (SSL ?)

Posted: May 16th, 2011, 5:37 am
by hyperbart
My Sab runs on Ubuntu 11.04

I did a "sudo apt-get update and upgrade", couple of packages about https transport, but not really something about openssl...

How can i update/check/reinstall the PyOpenSSL Python modules?

Btw: I also installed the packages listed here:
https://launchpad.net/ubuntu/natty/+source/pyopenssl

python-openssl: Python wrapper around the OpenSSL library
python-openssl-dbg: Python wrapper around the OpenSSL library (debug extension)
python-openssl-doc: Python wrapper around the OpenSSL library (documentation package)

python-openssl was already installed...

Re: Sabnzbd crashes (SSL ?)

Posted: May 16th, 2011, 7:24 am
by sander
Running "sudo apt-get install sabnzbdplus" should take care of all repositories...

Re: Sabnzbd crashes (SSL ?)

Posted: May 17th, 2011, 4:31 am
by hyperbart

Code: Select all

bart@pyro:~$ sudo apt-get install sabnzbdplus
[sudo] password for bart:
Reading package lists... Done
Building dependency tree
Reading state information... Done
sabnzbdplus is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Can i log anything more or something? Really would like to know what's going on...

Re: Sabnzbd crashes (SSL ?)

Posted: May 17th, 2011, 5:06 am
by sander
When does the crash happen? At SAB startup, or during all downloads, or during a specific download, or ... ?

Re: Sabnzbd crashes (SSL ?)

Posted: May 17th, 2011, 6:34 am
by hyperbart
During downloads... I have a couple of downloads which were started/pushed from Couch Potato...

It never crashed before... Maybe one or more NZB's are corrupted, I don't know, but when it is downloading it crashes...

Re: Sabnzbd crashes (SSL ?)

Posted: May 17th, 2011, 7:04 am
by hyperbart
For those who want it, I've backupped my NZB's which are being downloaden when Sab crashes... So somebody can test with the same setup... (I'm using Astraweb with their EU server btw...)

Re: Sabnzbd crashes (SSL ?)

Posted: May 17th, 2011, 8:06 am
by sander
hyperbart wrote: For those who want it, I've backupped my NZB's which are being downloaden when Sab crashes... So somebody can test with the same setup... (I'm using Astraweb with their EU server btw...)
Can you post the NZB somewhere?

Re: Sabnzbd crashes (SSL ?)

Posted: May 17th, 2011, 8:31 am
by hyperbart
Yeah, no problem... But I think it's against forum rules to post NZB's on the forum itself...

I'll send you a PM with a link in it...

Re: Sabnzbd crashes (SSL ?)

Posted: May 18th, 2011, 3:39 am
by hyperbart
And once again my Sab crashed this night...

Re: Sabnzbd crashes (SSL ?)

Posted: May 20th, 2011, 2:36 am
by hyperbart
Crashed again this night... Can i do something about it, reinstall sab clean? How do I do that?

Re: Sabnzbd crashes (SSL ?)

Posted: May 20th, 2011, 3:17 am
by sander
hyperbart wrote: Crashed again this night... Can i do something about it, reinstall sab clean? How do I do that?
I think the crashes are caused by additional libraries you've installed. I don't know how to de-install them.

So, as a test, I would run Ubuntu from a live-USB-stick, install SABnzbd (via Software Center: sabnzbdplus), do NOT install additional stuff, start downloading, and see if it crashes. I don't expect SAB to crash.

Re: Sabnzbd crashes (SSL ?)

Posted: May 20th, 2011, 3:28 am
by hyperbart
But the problem is, I didn't install (or don't know which) libraries...

The server is a VM, solely acting as my download server with Couch Potato, Sick Beard, Sabnzbd+ and Periscope... That's all...
If i need a server with other functionality, i'll set up another VM on my ESXi...

The only command i ever ran about modules and python related was something like:

Code: Select all

python -c "import xdg.BaseDirectory as bd"

Re: Sabnzbd crashes (SSL ?)

Posted: May 20th, 2011, 3:46 am
by sander
hyperbart wrote: But the problem is, I didn't install (or don't know which) libraries...

The server is a VM, solely acting as my download server with Couch Potato, Sick Beard, Sabnzbd+ and Periscope... That's all...
If i need a server with other functionality, i'll set up another VM on my ESXi...

The only command i ever ran about modules and python related was something like:

Code: Select all

python -c "import xdg.BaseDirectory as bd"

Ah, a VM. That's good: just create a new VM, with a fresh Ubuntu install, and then install SABnzbd(plus). Do *not* install other software; first just Ubuntu + SABnzbd. It will work.