SABnzbd Version: 1.1.1 crashed

Report & discuss bugs found in SABnzbd
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.
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: SABnzbd Version: 1.1.1 crashed

Post by safihre »

The ports were bound wrongly since SAB 1.0.0 for HTTPS (also bound HTTP incorrectly), we fixed that now.
Does it work if you leave the host empty? Then it will try to bind to the actual IP.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
JobbeDeluxe
Newbie
Newbie
Posts: 21
Joined: December 28th, 2010, 10:56 am

Re: SABnzbd Version: 1.1.1 crashed

Post by JobbeDeluxe »

i set host total blank and it start like it should! Perfekt!
But my install Version i have from PPA is not starting. it make the host again to 0.0.0.0. doesn't metter what i set.

OK now i got it!

i changed the /etc/default/sabnzbdplus
from HOST=0.0.0.0 to Host=

Now it works again Perfectly.
THANKS for the Support! I will test some more if you want, but i thing that is an Solution that is ok. Should came to the wiki ;)
May it works with the satic ip or hostname also.
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: SABnzbd Version: 1.1.1 crashed

Post by safihre »

I hope JCFP or Sander can maybe give some insights why it's going wrong. I tried your host settings on my Ubuntu, but it works fine. Probably it's a small difference in setup..
Great it worked! O0

For now we'll have to keep this in mind in case others report problems.
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: 8830
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd Version: 1.1.1 crashed

Post by sander »

safihre wrote: For some reason, we can't in case of 127.0.1.1.
Why is 127.0.1.1 there anyway? Do you need it?
That's Debian/Ubuntu standard. See https://www.debian.org/doc/manuals/debi ... resolution
127.0.0.1 localhost
127.0.1.1 <host_name>

The IP address 127.0.1.1 in the second line of this example may not be found on some other Unix-like systems. The Debian Installer creates this entry for a system without a permanent IP address as a workaround for some software (e.g., GNOME) as documented in the bug #719621.

The <host_name> matches the hostname defined in the "/etc/hostname".
The OP has something different:

127.0.0.1 localhost
127.0.1.1 localhost

So no real host_name. I tried on my Ubuntu if that was the cause, but I can't reproduce the SAB problem. However, @OP: what is your /etc/hostname, and can you put that name in the 127.0.1.1 line in /etc/hosts, and then try to reproduce the SAB problem?
JobbeDeluxe
Newbie
Newbie
Posts: 21
Joined: December 28th, 2010, 10:56 am

Re: SABnzbd Version: 1.1.1 crashed

Post by JobbeDeluxe »

I have set the hosts file to 127.0.1.1 <host_name> (yes i put the real host name in there ;)) and ist startet with the HOST=0.0.0.0 config like is should.

here are the logs:

Code: Select all

2016-11-14 21:08:47,004::INFO::[sabnzbdplus:1218] --------------------------------
2016-11-14 21:08:47,021::INFO::[sabnzbdplus:1219] sabnzbdplus-1.1.1 (rev=33a7874416d8a8cc6a0d1e3f8d1e4042f2762d81)
2016-11-14 21:08:47,021::INFO::[sabnzbdplus:1220] Full executable path = /usr/bin/sabnzbdplus
2016-11-14 21:08:47,021::INFO::[sabnzbdplus:1232] Platform = posix
2016-11-14 21:08:47,021::INFO::[sabnzbdplus:1233] Python-version = 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2]
2016-11-14 21:08:47,021::INFO::[sabnzbdplus:1234] Arguments = /usr/bin/sabnzbdplus --daemon --pidfile /var/run/sabnzbdplus/pid --server 0.0.0.0
2016-11-14 21:08:47,021::INFO::[sabnzbdplus:1236] Preferred encoding = UTF-8
2016-11-14 21:08:47,022::INFO::[sabnzbdplus:1284] Read INI file /home/sab/.sabnzbd/sabnzbd.ini
2016-11-14 21:08:47,163::INFO::[__init__:946] Loading data for rss_data.sab from /home/sab/.sabnzbd/admin/rss_data.sab
2016-11-14 21:08:47,163::INFO::[__init__:946] Loading data for totals10.sab from /home/sab/.sabnzbd/admin/totals10.sab
2016-11-14 21:08:47,163::INFO::[postproc:89] Loading postproc queue
2016-11-14 21:08:47,163::INFO::[__init__:946] Loading data for postproc2.sab from /home/sab/.sabnzbd/admin/postproc2.sab
2016-11-14 21:08:47,163::INFO::[__init__:946] Loading data for queue10.sab from /home/sab/.sabnzbd/admin/queue10.sab
2016-11-14 21:08:47,164::INFO::[__init__:946] Loading data for watched_data2.sab from /home/sab/.sabnzbd/admin/watched_data2.sab
2016-11-14 21:08:47,164::INFO::[__init__:946] Loading data for Rating.sab from /home/sab/.sabnzbd/admin/Rating.sab
2016-11-14 21:08:47,165::INFO::[scheduler:180] Setting schedule for midnight BPS reset
2016-11-14 21:08:47,178::INFO::[__init__:330] All processes started
2016-11-14 21:08:47,178::INFO::[sabnzbdplus:343] Web dir is /usr/share/sabnzbdplus/interfaces/smpl
2016-11-14 21:08:47,178::INFO::[sabnzbdplus:343] Web dir is /usr/share/sabnzbdplus/interfaces/Glitter
2016-11-14 21:08:47,178::INFO::[sabnzbdplus:343] Web dir is /usr/share/sabnzbdplus/interfaces/Config
2016-11-14 21:08:47,304::INFO::[sabnzbdplus:458] _yenc module... found!
2016-11-14 21:08:47,305::INFO::[sabnzbdplus:466] par2 binary... found (/usr/bin/par2)
2016-11-14 21:08:47,305::INFO::[sabnzbdplus:471] par2cmdline binary... found (/usr/bin/par2)
2016-11-14 21:08:47,305::INFO::[sabnzbdplus:474] UNRAR binary... found (/usr/bin/unrar)
2016-11-14 21:08:47,305::INFO::[sabnzbdplus:480] unzip binary... found (/usr/bin/unzip)
2016-11-14 21:08:47,305::INFO::[sabnzbdplus:485] 7za binary... found (/usr/bin/7za)
2016-11-14 21:08:47,305::INFO::[sabnzbdplus:491] nice binary... found (/usr/bin/nice)
2016-11-14 21:08:47,305::INFO::[sabnzbdplus:495] ionice binary... found (/usr/bin/ionice)
2016-11-14 21:08:47,305::INFO::[sabnzbdplus:500] pyOpenSSL... found (True)
2016-11-14 21:08:47,306::INFO::[sabnzbdplus:1345] SSL version OpenSSL 1.0.1f 6 Jan 2014
2016-11-14 21:08:47,306::INFO::[sabnzbdplus:1346] pyOpenSSL version 0.13
2016-11-14 21:08:47,306::INFO::[sabnzbdplus:1347] SSL potentially supported protocols ['SSLv23', 'SSLv3', 'TLSv1']
2016-11-14 21:08:47,306::INFO::[sabnzbdplus:1348] SSL actually supported protocols ['v23', 't1', 'v3']
2016-11-14 21:08:47,308::INFO::[sabnzbdplus:1495] Starting web-interface on 0.0.0.0:9090
2016-11-14 21:08:47,309::INFO::[_cplogging:217] [14/Nov/2016:21:08:47] ENGINE Bus STARTING
2016-11-14 21:08:47,313::INFO::[_cplogging:217] [14/Nov/2016:21:08:47] ENGINE Started monitor thread '_TimeoutMonitor'.
2016-11-14 21:08:47,515::INFO::[_cplogging:217] [14/Nov/2016:21:08:47] ENGINE Serving on http://0.0.0.0:8080
2016-11-14 21:08:47,729::INFO::[_cplogging:217] [14/Nov/2016:21:08:47] ENGINE Serving on https://0.0.0.0:9090
2016-11-14 21:08:47,729::INFO::[_cplogging:217] [14/Nov/2016:21:08:47] ENGINE Bus STARTED
2016-11-14 21:08:47,818::INFO::[sabnzbdplus:1567] Starting sabnzbdplus-1.1.1
2016-11-14 21:08:47,820::INFO::[dirscanner:318] Dirscanner starting up
2016-11-14 21:08:47,820::INFO::[urlgrabber:71] URLGrabber starting up
2016-11-14 21:09:15,114::WARNING::[__init__:166] Signal 15 erkannt. Wird gespeichert und beendet …
2016-11-14 21:09:15,114::INFO::[nzbqueue:258] Saving queue
2016-11-14 21:09:15,114::INFO::[__init__:922] Saving data for queue10.sab in /home/sab/.sabnzbd/admin/queue10.sab
2016-11-14 21:09:15,114::INFO::[__init__:922] Saving data for totals10.sab in /home/sab/.sabnzbd/admin/totals10.sab
2016-11-14 21:09:15,115::INFO::[__init__:922] Saving data for rss_data.sab in /home/sab/.sabnzbd/admin/rss_data.sab
2016-11-14 21:09:15,115::INFO::[__init__:922] Saving data for Rating.sab in /home/sab/.sabnzbd/admin/Rating.sab
2016-11-14 21:09:15,115::INFO::[__init__:922] Saving data for watched_data2.sab in /home/sab/.sabnzbd/admin/watched_data2.sab
2016-11-14 21:09:15,115::INFO::[postproc:83] Saving postproc queue
2016-11-14 21:09:15,115::INFO::[__init__:922] Saving data for postproc2.sab in /home/sab/.sabnzbd/admin/postproc2.sab

i was starting is over the service and it works. Than i shut it down.

FYI i was set the host file to localhost to make it faster. This will react direct to the host and not try to DNS resolve. This will make it faster on the MongoDB. :) But in my case it seams to be the Problem.
User avatar
sander
Release Testers
Release Testers
Posts: 8830
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd Version: 1.1.1 crashed

Post by sander »

So ... problem solved with that /etc/hosts setting in the standard Debian/Ubuntu way?
JobbeDeluxe
Newbie
Newbie
Posts: 21
Joined: December 28th, 2010, 10:56 am

Re: SABnzbd Version: 1.1.1 crashed

Post by JobbeDeluxe »

yes, than it works.
Post Reply