Page 1 of 2
SABNZBD fails to start [Windows 10]
Posted: July 17th, 2017, 10:50 pm
by HelicopterHigh
Recently I noticed my installation was not running. I restarted windows and it did not start automatically like normal, so I reinstalled version 2.1.0. It still didn't start. I decided to monitor the task manager when I attempted to launch the program manually and it showed the program run for a few seconds before disappearing from the program list. I tried installing version 2.2.0 Alpha 3... same problem. I tried the standalones... same problem. Any advice?
I don't know what could have caused this. I don't have any new program installations and I know I have used the program since my last windows update. I don't know if this is related or not, but I also can't type in the windows taskbar cortana/search box...
Any help would be much appreciated.
Re: SABNZBD fails to start [Windows 10]
Posted: July 18th, 2017, 12:12 am
by safihre
What happens when you run sabnzbd-console.exe? Does it appear and dissappear very quickly?
In that case, you need to run it from a command prompt by navigating to the instalation directory or the Standalone directory and then running:
I assume your also restarted your computer already? Sometimes there is weird behavior after big windows updates.
Re: SABNZBD fails to start [Windows 10]
Posted: July 18th, 2017, 8:55 am
by HelicopterHigh
Yes. I have restarted the computer as well. Maybe i’ll try restarting into safe mode.
Re: SABNZBD fails to start [Windows 10]
Posted: July 18th, 2017, 9:53 am
by HelicopterHigh
I have restarted the computer numerous times and the program would not start automatically or manually. However, when I restarted and booted in Safe Mode with Networking, I was able to manually launch the program and access the Web GUI...
Re: SABNZBD fails to start [Windows 10]
Posted: March 4th, 2021, 6:15 am
by bobbinbrisco
Hi
Bringing up an old thread.. did anyone managed to get this to work?
I can only open SabnZbd if I open via the command console
.\sabnzbd-console.exe -l 2
otherwise when I put my mouse over the icon in the taskbar the program closes.. i've uninstalled and installed a number of times.
thanks
Re: SABNZBD fails to start [Windows 10]
Posted: March 4th, 2021, 1:36 pm
by Puzzled
My first suspicion is that SABnzbd thinks another SABnzbd process already exists. Try opening a cmd shell and type
tasklist /v | find /i "sabnzbd"
with no SABnzbd process running to see if it finds anything.
If you don't find anything it might be helpful if you could turn on debug logging (Wrench, bottom of Status tab), delete the log file, try to start and then see if anything is written to the log.
Re: SABNZBD fails to start [Windows 10]
Posted: March 5th, 2021, 9:44 pm
by bobbinbrisco
this is annoying keep getting New users are not allowed to post links when trying to post the log..
Re: SABNZBD fails to start [Windows 10]
Posted: March 5th, 2021, 9:48 pm
by bobbinbrisco
Re: SABNZBD fails to start [Windows 10]
Posted: March 6th, 2021, 3:08 am
by sander
Ah, Tracebacks!
SAB cannot use 127.0.0.1:8080. Possible causes:
- another program /process is already using 8080
- there is a firewall preventing usage
With this Windows command you can find if / which process is using port 8080:
if it gives output (like "6432"), you can find the process name with:
What is the output?
Code: Select all
2021-03-05 16:25:47,064::INFO::[SABnzbd:1431] Starting web-interface on 127.0.0.1:8080
2021-03-05 16:25:47,064::INFO::[_cplogging:213] [05/Mar/2021:16:25:47] ENGINE Bus STARTING
2021-03-05 16:25:52,210::INFO::[notifier:122] Sending notification: Error - [05/Mar/2021:16:25:52] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x00000231D5B0A6D0>>
Traceback (most recent call last):
File "cherrypy\process\wspbus.py", line 230, in publish
File "cherrypy\_cpserver.py", line 180, in start
File "cherrypy\process\servers.py", line 184, in start
File "cherrypy\process\servers.py", line 260, in wait
File "portend.py", line 162, in occupied
portend.Timeout: Port 8080 not bound on 127.0.0.1.
(type=error, job_cat=None)
2021-03-05 16:25:52,209::ERROR::[_cplogging:213] [05/Mar/2021:16:25:52] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x00000231D5B0A6D0>>
Traceback (most recent call last):
File "cherrypy\process\wspbus.py", line 230, in publish
File "cherrypy\_cpserver.py", line 180, in start
File "cherrypy\process\servers.py", line 184, in start
File "cherrypy\process\servers.py", line 260, in wait
File "portend.py", line 162, in occupied
portend.Timeout: Port 8080 not bound on 127.0.0.1.
2021-03-05 16:25:52,211::INFO::[notifier:122] Sending notification: Error - [05/Mar/2021:16:25:52] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
File "cherrypy\process\wspbus.py", line 268, in start
File "cherrypy\process\wspbus.py", line 248, in publish
cherrypy.process.wspbus.ChannelFailures: Timeout('Port 8080 not bound on 127.0.0.1.')
(type=error, job_cat=None)
2021-03-05 16:25:52,211::ERROR::[_cplogging:213] [05/Mar/2021:16:25:52] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
File "cherrypy\process\wspbus.py", line 268, in start
File "cherrypy\process\wspbus.py", line 248, in publish
cherrypy.process.wspbus.ChannelFailures: Timeout('Port 8080 not bound on 127.0.0.1.')
2021-03-05 16:25:52,212::INFO::[_cplogging:213] [05/Mar/2021:16:25:52] ENGINE Bus STOPPING
Re: SABNZBD fails to start [Windows 10]
Posted: March 6th, 2021, 3:16 am
by Puzzled
Sander: Did you notice at the bottom of the log that sabnzbd-console.exe is allowed to use the same IP and port?
I think that most likely a virus scanner or the Windows firewall is blocking sabnzbd.exe specifically.
Re: SABNZBD fails to start [Windows 10]
Posted: March 6th, 2021, 5:36 am
by sander
I'm still not sure there is not another program (possible SAB itself) running and already using port 8080.
But ... are you sure the virusscanner / firewall is being selective on the SAB version trying to use the port? So:
sabnzbd.exe: never allowed
sabnzbd-console.exe: always allowed
I'm not sure about that.
Re: SABNZBD fails to start [Windows 10]
Posted: March 6th, 2021, 10:33 am
by bigbillsd
Where is the setting for SAB to autostart in the settings? Quite often I go onto my PC acting as a server and see SAB isn't running. Tks Bill
Re: SABNZBD fails to start [Windows 10]
Posted: March 6th, 2021, 9:03 pm
by bobbinbrisco
sander wrote: ↑March 6th, 2021, 3:08 am
Ah, Tracebacks!
SAB cannot use 127.0.0.1:8080. Possible causes:
- another program /process is already using 8080
- there is a firewall preventing usage
With this Windows command you can find if / which process is using port 8080:
if it gives output (like "6432"), you can find the process name with:
What is the output?
C:\>netstat -aon| find /i "8080"
TCP 127.0.0.1:8080 0.0.0.0:0 LISTENING 17488
TCP 127.0.0.1:8080 127.0.0.1:57455 ESTABLISHED 17488
TCP 127.0.0.1:57455 127.0.0.1:8080 ESTABLISHED 1984
C:\>tasklist | find "17488"
SABnzbd-console.exe 17488 Console 4 37,868 K
C:\>tasklist | find "1984"
chrome.exe 1984 Console 4 75,108 K
Re: SABNZBD fails to start [Windows 10]
Posted: March 7th, 2021, 3:40 am
by safihre
I would suggest to change in your "sabnzbd.ini" the line:
To something like
And then start SABnzbd again.
It will then try to listen on a different port. You can easily navigate to SABnzbd in the browser by double clicking it's tray icon!
Re: SABNZBD fails to start [Windows 10]
Posted: March 7th, 2021, 4:59 am
by bobbinbrisco
thanks so i edited the sabnzbd.ini and changed to 8081 but still no go. as others have rightly pointed it out something to do with a firewall
so i decide to just try turning off expressVPN and turn on SABnzbd then it works?!
so i shutdown SABnzbd and turn on expressVPN and open SABnzbd hover mouse over the icon and it automatically shutsdown like before
appears i need to turn off expressVPN first before opening SABnzbd !