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