Used to work, but now crashes immediately on startup

Get help with all aspects of 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.
Post Reply
bobby_t1
Newbie
Newbie
Posts: 3
Joined: January 13th, 2016, 11:47 pm

Used to work, but now crashes immediately on startup

Post by bobby_t1 »

My installation of 0.7.20 crashes immediately on startup suddenly and not sure what has happened since I've made no config changes to it nor my system that I'm aware of.

I'm on Windows 10 x64.

Relevant log portion is the following:

Code: Select all

2016-01-13 20:45:37,119::INFO::[sabnzbd:464] _yenc module... found!
2016-01-13 20:45:37,121::INFO::[sabnzbd:472] par2 binary... found (C:\Program Files (x86)\SABnzbd\win\par2\x64\par2.exe)
2016-01-13 20:45:37,121::INFO::[sabnzbd:477] par2-classic binary... found (C:\Program Files (x86)\SABnzbd\win\par2\par2-classic.exe)
2016-01-13 20:45:37,121::INFO::[sabnzbd:480] unrar binary... found (C:\Program Files (x86)\SABnzbd\win\unrar\x64\UnRAR.exe)
2016-01-13 20:45:37,121::INFO::[sabnzbd:485] unzip binary... found (C:\Program Files (x86)\SABnzbd\win\unzip\unzip.exe)
2016-01-13 20:45:37,121::INFO::[sabnzbd:500] pyOpenSSL... found (True)
2016-01-13 20:45:37,122::INFO::[sabnzbd:1528] Starting web-interface on 0.0.0.0:8080
2016-01-13 20:45:39,127::INFO::[_cplogging:55] [13/Jan/2016:20:45:39] ENGINE Bus STARTING
2016-01-13 20:45:39,134::INFO::[_cplogging:55] [13/Jan/2016:20:45:39] ENGINE Started monitor thread '_TimeoutMonitor'.
2016-01-13 20:45:39,335::INFO::[_cplogging:55] [13/Jan/2016:20:45:39] ENGINE Serving on ::1:8080
2016-01-13 20:45:39,440::ERROR::[_cplogging:55] [13/Jan/2016:20:45:39] ENGINE Error in HTTP server: shutting down
Traceback (most recent call last):
  File "cherrypy\process\servers.pyo", line 75, in _start_http_thread
  File "cherrypy\wsgiserver\__init__.pyo", line 1644, in start
error: (10013, 'Permission denied')

2016-01-13 20:45:39,440::INFO::[_cplogging:55] [13/Jan/2016:20:45:39] ENGINE Bus STOPPING
2016-01-13 20:45:39,440::INFO::[_cplogging:55] [13/Jan/2016:20:45:39] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 8080)) already shut down
2016-01-13 20:45:39,539::ERROR::[_cplogging:55] [13/Jan/2016:20:45:39] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x02976C50>>
Traceback (most recent call last):
  File "cherrypy\process\wspbus.pyo", line 147, in publish
  File "cherrypy\_cpserver.pyo", line 90, in start
  File "cherrypy\process\servers.pyo", line 62, in start
  File "cherrypy\process\servers.pyo", line 97, in wait
error: (10013, 'Permission denied')

2016-01-13 20:45:39,539::ERROR::[_cplogging:55] [13/Jan/2016:20:45:39] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
  File "cherrypy\process\wspbus.pyo", line 184, in start
  File "cherrypy\process\wspbus.pyo", line 147, in publish
  File "cherrypy\_cpserver.pyo", line 90, in start
  File "cherrypy\process\servers.pyo", line 62, in start
  File "cherrypy\process\servers.pyo", line 97, in wait
error: (10013, 'Permission denied')

2016-01-13 20:45:39,539::INFO::[_cplogging:55] [13/Jan/2016:20:45:39] ENGINE Bus STOPPING
2016-01-13 20:45:39,539::INFO::[_cplogging:55] [13/Jan/2016:20:45:39] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 8080)) already shut down
2016-01-13 20:45:39,546::INFO::[_cplogging:55] [13/Jan/2016:20:45:39] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('::1', 8080)) shut down
2016-01-13 20:45:39,559::INFO::[_cplogging:55] [13/Jan/2016:20:45:39] ENGINE Stopped thread '_TimeoutMonitor'.
2016-01-13 20:45:39,559::INFO::[_cplogging:55] [13/Jan/2016:20:45:39] ENGINE Bus STOPPED
2016-01-13 20:45:39,559::INFO::[_cplogging:55] [13/Jan/2016:20:45:39] ENGINE Bus EXITING
2016-01-13 20:45:39,559::INFO::[_cplogging:55] [13/Jan/2016:20:45:39] ENGINE Bus EXITED
2016-01-13 20:45:39,641::INFO::[_cplogging:55] [13/Jan/2016:20:45:39] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('::1', 8080)) shut down
2016-01-13 20:45:39,641::INFO::[_cplogging:55] [13/Jan/2016:20:45:39] ENGINE No thread running for _TimeoutMonitor.
2016-01-13 20:45:39,641::INFO::[_cplogging:55] [13/Jan/2016:20:45:39] ENGINE Bus STOPPED
2016-01-13 20:45:39,642::INFO::[_cplogging:55] [13/Jan/2016:20:45:39] ENGINE Bus EXITING
2016-01-13 20:45:39,642::INFO::[_cplogging:55] [13/Jan/2016:20:45:39] ENGINE Bus EXITED
2016-01-13 20:45:39,644::ERROR::[sabnzbd:1546] Failed to start web-interface: 
Traceback (most recent call last):
  File "SABnzbd.py", line 1535, in main
  File "cherrypy\process\wspbus.pyo", line 184, in start
  File "cherrypy\process\wspbus.pyo", line 147, in publish
  File "cherrypy\_cpserver.pyo", line 90, in start
  File "cherrypy\process\servers.pyo", line 62, in start
  File "cherrypy\process\servers.pyo", line 97, in wait
error: (10013, 'Permission denied')
2016-01-13 20:45:39,644::ERROR::[sabnzbd:304] Failed to start web-interface : 
2016-01-13 20:45:39,644::INFO::[__init__:373] SABnzbd shutting down...
2016-01-13 20:45:39,645::INFO::[__init__:919] Saving data for bookmarks.sab in C:\Users\my_user_name\AppData\Local\sabnzbd\admin\bookmarks.sab
2016-01-13 20:45:39,648::DEBUG::[__init__:380] Stopping URLGrabber
2016-01-13 20:45:39,648::INFO::[urlgrabber:72] URLGrabber shutting down
2016-01-13 20:45:39,648::DEBUG::[__init__:387] Stopping Newzbin-Grabber
2016-01-13 20:45:39,650::DEBUG::[__init__:394] Stopping rating
2016-01-13 20:45:39,650::DEBUG::[__init__:401] Stopping dirscanner
2016-01-13 20:45:39,651::INFO::[__init__:919] Saving data for watched_data.sab in C:\Users\my_user_name\AppData\Local\sabnzbd\admin\watched_data.sab
2016-01-13 20:45:39,653::INFO::[dirscanner:268] Dirscanner shutting down
2016-01-13 20:45:39,653::DEBUG::[__init__:410] Stopping downloader
2016-01-13 20:45:39,654::DEBUG::[__init__:413] Stopping assembler
2016-01-13 20:45:39,654::DEBUG::[__init__:420] Stopping postprocessor
2016-01-13 20:45:39,654::INFO::[postproc:85] Saving postproc queue
2016-01-13 20:45:39,654::INFO::[__init__:919] Saving data for postproc1.sab in C:\Users\my_user_name\AppData\Local\sabnzbd\admin\postproc1.sab
2016-01-13 20:45:39,657::INFO::[nzbqueue:218] Saving queue
2016-01-13 20:45:39,657::INFO::[__init__:919] Saving data for queue9.sab in C:\Users\my_user_name\AppData\Local\sabnzbd\admin\queue9.sab
2016-01-13 20:45:39,660::INFO::[__init__:919] Saving data for totals9.sab in C:\Users\my_user_name\AppData\Local\sabnzbd\admin\totals9.sab
2016-01-13 20:45:39,667::INFO::[__init__:919] Saving data for rss_data.sab in C:\Users\my_user_name\AppData\Local\sabnzbd\admin\rss_data.sab
2016-01-13 20:45:39,670::INFO::[__init__:919] Saving data for bookmarks.sab in C:\Users\my_user_name\AppData\Local\sabnzbd\admin\bookmarks.sab
2016-01-13 20:45:39,676::INFO::[__init__:919] Saving data for watched_data.sab in C:\Users\my_user_name\AppData\Local\sabnzbd\admin\watched_data.sab
2016-01-13 20:45:39,678::INFO::[postproc:85] Saving postproc queue
2016-01-13 20:45:39,680::INFO::[__init__:919] Saving data for postproc1.sab in C:\Users\my_user_name\AppData\Local\sabnzbd\admin\postproc1.sab
2016-01-13 20:45:39,681::DEBUG::[scheduler:229] Terminating scheduler
2016-01-13 20:45:39,683::INFO::[__init__:440] All processes stopped
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Used to work, but now crashes immediately on startup

Post by sander »

You're trying to bind to port 8080 and you
error: (10013, 'Permission denied')
Maybe that port 8080 is in use? Or a firewall is forbidding to use it?

Thing to try:
Make sure SABnzbd is not running
Open CMD box, go to the Program Files directory containing SABnzbd, and run this:

Code: Select all

sabnzbd-console.exe --server 0.0.0.0:11111
And if that does not work

Code: Select all

sabnzbd-console.exe --server 127.0.0.1:11111
bobby_t1
Newbie
Newbie
Posts: 3
Joined: January 13th, 2016, 11:47 pm

Re: Used to work, but now crashes immediately on startup

Post by bobby_t1 »

Looks like

Code: Select all

sabnzbd-console.exe --server 0.0.0.0:11111
worked, so it's the port issue?

The firewall has an exception for it for both private and public networks.

I thought the port conflict might be the issue, but using TCPView, nothing is being reported to be running on port 8080.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Used to work, but now crashes immediately on startup

Post by sander »

Good that it works now.

It could be all kinds of things: port, IPv4/IPv6, firewall, virusscanner, other program on port 8080, sabnzbd already running, system rights, etc, etc.
bobby_t1
Newbie
Newbie
Posts: 3
Joined: January 13th, 2016, 11:47 pm

Re: Used to work, but now crashes immediately on startup

Post by bobby_t1 »

So out of curiosity, what is the long term fix? I dont' want to have to keep invoking by command line
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Used to work, but now crashes immediately on startup

Post by sander »

bobby_t1 wrote:So out of curiosity, what is the long term fix? I dont' want to have to keep invoking by command line
AFAIK, just start your regular non-commandline SABnzbd; it will use the new 0.0.0.0:11111 setting.
Post Reply