Page 1 of 2

SABnzbd Version: 1.1.1 crashed

Posted: November 12th, 2016, 4:35 am
by JobbeDeluxe
Hi,

i have a big Problem. After normal update from 1.1.0 to 1.1.1 i can't start anymore. After start the service on my Linux system it seams to be ok. But after approximately 5 sec it will shutting down.
In the logs i see this:

Code: Select all

2016-11-12 08:10:37,896::ERROR::[_cplogging:217] [12/Nov/2016:08:10:37] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
  File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 241, in start
    self.publish('start')
  File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 219, in publish
    level=40, traceback=True)
  File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 450, in log
    self.publish('log', msg, level)
  File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 221, in publish
    raise exc
ChannelFailures: TypeError('not enough arguments for format string',)

2016-11-12 08:10:37,896::INFO::[_cplogging:217] [12/Nov/2016:08:10:37] ENGINE Bus STOPPING
2016-11-12 08:10:38,643::INFO::[_cplogging:217] [12/Nov/2016:08:10:38] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 9090)) shut down
2016-11-12 08:10:38,643::INFO::[_cplogging:217] [12/Nov/2016:08:10:38] ENGINE HTTP Server None already shut down
2016-11-12 08:10:38,643::INFO::[_cplogging:217] [12/Nov/2016:08:10:38] ENGINE HTTP Server None already shut down
2016-11-12 08:10:38,643::INFO::[_cplogging:217] [12/Nov/2016:08:10:38] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('127.0.1.1', 9090)) already shut$
2016-11-12 08:10:38,644::INFO::[_cplogging:217] [12/Nov/2016:08:10:38] ENGINE Stopped thread '_TimeoutMonitor'.
2016-11-12 08:10:38,644::INFO::[_cplogging:217] [12/Nov/2016:08:10:38] ENGINE Bus STOPPED
2016-11-12 08:10:38,644::INFO::[_cplogging:217] [12/Nov/2016:08:10:38] ENGINE Bus EXITING
2016-11-12 08:10:38,644::INFO::[_cplogging:217] [12/Nov/2016:08:10:38] ENGINE Bus EXITED
I try to delete sabnzbd.ini, but is will create it with the old information. I can't not even clean to fresh reboot.

What can i do? Next try is to delete complete and reinstall. but i will prefer if i have an option to repair it ;)

Re: SABnzbd Version: 1.1.1 crashed

Posted: November 12th, 2016, 4:51 am
by safihre
I think something is going wrong when Sab tries to bind to you IPv6 address.
Did you enable that on purpose? You can disable it by (after sabnzbd is shutdown) edit sabnzbd.ini and setipv6_hosting to 0.

Does that help?

Re: SABnzbd Version: 1.1.1 crashed

Posted: November 12th, 2016, 7:14 am
by JobbeDeluxe
ipv6_hosting = 0

is disabled.

Re: SABnzbd Version: 1.1.1 crashed

Posted: November 12th, 2016, 10:10 am
by safihre
What happens if you backup sabnzbd.ini and then remove it and the backup file (.bak). Then it should start with fresh settings.. Will that at least start?

Re: SABnzbd Version: 1.1.1 crashed

Posted: November 12th, 2016, 10:29 am
by JobbeDeluxe
when i rename the ini and start again, it will make an ini that looks exact like my old one

EDIT:

i have clean all what is inside of the ini. on next start it will create new input. so clean start. But it won't start.
Logfile:

Code: Select all

2016-11-12 16:34:14,031::INFO::[sabnzbdplus:1218] --------------------------------
2016-11-12 16:34:14,031::INFO::[sabnzbdplus:1219] sabnzbdplus-1.1.1 (rev=33a7874416d8a8cc6a0d1e3f8d1e4042f2762d81)
2016-11-12 16:34:14,031::INFO::[sabnzbdplus:1220] Full executable path = /usr/bin/sabnzbdplus
2016-11-12 16:34:14,031::INFO::[sabnzbdplus:1232] Platform = posix
2016-11-12 16:34:14,031::INFO::[sabnzbdplus:1233] Python-version = 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2]
2016-11-12 16:34:14,031::INFO::[sabnzbdplus:1234] Arguments = /usr/bin/sabnzbdplus --daemon --pidfile /var/run/sabnzbdplus/pid --server 0.0.0.0
2016-11-12 16:34:14,031::INFO::[sabnzbdplus:1236] Preferred encoding = UTF-8
2016-11-12 16:34:14,031::INFO::[sabnzbdplus:1284] Read INI file /home/sab/.sabnzbd/sabnzbd.ini
2016-11-12 16:34:14,032::INFO::[misc:434] download_dir directory: /home/sab/Downloads/incomplete does not exist, try to create it
2016-11-12 16:34:14,083::INFO::[__init__:946] Loading data for rss_data.sab from /home/sab/.sabnzbd/admin/rss_data.sab
2016-11-12 16:34:14,083::INFO::[__init__:946] Loading data for totals10.sab from /home/sab/.sabnzbd/admin/totals10.sab
2016-11-12 16:34:14,083::INFO::[postproc:89] Loading postproc queue
2016-11-12 16:34:14,083::INFO::[__init__:946] Loading data for postproc2.sab from /home/sab/.sabnzbd/admin/postproc2.sab
2016-11-12 16:34:14,084::INFO::[__init__:946] Loading data for queue10.sab from /home/sab/.sabnzbd/admin/queue10.sab
2016-11-12 16:34:14,084::INFO::[__init__:946] Loading data for watched_data2.sab from /home/sab/.sabnzbd/admin/watched_data2.sab
2016-11-12 16:34:14,084::INFO::[__init__:946] Loading data for Rating.sab from /home/sab/.sabnzbd/admin/Rating.sab
2016-11-12 16:34:14,084::INFO::[scheduler:180] Setting schedule for midnight BPS reset
2016-11-12 16:34:14,091::INFO::[__init__:330] All processes started
2016-11-12 16:34:14,091::INFO::[sabnzbdplus:343] Web dir is /usr/share/sabnzbdplus/interfaces/Glitter
2016-11-12 16:34:14,091::INFO::[sabnzbdplus:343] Web dir is /usr/share/sabnzbdplus/interfaces/Config
2016-11-12 16:34:14,107::INFO::[sabnzbdplus:458] _yenc module... found!
2016-11-12 16:34:14,107::INFO::[sabnzbdplus:466] par2 binary... found (/usr/bin/par2)
2016-11-12 16:34:14,108::INFO::[sabnzbdplus:471] par2cmdline binary... found (/usr/bin/par2)
2016-11-12 16:34:14,108::INFO::[sabnzbdplus:474] UNRAR binary... found (/usr/bin/unrar)
2016-11-12 16:34:14,108::INFO::[sabnzbdplus:480] unzip binary... found (/usr/bin/unzip)
2016-11-12 16:34:14,108::INFO::[sabnzbdplus:485] 7za binary... found (/usr/bin/7za)
2016-11-12 16:34:14,108::INFO::[sabnzbdplus:491] nice binary... found (/usr/bin/nice)
2016-11-12 16:34:14,108::INFO::[sabnzbdplus:495] ionice binary... found (/usr/bin/ionice)
2016-11-12 16:34:14,108::INFO::[sabnzbdplus:500] pyOpenSSL... found (True)
2016-11-12 16:34:14,108::INFO::[sabnzbdplus:1345] SSL version OpenSSL 1.0.1f 6 Jan 2014
2016-11-12 16:34:14,108::INFO::[sabnzbdplus:1346] pyOpenSSL version 0.13
2016-11-12 16:34:14,108::INFO::[sabnzbdplus:1347] SSL potentially supported protocols ['SSLv23', 'SSLv3', 'TLSv1']
2016-11-12 16:34:14,108::INFO::[sabnzbdplus:1348] SSL actually supported protocols ['v23', 't1', 'v3']
2016-11-12 16:34:14,110::INFO::[sabnzbdplus:1495] Starting web-interface on 0.0.0.0:8080
2016-11-12 16:34:14,111::INFO::[_cplogging:217] [12/Nov/2016:16:34:14] ENGINE Bus STARTING
2016-11-12 16:34:14,113::INFO::[_cplogging:217] [12/Nov/2016:16:34:14] ENGINE Started monitor thread '_TimeoutMonitor'.
2016-11-12 16:34:14,314::INFO::[_cplogging:217] [12/Nov/2016:16:34:14] ENGINE Serving on http://0.0.0.0:8080
2016-11-12 16:34:19,333::ERROR::[_cplogging:217] [12/Nov/2016:16:34:19] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
  File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 241, in start
    self.publish('start')
  File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 219, in publish
    level=40, traceback=True)
  File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 450, in log
    self.publish('log', msg, level)
  File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 221, in publish
    raise exc
ChannelFailures: TypeError('not enough arguments for format string',)

2016-11-12 16:34:19,333::INFO::[_cplogging:217] [12/Nov/2016:16:34:19] ENGINE Bus STOPPING
2016-11-12 16:34:19,335::INFO::[_cplogging:217] [12/Nov/2016:16:34:19] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 8080)) shut down
2016-11-12 16:34:19,335::INFO::[_cplogging:217] [12/Nov/2016:16:34:19] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('127.0.1.1', 8080)) already shut down
2016-11-12 16:34:19,335::INFO::[_cplogging:217] [12/Nov/2016:16:34:19] ENGINE Stopped thread '_TimeoutMonitor'.
2016-11-12 16:34:19,335::INFO::[_cplogging:217] [12/Nov/2016:16:34:19] ENGINE Bus STOPPED
2016-11-12 16:34:19,335::INFO::[_cplogging:217] [12/Nov/2016:16:34:19] ENGINE Bus EXITING
2016-11-12 16:34:19,335::INFO::[_cplogging:217] [12/Nov/2016:16:34:19] ENGINE Bus EXITED


i have tried the update on my local host. that works perfect. So i don't know what happend.

Re: SABnzbd Version: 1.1.1 crashed

Posted: November 12th, 2016, 10:48 am
by safihre
Can you change your host to be localhost only?
In sabnzbd.ini find host=0.0.0.0 and replace it by host=localhost

Re: SABnzbd Version: 1.1.1 crashed

Posted: November 12th, 2016, 11:03 am
by JobbeDeluxe
If i change the 0.0.0.0 to localhost on next start is 0.0.0.0 in the ini again. Not starting

i changed the 0.0.0.0 to localhost and make the ini readonly. but the same effect. it will not start.

Log again:

Code: Select all

2016-11-12 17:07:05,052::INFO::[sabnzbdplus:1218] --------------------------------
2016-11-12 17:07:05,052::INFO::[sabnzbdplus:1219] sabnzbdplus-1.1.1 (rev=33a7874416d8a8cc6a0d1e3f8d1e4042f2762d81)
2016-11-12 17:07:05,052::INFO::[sabnzbdplus:1220] Full executable path = /usr/bin/sabnzbdplus
2016-11-12 17:07:05,052::INFO::[sabnzbdplus:1232] Platform = posix
2016-11-12 17:07:05,052::INFO::[sabnzbdplus:1233] Python-version = 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2]
2016-11-12 17:07:05,052::INFO::[sabnzbdplus:1234] Arguments = /usr/bin/sabnzbdplus --daemon --pidfile /var/run/sabnzbdplus/pid --server 0.0.0.0
2016-11-12 17:07:05,052::INFO::[sabnzbdplus:1236] Preferred encoding = UTF-8
2016-11-12 17:07:05,053::INFO::[sabnzbdplus:1284] Read INI file /home/sab/.sabnzbd/sabnzbd.ini
2016-11-12 17:07:05,066::INFO::[__init__:946] Loading data for rss_data.sab from /home/sab/.sabnzbd/admin/rss_data.sab
2016-11-12 17:07:05,067::INFO::[__init__:946] Loading data for totals10.sab from /home/sab/.sabnzbd/admin/totals10.sab
2016-11-12 17:07:05,067::INFO::[postproc:89] Loading postproc queue
2016-11-12 17:07:05,067::INFO::[__init__:946] Loading data for postproc2.sab from /home/sab/.sabnzbd/admin/postproc2.sab
2016-11-12 17:07:05,067::INFO::[__init__:946] Loading data for queue10.sab from /home/sab/.sabnzbd/admin/queue10.sab
2016-11-12 17:07:05,067::INFO::[__init__:946] Loading data for watched_data2.sab from /home/sab/.sabnzbd/admin/watched_data2.sab
2016-11-12 17:07:05,068::INFO::[__init__:946] Loading data for Rating.sab from /home/sab/.sabnzbd/admin/Rating.sab
2016-11-12 17:07:05,068::INFO::[scheduler:180] Setting schedule for midnight BPS reset
2016-11-12 17:07:05,070::ERROR::[config:828] Cannot write to INI file /home/sab/.sabnzbd/sabnzbd.ini
2016-11-12 17:07:05,071::INFO::[__init__:330] All processes started
2016-11-12 17:07:05,071::INFO::[sabnzbdplus:343] Web dir is /usr/share/sabnzbdplus/interfaces/Glitter
2016-11-12 17:07:05,071::INFO::[sabnzbdplus:343] Web dir is /usr/share/sabnzbdplus/interfaces/Config
2016-11-12 17:07:05,077::ERROR::[config:828] Cannot write to INI file /home/sab/.sabnzbd/sabnzbd.ini
2016-11-12 17:07:05,084::INFO::[sabnzbdplus:458] _yenc module... found!
2016-11-12 17:07:05,084::INFO::[sabnzbdplus:466] par2 binary... found (/usr/bin/par2)
2016-11-12 17:07:05,084::INFO::[sabnzbdplus:471] par2cmdline binary... found (/usr/bin/par2)
2016-11-12 17:07:05,084::INFO::[sabnzbdplus:474] UNRAR binary... found (/usr/bin/unrar)
2016-11-12 17:07:05,084::INFO::[sabnzbdplus:480] unzip binary... found (/usr/bin/unzip)
2016-11-12 17:07:05,084::INFO::[sabnzbdplus:485] 7za binary... found (/usr/bin/7za)
2016-11-12 17:07:05,084::INFO::[sabnzbdplus:491] nice binary... found (/usr/bin/nice)
2016-11-12 17:07:05,084::INFO::[sabnzbdplus:495] ionice binary... found (/usr/bin/ionice)
2016-11-12 17:07:05,084::INFO::[sabnzbdplus:500] pyOpenSSL... found (True)
2016-11-12 17:07:05,084::INFO::[sabnzbdplus:1345] SSL version OpenSSL 1.0.1f 6 Jan 2014
2016-11-12 17:07:05,085::INFO::[sabnzbdplus:1346] pyOpenSSL version 0.13
2016-11-12 17:07:05,085::INFO::[sabnzbdplus:1347] SSL potentially supported protocols ['SSLv23', 'SSLv3', 'TLSv1']
2016-11-12 17:07:05,085::INFO::[sabnzbdplus:1348] SSL actually supported protocols ['v23', 't1', 'v3']
2016-11-12 17:07:05,086::INFO::[sabnzbdplus:1495] Starting web-interface on 0.0.0.0:8080
2016-11-12 17:07:05,087::INFO::[_cplogging:217] [12/Nov/2016:17:07:05] ENGINE Bus STARTING
2016-11-12 17:07:05,089::INFO::[_cplogging:217] [12/Nov/2016:17:07:05] ENGINE Started monitor thread '_TimeoutMonitor'.
2016-11-12 17:07:05,290::INFO::[_cplogging:217] [12/Nov/2016:17:07:05] ENGINE Serving on http://0.0.0.0:8080
2016-11-12 17:07:10,309::ERROR::[_cplogging:217] [12/Nov/2016:17:07:10] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
  File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 241, in start
    self.publish('start')
  File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 219, in publish
    level=40, traceback=True)
  File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 450, in log
    self.publish('log', msg, level)
  File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 221, in publish
    raise exc
ChannelFailures: TypeError('not enough arguments for format string',)

2016-11-12 17:07:10,309::INFO::[_cplogging:217] [12/Nov/2016:17:07:10] ENGINE Bus STOPPING
2016-11-12 17:07:10,311::INFO::[_cplogging:217] [12/Nov/2016:17:07:10] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 8080)) shut down
2016-11-12 17:07:10,311::INFO::[_cplogging:217] [12/Nov/2016:17:07:10] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('127.0.1.1', 8080)) already shut down
2016-11-12 17:07:10,311::INFO::[_cplogging:217] [12/Nov/2016:17:07:10] ENGINE Stopped thread '_TimeoutMonitor'.
2016-11-12 17:07:10,312::INFO::[_cplogging:217] [12/Nov/2016:17:07:10] ENGINE Bus STOPPED
2016-11-12 17:07:10,312::INFO::[_cplogging:217] [12/Nov/2016:17:07:10] ENGINE Bus EXITING
2016-11-12 17:07:10,312::INFO::[_cplogging:217] [12/Nov/2016:17:07:10] ENGINE Bus EXITED

Re: SABnzbd Version: 1.1.1 crashed

Posted: November 12th, 2016, 12:41 pm
by safihre
It's because the PPA always starts it with 0.0.0.0
Try shutting down Sab, edit sabnzbd.ini to localhost and start using:
python /usr/share/sabnzbdplus/SABnzbd.py

Re: SABnzbd Version: 1.1.1 crashed

Posted: November 12th, 2016, 4:00 pm
by JobbeDeluxe
i am not able to start like you wrote.
/usr/share/sabnzbdplus/SABnzbd.py don't exist.

#:/usr/share/sabnzbdplus# ls
cherrypy email gntp icons interfaces locale sabnzbd

#:/usr/share/sabnzbdplus/sabnzbd# ls
api.py database.py getipaddress.py notifier.py rating.py urlgrabber.py
api.pyc database.pyc getipaddress.pyc notifier.pyc rating.pyc urlgrabber.pyc
articlecache.py decoder.py __init__.py nzbqueue.py rss.py utils/
articlecache.pyc decoder.pyc __init__.pyc nzbqueue.pyc rss.pyc version.py
assembler.py decorators.py interface.py nzbstuff.py sabtraylinux.py version.pyc
assembler.pyc decorators.pyc interface.pyc nzbstuff.pyc sabtraylinux.pyc wizard.py
bpsmeter.py dirscanner.py lang.py osxmenu.py scheduler.py wizard.pyc
bpsmeter.pyc dirscanner.pyc lang.pyc osxmenu.pyc scheduler.pyc zconfig.py
cfg.py downloader.py misc.py panic.py skintext.py zconfig.pyc
cfg.pyc downloader.pyc misc.pyc panic.pyc skintext.pyc
config.py emailer.py newsunpack.py postproc.py trylist.py
config.pyc emailer.pyc newsunpack.pyc postproc.pyc trylist.pyc
constants.py encoding.py newswrapper.py powersup.py tvsort.py
constants.pyc encoding.pyc newswrapper.pyc powersup.pyc tvsort.pyc



this is all i have. Noting called like "SABnzbd.py"


i startet over "/usr/bin/sabnzbdplus"
with the localhost in the ini
Log:

Code: Select all

2016-11-12 22:20:49,451::INFO::[sabnzbdplus:1218] --------------------------------
2016-11-12 22:20:49,452::INFO::[sabnzbdplus:1219] sabnzbdplus-1.1.1 (rev=33a7874416d8a8cc6a0d1                             e3f8d1e4042f2762d81)
2016-11-12 22:20:49,452::INFO::[sabnzbdplus:1220] Full executable path = /usr/bin/sabnzbdplus
2016-11-12 22:20:49,452::INFO::[sabnzbdplus:1232] Platform = posix
2016-11-12 22:20:49,452::INFO::[sabnzbdplus:1233] Python-version = 2.7.6 (default, Jun 22 2015                             , 17:58:13)
[GCC 4.8.2]
2016-11-12 22:20:49,452::INFO::[sabnzbdplus:1234] Arguments = /usr/bin/sabnzbdplus
2016-11-12 22:20:49,452::INFO::[sabnzbdplus:1236] Preferred encoding = UTF-8
2016-11-12 22:20:49,452::INFO::[sabnzbdplus:1284] Read INI file /root/.sabnzbd/sabnzbd.ini
2016-11-12 22:20:49,452::INFO::[misc:434] download_dir directory: /root/Downloads/incomplete d                             oes not exist, try to create it
2016-11-12 22:20:49,456::INFO::[__init__:946] Loading data for queue9.sab from /root/.sabnzbd/                             admin/queue9.sab
2016-11-12 22:20:49,456::INFO::[__init__:949] /root/.sabnzbd/admin/queue9.sab missing
2016-11-12 22:20:49,456::INFO::[__init__:946] Loading data for queue8.sab from /root/.sabnzbd/                             admin/queue8.sab
2016-11-12 22:20:49,456::INFO::[__init__:949] /root/.sabnzbd/admin/queue8.sab missing
2016-11-12 22:20:49,457::INFO::[__init__:946] Loading data for queue7.sab from /root/.sabnzbd/                             admin/queue7.sab
2016-11-12 22:20:49,457::INFO::[__init__:949] /root/.sabnzbd/admin/queue7.sab missing
2016-11-12 22:20:49,499::INFO::[__init__:946] Loading data for rss_data.sab from /root/.sabnzb                             d/admin/rss_data.sab
2016-11-12 22:20:49,499::INFO::[__init__:949] /root/.sabnzbd/admin/rss_data.sab missing
2016-11-12 22:20:49,500::INFO::[__init__:946] Loading data for totals10.sab from /root/.sabnzb                             d/admin/totals10.sab
2016-11-12 22:20:49,500::INFO::[__init__:949] /root/.sabnzbd/admin/totals10.sab missing
2016-11-12 22:20:49,500::INFO::[__init__:946] Loading data for totals9.sab from /root/.sabnzbd                             /admin/totals9.sab
2016-11-12 22:20:49,500::INFO::[__init__:949] /root/.sabnzbd/admin/totals9.sab missing
2016-11-12 22:20:49,562::INFO::[postproc:89] Loading postproc queue
2016-11-12 22:20:49,562::INFO::[__init__:946] Loading data for postproc2.sab from /root/.sabnz                             bd/admin/postproc2.sab
2016-11-12 22:20:49,562::INFO::[__init__:949] /root/.sabnzbd/admin/postproc2.sab missing
2016-11-12 22:20:49,562::INFO::[__init__:946] Loading data for queue10.sab from /root/.sabnzbd                             /admin/queue10.sab
2016-11-12 22:20:49,563::INFO::[__init__:949] /root/.sabnzbd/admin/queue10.sab missing
2016-11-12 22:20:49,563::INFO::[__init__:946] Loading data for queue9.sab from /root/.sabnzbd/                             admin/queue9.sab
2016-11-12 22:20:49,563::INFO::[__init__:949] /root/.sabnzbd/admin/queue9.sab missing
2016-11-12 22:20:49,591::INFO::[__init__:946] Loading data for watched_data2.sab from /root/.s                             abnzbd/admin/watched_data2.sab
2016-11-12 22:20:49,591::INFO::[__init__:949] /root/.sabnzbd/admin/watched_data2.sab missing
2016-11-12 22:20:49,591::INFO::[__init__:946] Loading data for Rating.sab from /root/.sabnzbd/                             admin/Rating.sab
2016-11-12 22:20:49,592::INFO::[__init__:949] /root/.sabnzbd/admin/Rating.sab missing
2016-11-12 22:20:49,592::INFO::[scheduler:180] Setting schedule for midnight BPS reset
2016-11-12 22:20:49,598::INFO::[__init__:330] All processes started
2016-11-12 22:20:49,599::INFO::[sabnzbdplus:343] Web dir is /usr/share/sabnzbdplus/interfaces/                             Glitter
2016-11-12 22:20:49,599::INFO::[sabnzbdplus:343] Web dir is /usr/share/sabnzbdplus/interfaces/                             Config
2016-11-12 22:20:49,618::INFO::[sabnzbdplus:458] _yenc module... found!
2016-11-12 22:20:49,618::INFO::[sabnzbdplus:466] par2 binary... found (/usr/bin/par2)
2016-11-12 22:20:49,618::INFO::[sabnzbdplus:471] par2cmdline binary... found (/usr/bin/par2)
2016-11-12 22:20:49,618::INFO::[sabnzbdplus:474] UNRAR binary... found (/usr/bin/unrar)
2016-11-12 22:20:49,618::INFO::[sabnzbdplus:480] unzip binary... found (/usr/bin/unzip)
2016-11-12 22:20:49,618::INFO::[sabnzbdplus:485] 7za binary... found (/usr/bin/7za)
2016-11-12 22:20:49,618::INFO::[sabnzbdplus:491] nice binary... found (/usr/bin/nice)
2016-11-12 22:20:49,618::INFO::[sabnzbdplus:495] ionice binary... found (/usr/bin/ionice)
2016-11-12 22:20:49,619::INFO::[sabnzbdplus:500] pyOpenSSL... found (True)
2016-11-12 22:20:49,619::INFO::[sabnzbdplus:1345] SSL version OpenSSL 1.0.1f 6 Jan 2014
2016-11-12 22:20:49,619::INFO::[sabnzbdplus:1346] pyOpenSSL version 0.13
2016-11-12 22:20:49,619::INFO::[sabnzbdplus:1347] SSL potentially supported protocols ['SSLv23                             ', 'SSLv3', 'TLSv1']
2016-11-12 22:20:49,619::INFO::[sabnzbdplus:1348] SSL actually supported protocols ['v23', 't1                             ', 'v3']
2016-11-12 22:20:49,620::INFO::[sabnzbdplus:1495] Starting web-interface on 127.0.0.1:8080
2016-11-12 22:20:49,620::INFO::[_cplogging:217] [12/Nov/2016:22:20:49] ENGINE Bus STARTING
2016-11-12 22:20:49,622::INFO::[_cplogging:217] [12/Nov/2016:22:20:49] ENGINE Started monitor                              thread '_TimeoutMonitor'.
2016-11-12 22:20:49,823::INFO::[_cplogging:217] [12/Nov/2016:22:20:49] ENGINE Serving on http:                             //127.0.0.1:8080
2016-11-12 22:20:49,823::INFO::[_cplogging:217] [12/Nov/2016:22:20:49] ENGINE Bus STARTED
2016-11-12 22:20:49,824::INFO::[zconfig:77] Bonjour/ZeroConfig does not support "localhost"
2016-11-12 22:20:49,824::INFO::[panic:269] Launching browser with http://127.0.0.1:8080/sabnzb                             d
2016-11-12 22:21:27,655::INFO::[sabnzbdplus:1567] Starting sabnzbdplus-1.1.1
2016-11-12 22:21:27,657::INFO::[dirscanner:318] Dirscanner starting up
2016-11-12 22:21:27,657::INFO::[urlgrabber:71] URLGrabber starting up

Re: SABnzbd Version: 1.1.1 crashed

Posted: November 13th, 2016, 9:46 am
by JobbeDeluxe
some more informations:
I downloaded the Paket from the Homepage and set it up on my system.

First i start with "localhost" in the ini. That works. Logs at the end.

Than i changed to 0.0.0.0 an it crashed. Logs down:

Code: Select all

~/.sabnzbd$ python /home/sab/SABnzbd-1.1.1/SABnzbd.py
2016-11-13 15:40:43,327::INFO::[SABnzbd:1230] --------------------------------
2016-11-13 15:40:43,327::INFO::[SABnzbd:1231] SABnzbd.py-1.1.1 (rev=33a7874416d8a8cc6a0d1e3f8d1e4042f2762d81)
2016-11-13 15:40:43,327::INFO::[SABnzbd:1232] Full executable path = /home/sab/SABnzbd-1.1.1/SABnzbd.py
2016-11-13 15:40:43,327::INFO::[SABnzbd:1244] Platform = posix
2016-11-13 15:40:43,327::INFO::[SABnzbd:1245] Python-version = 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2]
2016-11-13 15:40:43,327::INFO::[SABnzbd:1246] Arguments = /home/sab/SABnzbd-1.1.1/SABnzbd.py
2016-11-13 15:40:43,328::INFO::[SABnzbd:1248] Preferred encoding = UTF-8
2016-11-13 15:40:43,328::INFO::[SABnzbd:1296] Read INI file /home/sab/.sabnzbd/sabnzbd.ini
2016-11-13 15:40:45,393::INFO::[__init__:946] Loading data for rss_data.sab from /home/sab/.sabnzbd/admin/rss_data.sab
2016-11-13 15:40:45,394::INFO::[__init__:946] Loading data for totals10.sab from /home/sab/.sabnzbd/admin/totals10.sab
2016-11-13 15:40:45,394::INFO::[postproc:89] Loading postproc queue
2016-11-13 15:40:45,394::INFO::[__init__:946] Loading data for postproc2.sab from /home/sab/.sabnzbd/admin/postproc2.sab
2016-11-13 15:40:45,395::INFO::[__init__:946] Loading data for queue10.sab from /home/sab/.sabnzbd/admin/queue10.sab
2016-11-13 15:40:45,395::INFO::[__init__:946] Loading data for watched_data2.sab from /home/sab/.sabnzbd/admin/watched_data2.sab
2016-11-13 15:40:45,396::INFO::[__init__:946] Loading data for Rating.sab from /home/sab/.sabnzbd/admin/Rating.sab
2016-11-13 15:40:45,396::INFO::[scheduler:190] Setting schedule for midnight BPS reset
2016-11-13 15:40:45,396::INFO::[__init__:330] All processes started
2016-11-13 15:40:45,396::INFO::[SABnzbd:342] Web dir is /home/sab/SABnzbd-1.1.1/interfaces/smpl
2016-11-13 15:40:45,397::INFO::[SABnzbd:342] Web dir is /home/sab/SABnzbd-1.1.1/interfaces/Glitter
2016-11-13 15:40:45,397::INFO::[SABnzbd:342] Web dir is /home/sab/SABnzbd-1.1.1/interfaces/Config
2016-11-13 15:40:45,416::INFO::[SABnzbd:470] _yenc module... found!
2016-11-13 15:40:45,416::INFO::[SABnzbd:478] par2 binary... found (/usr/bin/par2)
2016-11-13 15:40:45,416::INFO::[SABnzbd:483] par2cmdline binary... found (/usr/bin/par2)
2016-11-13 15:40:45,416::INFO::[SABnzbd:486] UNRAR binary... found (/usr/bin/unrar)
2016-11-13 15:40:45,416::INFO::[SABnzbd:492] unzip binary... found (/usr/bin/unzip)
2016-11-13 15:40:45,416::INFO::[SABnzbd:497] 7za binary... found (/usr/bin/7za)
2016-11-13 15:40:45,416::INFO::[SABnzbd:503] nice binary... found (/usr/bin/nice)
2016-11-13 15:40:45,416::INFO::[SABnzbd:507] ionice binary... found (/usr/bin/ionice)
2016-11-13 15:40:45,417::INFO::[SABnzbd:512] pyOpenSSL... found (True)
2016-11-13 15:40:45,417::INFO::[SABnzbd:1357] SSL version OpenSSL 1.0.1f 6 Jan 2014
2016-11-13 15:40:45,417::INFO::[SABnzbd:1358] pyOpenSSL version 0.13
2016-11-13 15:40:45,417::INFO::[SABnzbd:1359] SSL potentially supported protocols ['SSLv23', 'SSLv3', 'TLSv1']
2016-11-13 15:40:45,417::INFO::[SABnzbd:1360] SSL actually supported protocols ['v23', 't1', 'v3']
2016-11-13 15:40:45,418::INFO::[SABnzbd:1507] Starting web-interface on 127.0.0.1:9090
2016-11-13 15:40:45,419::INFO::[_cplogging:217] [13/Nov/2016:15:40:45] ENGINE Bus STARTING
2016-11-13 15:40:45,422::INFO::[_cplogging:217] [13/Nov/2016:15:40:45] ENGINE Started monitor thread '_TimeoutMonitor'.
2016-11-13 15:40:45,623::INFO::[_cplogging:217] [13/Nov/2016:15:40:45] ENGINE Serving on http://127.0.0.1:8080
2016-11-13 15:40:45,828::INFO::[_cplogging:217] [13/Nov/2016:15:40:45] ENGINE Serving on https://127.0.0.1:9090
2016-11-13 15:40:45,828::INFO::[_cplogging:217] [13/Nov/2016:15:40:45] ENGINE Bus STARTED
2016-11-13 15:40:45,829::INFO::[zconfig:77] Bonjour/ZeroConfig does not support "localhost"
2016-11-13 15:40:46,214::INFO::[SABnzbd:1579] Starting SABnzbd.py-1.1.1
2016-11-13 15:40:46,216::INFO::[dirscanner:318] Dirscanner starting up
2016-11-13 15:40:46,216::INFO::[urlgrabber:71] URLGrabber starting up
^C2016-11-13 15:41:18,395::WARNING::[__init__:166] Signal 2 erkannt. Wird gespeichert und beendet …
2016-11-13 15:41:18,395::INFO::[nzbqueue:258] Saving queue
2016-11-13 15:41:18,396::INFO::[__init__:922] Saving data for queue10.sab in /home/sab/.sabnzbd/admin/queue10.sab
2016-11-13 15:41:18,396::INFO::[__init__:922] Saving data for totals10.sab in /home/sab/.sabnzbd/admin/totals10.sab
2016-11-13 15:41:18,396::INFO::[__init__:922] Saving data for rss_data.sab in /home/sab/.sabnzbd/admin/rss_data.sab
2016-11-13 15:41:18,396::INFO::[__init__:922] Saving data for Rating.sab in /home/sab/.sabnzbd/admin/Rating.sab
2016-11-13 15:41:18,397::INFO::[__init__:922] Saving data for watched_data2.sab in /home/sab/.sabnzbd/admin/watched_data2.sab
2016-11-13 15:41:18,397::INFO::[postproc:83] Saving postproc queue
2016-11-13 15:41:18,397::INFO::[__init__:922] Saving data for postproc2.sab in /home/sab/.sabnzbd/admin/postproc2.sab
sab@#:~/.sabnzbd$ nano /home/sab/.sabnzbd/sabnzbd.ini
sab@#:~/.sabnzbd$ nano /home/sab/.sabnzbd/sabnzbd.ini
sab@#:~/.sabnzbd$ python /home/sab/SABnzbd-1.1.1/SABnzbd.py
2016-11-13 15:42:28,349::INFO::[SABnzbd:1230] --------------------------------
2016-11-13 15:42:28,349::INFO::[SABnzbd:1231] SABnzbd.py-1.1.1 (rev=33a7874416d8a8cc6a0d1e3f8d1e4042f2762d81)
2016-11-13 15:42:28,349::INFO::[SABnzbd:1232] Full executable path = /home/sab/SABnzbd-1.1.1/SABnzbd.py
2016-11-13 15:42:28,349::INFO::[SABnzbd:1244] Platform = posix
2016-11-13 15:42:28,350::INFO::[SABnzbd:1245] Python-version = 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2]
2016-11-13 15:42:28,350::INFO::[SABnzbd:1246] Arguments = /home/sab/SABnzbd-1.1.1/SABnzbd.py
2016-11-13 15:42:28,350::INFO::[SABnzbd:1248] Preferred encoding = UTF-8
2016-11-13 15:42:28,350::INFO::[SABnzbd:1296] Read INI file /home/sab/.sabnzbd/sabnzbd.ini
2016-11-13 15:42:30,393::INFO::[__init__:946] Loading data for rss_data.sab from /home/sab/.sabnzbd/admin/rss_data.sab
2016-11-13 15:42:30,393::INFO::[__init__:946] Loading data for totals10.sab from /home/sab/.sabnzbd/admin/totals10.sab
2016-11-13 15:42:30,394::INFO::[postproc:89] Loading postproc queue
2016-11-13 15:42:30,394::INFO::[__init__:946] Loading data for postproc2.sab from /home/sab/.sabnzbd/admin/postproc2.sab
2016-11-13 15:42:30,394::INFO::[__init__:946] Loading data for queue10.sab from /home/sab/.sabnzbd/admin/queue10.sab
2016-11-13 15:42:30,395::INFO::[__init__:946] Loading data for watched_data2.sab from /home/sab/.sabnzbd/admin/watched_data2.sab
2016-11-13 15:42:30,395::INFO::[__init__:946] Loading data for Rating.sab from /home/sab/.sabnzbd/admin/Rating.sab
2016-11-13 15:42:30,396::INFO::[scheduler:190] Setting schedule for midnight BPS reset
2016-11-13 15:42:30,396::INFO::[__init__:330] All processes started
2016-11-13 15:42:30,396::INFO::[SABnzbd:342] Web dir is /home/sab/SABnzbd-1.1.1/interfaces/smpl
2016-11-13 15:42:30,396::INFO::[SABnzbd:342] Web dir is /home/sab/SABnzbd-1.1.1/interfaces/Glitter
2016-11-13 15:42:30,396::INFO::[SABnzbd:342] Web dir is /home/sab/SABnzbd-1.1.1/interfaces/Config
2016-11-13 15:42:30,416::INFO::[SABnzbd:470] _yenc module... found!
2016-11-13 15:42:30,416::INFO::[SABnzbd:478] par2 binary... found (/usr/bin/par2)
2016-11-13 15:42:30,416::INFO::[SABnzbd:483] par2cmdline binary... found (/usr/bin/par2)
2016-11-13 15:42:30,417::INFO::[SABnzbd:486] UNRAR binary... found (/usr/bin/unrar)
2016-11-13 15:42:30,417::INFO::[SABnzbd:492] unzip binary... found (/usr/bin/unzip)
2016-11-13 15:42:30,417::INFO::[SABnzbd:497] 7za binary... found (/usr/bin/7za)
2016-11-13 15:42:30,417::INFO::[SABnzbd:503] nice binary... found (/usr/bin/nice)
2016-11-13 15:42:30,417::INFO::[SABnzbd:507] ionice binary... found (/usr/bin/ionice)
2016-11-13 15:42:30,417::INFO::[SABnzbd:512] pyOpenSSL... found (True)
2016-11-13 15:42:30,417::INFO::[SABnzbd:1357] SSL version OpenSSL 1.0.1f 6 Jan 2014
2016-11-13 15:42:30,417::INFO::[SABnzbd:1358] pyOpenSSL version 0.13
2016-11-13 15:42:30,418::INFO::[SABnzbd:1359] SSL potentially supported protocols ['SSLv23', 'SSLv3', 'TLSv1']
2016-11-13 15:42:30,418::INFO::[SABnzbd:1360] SSL actually supported protocols ['v23', 't1', 'v3']
2016-11-13 15:42:30,419::INFO::[SABnzbd:1507] Starting web-interface on 0.0.0.0:9090
2016-11-13 15:42:30,420::INFO::[_cplogging:217] [13/Nov/2016:15:42:30] ENGINE Bus STARTING
2016-11-13 15:42:30,422::INFO::[_cplogging:217] [13/Nov/2016:15:42:30] ENGINE Started monitor thread '_TimeoutMonitor'.
2016-11-13 15:42:30,623::INFO::[_cplogging:217] [13/Nov/2016:15:42:30] ENGINE Serving on http://0.0.0.0:8080
2016-11-13 15:42:30,827::INFO::[_cplogging:217] [13/Nov/2016:15:42:30] ENGINE Serving on https://127.0.1.1:9090
2016-11-13 15:42:35,846::ERROR::[_cplogging:217] [13/Nov/2016:15:42:35] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
  File "/home/sab/SABnzbd-1.1.1/cherrypy/process/wspbus.py", line 241, in start
    self.publish('start')
  File "/home/sab/SABnzbd-1.1.1/cherrypy/process/wspbus.py", line 219, in publish
    level=40, traceback=True)
  File "/home/sab/SABnzbd-1.1.1/cherrypy/process/wspbus.py", line 450, in log
    self.publish('log', msg, level)
  File "/home/sab/SABnzbd-1.1.1/cherrypy/process/wspbus.py", line 221, in publish
    raise exc
ChannelFailures: TypeError('not enough arguments for format string',)

2016-11-13 15:42:35,847::INFO::[_cplogging:217] [13/Nov/2016:15:42:35] ENGINE Bus STOPPING
2016-11-13 15:42:36,834::INFO::[_cplogging:217] [13/Nov/2016:15:42:36] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('127.0.1.1', 9090)) shut down
2016-11-13 15:42:36,836::INFO::[_cplogging:217] [13/Nov/2016:15:42:36] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 8080)) shut down
2016-11-13 15:42:36,836::INFO::[_cplogging:217] [13/Nov/2016:15:42:36] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('127.0.1.1', 8080)) already shut down
2016-11-13 15:42:36,836::INFO::[_cplogging:217] [13/Nov/2016:15:42:36] ENGINE HTTP Server None already shut down
2016-11-13 15:42:36,836::INFO::[_cplogging:217] [13/Nov/2016:15:42:36] ENGINE Stopped thread '_TimeoutMonitor'.
2016-11-13 15:42:36,836::INFO::[_cplogging:217] [13/Nov/2016:15:42:36] ENGINE Bus STOPPED
2016-11-13 15:42:36,837::INFO::[_cplogging:217] [13/Nov/2016:15:42:36] ENGINE Bus EXITING
2016-11-13 15:42:36,837::INFO::[_cplogging:217] [13/Nov/2016:15:42:36] ENGINE Bus EXITED
sab@#:~/.sabnzbd$
Ok i tried wit the 1.1.0 Version and that works! The Logs:

Code: Select all

sab@#:~/SABnzbd-1.1.0$ python SABnzbd.py
2016-11-13 15:48:28,845::INFO::[SABnzbd:1230] --------------------------------
2016-11-13 15:48:28,845::INFO::[SABnzbd:1231] SABnzbd.py-1.1.0 (rev=8abcf0856e4ffda1c7f2ee78f9a5334644c8645b)
2016-11-13 15:48:28,846::INFO::[SABnzbd:1232] Full executable path = /home/sab/SABnzbd-1.1.0/SABnzbd.py
2016-11-13 15:48:28,846::INFO::[SABnzbd:1244] Platform = posix
2016-11-13 15:48:28,846::INFO::[SABnzbd:1245] Python-version = 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2]
2016-11-13 15:48:28,846::INFO::[SABnzbd:1246] Arguments = SABnzbd.py
2016-11-13 15:48:28,846::INFO::[SABnzbd:1248] Preferred encoding = UTF-8
2016-11-13 15:48:28,846::INFO::[SABnzbd:1296] Read INI file /home/sab/.sabnzbd/sabnzbd.ini
2016-11-13 15:48:31,149::INFO::[__init__:946] Loading data for rss_data.sab from /home/sab/.sabnzbd/admin/rss_data.sab
2016-11-13 15:48:31,149::INFO::[__init__:946] Loading data for totals10.sab from /home/sab/.sabnzbd/admin/totals10.sab
2016-11-13 15:48:31,150::INFO::[postproc:89] Loading postproc queue
2016-11-13 15:48:31,150::INFO::[__init__:946] Loading data for postproc2.sab from /home/sab/.sabnzbd/admin/postproc2.sab
2016-11-13 15:48:31,150::INFO::[__init__:946] Loading data for queue10.sab from /home/sab/.sabnzbd/admin/queue10.sab
2016-11-13 15:48:31,151::INFO::[__init__:946] Loading data for watched_data2.sab from /home/sab/.sabnzbd/admin/watched_data2.sab
2016-11-13 15:48:31,151::INFO::[__init__:946] Loading data for Rating.sab from /home/sab/.sabnzbd/admin/Rating.sab
2016-11-13 15:48:31,152::INFO::[scheduler:190] Setting schedule for midnight BPS reset
2016-11-13 15:48:31,152::INFO::[__init__:330] All processes started
2016-11-13 15:48:31,152::INFO::[SABnzbd:342] Web dir is /home/sab/SABnzbd-1.1.0/interfaces/smpl
2016-11-13 15:48:31,152::INFO::[SABnzbd:342] Web dir is /home/sab/SABnzbd-1.1.0/interfaces/Glitter
2016-11-13 15:48:31,152::INFO::[SABnzbd:342] Web dir is /home/sab/SABnzbd-1.1.0/interfaces/Config
2016-11-13 15:48:31,170::INFO::[SABnzbd:470] _yenc module... found!
2016-11-13 15:48:31,170::INFO::[SABnzbd:478] par2 binary... found (/usr/bin/par2)
2016-11-13 15:48:31,170::INFO::[SABnzbd:483] par2-classic binary... found (/usr/bin/par2)
2016-11-13 15:48:31,170::INFO::[SABnzbd:486] UNRAR binary... found (/usr/bin/unrar)
2016-11-13 15:48:31,170::INFO::[SABnzbd:492] unzip binary... found (/usr/bin/unzip)
2016-11-13 15:48:31,170::INFO::[SABnzbd:497] 7za binary... found (/usr/bin/7za)
2016-11-13 15:48:31,171::INFO::[SABnzbd:503] nice binary... found (/usr/bin/nice)
2016-11-13 15:48:31,171::INFO::[SABnzbd:507] ionice binary... found (/usr/bin/ionice)
2016-11-13 15:48:31,171::INFO::[SABnzbd:512] pyOpenSSL... found (True)
2016-11-13 15:48:31,171::INFO::[SABnzbd:1357] SSL version OpenSSL 1.0.1f 6 Jan 2014
2016-11-13 15:48:31,171::INFO::[SABnzbd:1358] pyOpenSSL version 0.13
2016-11-13 15:48:31,171::INFO::[SABnzbd:1359] SSL potentially supported protocols ['SSLv23', 'SSLv3', 'TLSv1']
2016-11-13 15:48:31,171::INFO::[SABnzbd:1360] SSL actually supported protocols ['v23', 't1', 'v3']
2016-11-13 15:48:31,173::INFO::[SABnzbd:1507] Starting web-interface on 0.0.0.0:9090
2016-11-13 15:48:31,173::INFO::[_cplogging:217] [13/Nov/2016:15:48:31] ENGINE Bus STARTING
2016-11-13 15:48:31,175::INFO::[_cplogging:217] [13/Nov/2016:15:48:31] ENGINE Started monitor thread '_TimeoutMonitor'.
2016-11-13 15:48:31,379::INFO::[_cplogging:217] [13/Nov/2016:15:48:31] ENGINE Serving on https://0.0.0.0:9090
2016-11-13 15:48:31,581::INFO::[_cplogging:217] [13/Nov/2016:15:48:31] ENGINE Serving on http://0.0.0.0:8080
2016-11-13 15:48:31,581::INFO::[_cplogging:217] [13/Nov/2016:15:48:31] ENGINE Bus STARTED
2016-11-13 15:48:31,738::INFO::[SABnzbd:1579] Starting SABnzbd.py-1.1.0
2016-11-13 15:48:31,740::INFO::[dirscanner:318] Dirscanner starting up
2016-11-13 15:48:31,740::INFO::[urlgrabber:71] URLGrabber starting up
I found a difference:

V1.1.1 = ENGINE Serving on https://127.0.1.1:9090
V1.1.0= ENGINE Serving on https://0.0.0.0:9090

And that with the same Config. Something is there wrong!

Re: SABnzbd Version: 1.1.1 crashed

Posted: November 13th, 2016, 11:56 am
by safihre
That's very very odd, how does 127.0.1.1 end up there? It should be 127.0.0.1.
Something seems wrong with the localhost definition of your system.
Maybe sander or JCFP know?

Re: SABnzbd Version: 1.1.1 crashed

Posted: November 13th, 2016, 12:08 pm
by safihre
Could you try:
In the 1.1.1 code, open SABnzbd.py and make the code around line 1395 to say:

Code: Select all

    # Determine if this system has multiple definitions for 'localhost'
    hosts = all_localhosts()
    print hosts
    print socket.getaddrinfo('localhost', None)
It should now print 2 extra lines to your console when starting.

Re: SABnzbd Version: 1.1.1 crashed

Posted: November 13th, 2016, 12:32 pm
by JobbeDeluxe
If i have "localhost" is show:

2016-11-13 15:40:45,418::INFO::[SABnzbd:1507] Starting web-interface on 127.0.0.1:9090
2016-11-13 15:40:45,419::INFO::[_cplogging:217] [13/Nov/2016:15:40:45] ENGINE Bus STARTING
2016-11-13 15:40:45,422::INFO::[_cplogging:217] [13/Nov/2016:15:40:45] ENGINE Started monitor thread '_TimeoutMonitor'.
2016-11-13 15:40:45,623::INFO::[_cplogging:217] [13/Nov/2016:15:40:45] ENGINE Serving on http://127.0.0.1:8080
2016-11-13 15:40:45,828::INFO::[_cplogging:217] [13/Nov/2016:15:40:45] ENGINE Serving on https://127.0.0.1:9090
2016-11-13 15:40:45,828::INFO::[_cplogging:217] [13/Nov/2016:15:40:45] ENGINE Bus STARTED

That is correct.
Only when i change to start with 0.0.0.0 than is show that:

2016-11-13 15:42:30,419::INFO::[SABnzbd:1507] Starting web-interface on 0.0.0.0:9090
2016-11-13 15:42:30,420::INFO::[_cplogging:217] [13/Nov/2016:15:42:30] ENGINE Bus STARTING
2016-11-13 15:42:30,422::INFO::[_cplogging:217] [13/Nov/2016:15:42:30] ENGINE Started monitor thread '_TimeoutMonitor'.
2016-11-13 15:42:30,623::INFO::[_cplogging:217] [13/Nov/2016:15:42:30] ENGINE Serving on http://0.0.0.0:8080
2016-11-13 15:42:30,827::INFO::[_cplogging:217] [13/Nov/2016:15:42:30] ENGINE Serving on https://127.0.1.1:9090


That is strange.

The log from the changes written: Log:

Code: Select all

sab@#:~/SABnzbd-1.1.1$ python SABnzbd.py
2016-11-13 18:26:18,127::INFO::[SABnzbd:1230] --------------------------------
2016-11-13 18:26:18,127::INFO::[SABnzbd:1231] SABnzbd.py-1.1.1 (rev=33a7874416d8a8cc6a0d1e3f8d1                                        e4042f2762d81)
2016-11-13 18:26:18,127::INFO::[SABnzbd:1232] Full executable path = /home/sab/SABnzbd-1.1.1/SA                                        Bnzbd.py
2016-11-13 18:26:18,128::INFO::[SABnzbd:1244] Platform = posix
2016-11-13 18:26:18,128::INFO::[SABnzbd:1245] Python-version = 2.7.6 (default, Jun 22 2015, 17:                                        58:13)
[GCC 4.8.2]
2016-11-13 18:26:18,128::INFO::[SABnzbd:1246] Arguments = SABnzbd.py
2016-11-13 18:26:18,128::INFO::[SABnzbd:1248] Preferred encoding = UTF-8
2016-11-13 18:26:18,128::INFO::[SABnzbd:1296] Read INI file /home/sab/.sabnzbd/sabnzbd.ini
2016-11-13 18:26:20,225::INFO::[__init__:946] Loading data for rss_data.sab from /home/sab/.sab                                        nzbd/admin/rss_data.sab
2016-11-13 18:26:20,226::INFO::[__init__:946] Loading data for totals10.sab from /home/sab/.sab                                        nzbd/admin/totals10.sab
2016-11-13 18:26:20,226::INFO::[postproc:89] Loading postproc queue
2016-11-13 18:26:20,226::INFO::[__init__:946] Loading data for postproc2.sab from /home/sab/.sa                                        bnzbd/admin/postproc2.sab
2016-11-13 18:26:20,226::INFO::[__init__:946] Loading data for queue10.sab from /home/sab/.sabn                                        zbd/admin/queue10.sab
2016-11-13 18:26:20,227::INFO::[__init__:946] Loading data for watched_data2.sab from /home/sab                                        /.sabnzbd/admin/watched_data2.sab
2016-11-13 18:26:20,227::INFO::[__init__:946] Loading data for Rating.sab from /home/sab/.sabnz                                        bd/admin/Rating.sab
2016-11-13 18:26:20,228::INFO::[scheduler:190] Setting schedule for midnight BPS reset
2016-11-13 18:26:20,228::INFO::[__init__:330] All processes started
2016-11-13 18:26:20,228::INFO::[SABnzbd:342] Web dir is /home/sab/SABnzbd-1.1.1/interfaces/smpl
2016-11-13 18:26:20,228::INFO::[SABnzbd:342] Web dir is /home/sab/SABnzbd-1.1.1/interfaces/Glit                                        ter
2016-11-13 18:26:20,228::INFO::[SABnzbd:342] Web dir is /home/sab/SABnzbd-1.1.1/interfaces/Conf                                        ig
2016-11-13 18:26:20,250::INFO::[SABnzbd:470] _yenc module... found!
2016-11-13 18:26:20,250::INFO::[SABnzbd:478] par2 binary... found (/usr/bin/par2)
2016-11-13 18:26:20,250::INFO::[SABnzbd:483] par2cmdline binary... found (/usr/bin/par2)
2016-11-13 18:26:20,250::INFO::[SABnzbd:486] UNRAR binary... found (/usr/bin/unrar)
2016-11-13 18:26:20,250::INFO::[SABnzbd:492] unzip binary... found (/usr/bin/unzip)
2016-11-13 18:26:20,250::INFO::[SABnzbd:497] 7za binary... found (/usr/bin/7za)
2016-11-13 18:26:20,250::INFO::[SABnzbd:503] nice binary... found (/usr/bin/nice)
2016-11-13 18:26:20,250::INFO::[SABnzbd:507] ionice binary... found (/usr/bin/ionice)
2016-11-13 18:26:20,251::INFO::[SABnzbd:512] pyOpenSSL... found (True)
2016-11-13 18:26:20,251::INFO::[SABnzbd:1357] SSL version OpenSSL 1.0.1f 6 Jan 2014
2016-11-13 18:26:20,251::INFO::[SABnzbd:1358] pyOpenSSL version 0.13
2016-11-13 18:26:20,251::INFO::[SABnzbd:1359] SSL potentially supported protocols ['SSLv23', 'S                                        SLv3', 'TLSv1']
2016-11-13 18:26:20,251::INFO::[SABnzbd:1360] SSL actually supported protocols ['v23', 't1', 'v                                        3']
['127.0.0.1', '127.0.1.1']
[(10, 1, 6, '', ('::1', 0, 0, 0)), (10, 2, 17, '', ('::1', 0, 0, 0)), (10, 3, 0, '', ('::1', 0,                                         0, 0)), (2, 1, 6, '', ('127.0.0.1', 0)), (2, 2, 17, '', ('127.0.0.1', 0)), (2, 3, 0, '', ('127                                        .0.0.1', 0)), (2, 1, 6, '', ('127.0.1.1', 0)), (2, 2, 17, '', ('127.0.1.1', 0)), (2, 3, 0, '',                                         ('127.0.1.1', 0))]
2016-11-13 18:26:20,253::INFO::[SABnzbd:1509] Starting web-interface on 0.0.0.0:9090
2016-11-13 18:26:20,253::INFO::[_cplogging:217] [13/Nov/2016:18:26:20] ENGINE Bus STARTING
2016-11-13 18:26:20,256::INFO::[_cplogging:217] [13/Nov/2016:18:26:20] ENGINE Started monitor t                                        hread '_TimeoutMonitor'.
2016-11-13 18:26:20,457::INFO::[_cplogging:217] [13/Nov/2016:18:26:20] ENGINE Serving on http:/                                        /127.0.1.1:8080
2016-11-13 18:26:20,504::ERROR::[_cplogging:217] [13/Nov/2016:18:26:20] ENGINE Error in HTTP se                                        rver: shutting down
Traceback (most recent call last):
  File "/home/sab/SABnzbd-1.1.1/cherrypy/process/servers.py", line 205, in _start_http_thread
    self.httpserver.start()
  File "/home/sab/SABnzbd-1.1.1/cherrypy/wsgiserver/wsgiserver2.py", line 1957, in start
    raise socket.error(msg)
error: No socket could be created -- (('0.0.0.0', 8080): [Errno 98] Address already in use)

2016-11-13 18:26:20,505::INFO::[_cplogging:217] [13/Nov/2016:18:26:20] ENGINE Bus STOPPING
2016-11-13 18:26:20,505::INFO::[_cplogging:217] [13/Nov/2016:18:26:20] ENGINE HTTP Server cherr                                        ypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 8080)) already shut down
2016-11-13 18:26:20,507::INFO::[_cplogging:217] [13/Nov/2016:18:26:20] ENGINE HTTP Server cherr                                        ypy._cpwsgi_server.CPWSGIServer(('127.0.1.1', 8080)) shut down
2016-11-13 18:26:20,507::INFO::[_cplogging:217] [13/Nov/2016:18:26:20] ENGINE HTTP Server None                                         already shut down
2016-11-13 18:26:20,507::INFO::[_cplogging:217] [13/Nov/2016:18:26:20] ENGINE HTTP Server None                                         already shut down
2016-11-13 18:26:20,507::INFO::[_cplogging:217] [13/Nov/2016:18:26:20] ENGINE Stopped thread '_                                        TimeoutMonitor'.
2016-11-13 18:26:20,507::INFO::[_cplogging:217] [13/Nov/2016:18:26:20] ENGINE Bus STOPPED
2016-11-13 18:26:20,507::INFO::[_cplogging:217] [13/Nov/2016:18:26:20] ENGINE Bus EXITING
2016-11-13 18:26:20,508::INFO::[_cplogging:217] [13/Nov/2016:18:26:20] ENGINE Bus EXITED
sab@#:~/SABnzbd-1.1.1$
you are right, i have an "change in my hosts file.
hosts:

Code: Select all

127.0.0.1       localhost
127.0.1.1       localhost
::1             localhost ip6-localhost ip6-loopback
ff02::1         ip6-allnodes
ff02::2         ip6-allrouters
But i wounder why this only happend when i try with 0.0.0.0 and not on localhost. On localhost running everything is fine.


The log say something about port in use. I restarted and shutdown and restartet. Than it looks better. But the logs seems to be no divference anymore. but server wount start. LOG:

Code: Select all

sab@#:~$ python SABnzbd-1.1.1/SABnzbd.py
2016-11-13 18:53:35,220::INFO::[SABnzbd:1230] --------------------------------
2016-11-13 18:53:35,220::INFO::[SABnzbd:1231] SABnzbd.py-1.1.1 (rev=33a7874416d8a8cc6a0d1e3f8d1e4042f2762d81)
2016-11-13 18:53:35,221::INFO::[SABnzbd:1232] Full executable path = /home/sab/SABnzbd-1.1.1/SABnzbd.py
2016-11-13 18:53:35,221::INFO::[SABnzbd:1244] Platform = posix
2016-11-13 18:53:35,221::INFO::[SABnzbd:1245] Python-version = 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2]
2016-11-13 18:53:35,221::INFO::[SABnzbd:1246] Arguments = SABnzbd-1.1.1/SABnzbd.py
2016-11-13 18:53:35,221::INFO::[SABnzbd:1248] Preferred encoding = UTF-8
2016-11-13 18:53:35,221::INFO::[SABnzbd:1296] Read INI file /home/sab/.sabnzbd/sabnzbd.ini
2016-11-13 18:53:37,238::INFO::[__init__:946] Loading data for rss_data.sab from /home/sab/.sabnzbd/admin/rss_data.sab
2016-11-13 18:53:37,239::INFO::[__init__:946] Loading data for totals10.sab from /home/sab/.sabnzbd/admin/totals10.sab
2016-11-13 18:53:37,239::INFO::[postproc:89] Loading postproc queue
2016-11-13 18:53:37,239::INFO::[__init__:946] Loading data for postproc2.sab from /home/sab/.sabnzbd/admin/postproc2.sab
2016-11-13 18:53:37,239::INFO::[__init__:946] Loading data for queue10.sab from /home/sab/.sabnzbd/admin/queue10.sab
2016-11-13 18:53:37,240::INFO::[__init__:946] Loading data for watched_data2.sab from /home/sab/.sabnzbd/admin/watched_data2.sab
2016-11-13 18:53:37,240::INFO::[__init__:946] Loading data for Rating.sab from /home/sab/.sabnzbd/admin/Rating.sab
2016-11-13 18:53:37,241::INFO::[scheduler:190] Setting schedule for midnight BPS reset
2016-11-13 18:53:37,241::INFO::[__init__:330] All processes started
2016-11-13 18:53:37,241::INFO::[SABnzbd:342] Web dir is /home/sab/SABnzbd-1.1.1/interfaces/smpl
2016-11-13 18:53:37,241::INFO::[SABnzbd:342] Web dir is /home/sab/SABnzbd-1.1.1/interfaces/Glitter
2016-11-13 18:53:37,241::INFO::[SABnzbd:342] Web dir is /home/sab/SABnzbd-1.1.1/interfaces/Config
2016-11-13 18:53:37,260::INFO::[SABnzbd:470] _yenc module... found!
2016-11-13 18:53:37,261::INFO::[SABnzbd:478] par2 binary... found (/usr/bin/par2)
2016-11-13 18:53:37,261::INFO::[SABnzbd:483] par2cmdline binary... found (/usr/bin/par2)
2016-11-13 18:53:37,261::INFO::[SABnzbd:486] UNRAR binary... found (/usr/bin/unrar)
2016-11-13 18:53:37,291::INFO::[SABnzbd:492] unzip binary... found (/usr/bin/unzip)
2016-11-13 18:53:37,291::INFO::[SABnzbd:497] 7za binary... found (/usr/bin/7za)
2016-11-13 18:53:37,291::INFO::[SABnzbd:503] nice binary... found (/usr/bin/nice)
2016-11-13 18:53:37,291::INFO::[SABnzbd:507] ionice binary... found (/usr/bin/ionice)
2016-11-13 18:53:37,292::INFO::[SABnzbd:512] pyOpenSSL... found (True)
2016-11-13 18:53:37,292::INFO::[SABnzbd:1357] SSL version OpenSSL 1.0.1f 6 Jan 2014
2016-11-13 18:53:37,292::INFO::[SABnzbd:1358] pyOpenSSL version 0.13
2016-11-13 18:53:37,292::INFO::[SABnzbd:1359] SSL potentially supported protocols ['SSLv23', 'SSLv3', 'TLSv1']
2016-11-13 18:53:37,292::INFO::[SABnzbd:1360] SSL actually supported protocols ['v23', 't1', 'v3']
['127.0.0.1', '127.0.1.1']
[(10, 1, 6, '', ('::1', 0, 0, 0)), (10, 2, 17, '', ('::1', 0, 0, 0)), (10, 3, 0, '', ('::1', 0, 0, 0)), (2, 1, 6, '', ('127.0.0.1', 0)), (2, 2, 17, '', ('127.0.0.1', 0)), (2, 3, 0, '', ('127.0.0.1', 0)), (2, 1, 6, '', ('127.0.1.1', 0)), (2, 2, 17, '', ('127.0.1.1', 0)), (2, 3, 0, '', ('127.0.1.1', 0))]
2016-11-13 18:53:37,294::INFO::[SABnzbd:1509] Starting web-interface on 0.0.0.0:9090
2016-11-13 18:53:37,294::INFO::[_cplogging:217] [13/Nov/2016:18:53:37] ENGINE Bus STARTING
2016-11-13 18:53:37,297::INFO::[_cplogging:217] [13/Nov/2016:18:53:37] ENGINE Started monitor thread '_TimeoutMonitor'.
2016-11-13 18:53:37,510::INFO::[_cplogging:217] [13/Nov/2016:18:53:37] ENGINE Serving on https://0.0.0.0:9090
2016-11-13 18:53:37,712::INFO::[_cplogging:217] [13/Nov/2016:18:53:37] ENGINE Serving on http://0.0.0.0:8080
2016-11-13 18:53:42,751::ERROR::[_cplogging:217] [13/Nov/2016:18:53:42] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
  File "/home/sab/SABnzbd-1.1.1/cherrypy/process/wspbus.py", line 241, in start
    self.publish('start')
  File "/home/sab/SABnzbd-1.1.1/cherrypy/process/wspbus.py", line 219, in publish
    level=40, traceback=True)
  File "/home/sab/SABnzbd-1.1.1/cherrypy/process/wspbus.py", line 450, in log
    self.publish('log', msg, level)
  File "/home/sab/SABnzbd-1.1.1/cherrypy/process/wspbus.py", line 221, in publish
    raise exc
ChannelFailures: TypeError('not enough arguments for format string',)

2016-11-13 18:53:42,751::INFO::[_cplogging:217] [13/Nov/2016:18:53:42] ENGINE Bus STOPPING
2016-11-13 18:53:42,753::INFO::[_cplogging:217] [13/Nov/2016:18:53:42] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 8080)) shut down
2016-11-13 18:53:48,857::INFO::[_cplogging:217] [13/Nov/2016:18:53:48] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 9090)) shut down
2016-11-13 18:53:48,857::INFO::[_cplogging:217] [13/Nov/2016:18:53:48] ENGINE HTTP Server None already shut down
2016-11-13 18:53:48,857::INFO::[_cplogging:217] [13/Nov/2016:18:53:48] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('127.0.1.1', 9090)) already shut down
2016-11-13 18:53:48,857::INFO::[_cplogging:217] [13/Nov/2016:18:53:48] ENGINE Stopped thread '_TimeoutMonitor'.
2016-11-13 18:53:48,857::INFO::[_cplogging:217] [13/Nov/2016:18:53:48] ENGINE Bus STOPPED
2016-11-13 18:53:48,858::INFO::[_cplogging:217] [13/Nov/2016:18:53:48] ENGINE Bus EXITING
2016-11-13 18:53:48,858::INFO::[_cplogging:217] [13/Nov/2016:18:53:48] ENGINE Bus EXITED

Re: SABnzbd Version: 1.1.1 crashed

Posted: November 13th, 2016, 12:58 pm
by safihre
Because on localhost we stay only on the local machine, while with 0.0.0.0 we need to bind to the outside ports.
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?

Re: SABnzbd Version: 1.1.1 crashed

Posted: November 13th, 2016, 12:59 pm
by JobbeDeluxe
yes, on some reason the mongodatabase need that port for "localhost" for backloop.
But why it works bevor? on 1.1.0 is no Problem