Page 1 of 1

Sabnzbd will not stay open [Win8.1]

Posted: December 27th, 2013, 11:58 am
by mephatmatt
Not sure if anyone else is having similar problems but as of recently, I cannot get this sabnzbd.exe to stay open! Been running the software for a year or two without any problems. Upon starting exe as administrator in Win 8.1, it shows up temporarily in task manager and then disappears. My initial reaction was that a recent change in the firewall or AVG must be causing this. After disabling both, I noticed that the same thing happened. At a loss for what to do next. Just reinstalled and ensured I'm running the newest 0.7.16.

I noticed that all this started in the last week or two. Any suggestions?

Re: Sabnzbd will not stay open [Win8.1]

Posted: December 27th, 2013, 2:16 pm
by sander
On Windows, open a CMD shell, find sabnzbd-console.exe (somewhere c:\program files ... \SABnzbd'\ ..), and start it in the CMD box. Monitor the output, and post it here.

Re: Sabnzbd will not stay open [Win8.1]

Posted: December 27th, 2013, 3:39 pm
by mephatmatt
C:\Program Files (x86)\SABnzbd>sabnzbd-console.exe
2013-12-27 15:37:20,032::ERROR::[_cplogging:55] [27/Dec/2013:15:37:20] ENGINE Er
ror 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: (10049, "Can't assign requested address")

Exception in thread HTTPServer Thread-10:
Traceback (most recent call last):
File "threading.pyo", line 488, in __bootstrap_inner
File "threading.pyo", line 448, in run
File "cherrypy\process\servers.pyo", line 75, in _start_http_thread
File "cherrypy\wsgiserver\__init__.pyo", line 1644, in start
error: (10049, "Can't assign requested address")

2013-12-27 15:37:20,134::ERROR::[_cplogging:55] [27/Dec/2013:15:37:20] ENGINE Er
ror in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server
object at 0x02605B70>>
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: (10049, "Can't assign requested address")

2013-12-27 15:37:20,134::ERROR::[_cplogging:55] [27/Dec/2013:15:37:20] ENGINE Sh
utting 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: (10049, "Can't assign requested address")

2013-12-27 15:37:20,137::ERROR::[sabnzbd:1501] Failed to start web-interface:
Traceback (most recent call last):
File "SABnzbd.py", line 1490, 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: (10049, "Can't assign requested address")
2013-12-27 15:37:20,138::ERROR::[sabnzbd:303] Failed to start web-interface :

C:\Program Files (x86)\SABnzbd>

Re: Sabnzbd will not stay open [Win8.1]

Posted: December 27th, 2013, 4:06 pm
by sander
OK, there it is: "error: (10049, "Can't assign requested address")".

Do this:

Code: Select all

sabnzbd-console.exe --server 127.0.0.1:8080 
HTH

Re: Sabnzbd will not stay open [Win8.1]

Posted: December 27th, 2013, 5:32 pm
by mephatmatt
This works but also raises two concerns:

1) The command prompt must stay open in order for the service to run. As soon as I close the window, it does not work. Any way around this so I don't have to keep the window open 24/7?

2) While the loopback IP works, I perfer using my static IP so that I can monitor downloads from other devices on my LAN. Anyway around this?

Thanks for the support! I'm at least up and running for the time being.

Re: Sabnzbd will not stay open [Win8.1]

Posted: December 28th, 2013, 1:07 am
by sander
OK, nex step:

With sabnzbd open & running, in SAB go to Config -> General, and at "SABnzbd Host" fill out 0.0.0.0. Save and exit, and start the normal sabnzbd.

Re: Sabnzbd will not stay open [Win8.1]

Posted: December 29th, 2013, 12:46 pm
by mephatmatt
Changed settings to 0.0.0.0 but the sabnzbd.exe still closes shortly after executing... Console still works though.