SABNZBD fails to start [Windows 10]

Feel free to talk about anything and everything in this board.
HelicopterHigh
Newbie
Newbie
Posts: 3
Joined: July 17th, 2017, 10:43 pm

SABNZBD fails to start [Windows 10]

Post 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.

User avatar
safihre
Administrator
Administrator
Posts: 4338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: SABNZBD fails to start [Windows 10]

Post 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:

Code: Select all

.\sabnzbd-console.exe -l 2
I assume your also restarted your computer already? Sometimes there is weird behavior after big windows updates.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate

HelicopterHigh
Newbie
Newbie
Posts: 3
Joined: July 17th, 2017, 10:43 pm

Re: SABNZBD fails to start [Windows 10]

Post by HelicopterHigh »

Yes. I have restarted the computer as well. Maybe i’ll try restarting into safe mode.

HelicopterHigh
Newbie
Newbie
Posts: 3
Joined: July 17th, 2017, 10:43 pm

Re: SABNZBD fails to start [Windows 10]

Post 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...

bobbinbrisco
Newbie
Newbie
Posts: 6
Joined: March 4th, 2021, 6:12 am

Re: SABNZBD fails to start [Windows 10]

Post 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

Puzzled
Full Member
Full Member
Posts: 105
Joined: September 2nd, 2017, 3:02 am

Re: SABNZBD fails to start [Windows 10]

Post 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.

bobbinbrisco
Newbie
Newbie
Posts: 6
Joined: March 4th, 2021, 6:12 am

Re: SABNZBD fails to start [Windows 10]

Post by bobbinbrisco »

this is annoying keep getting New users are not allowed to post links when trying to post the log..

bobbinbrisco
Newbie
Newbie
Posts: 6
Joined: March 4th, 2021, 6:12 am

Re: SABNZBD fails to start [Windows 10]

Post by bobbinbrisco »


User avatar
sander
Release Testers
Release Testers
Posts: 7560
Joined: January 22nd, 2008, 2:22 pm

Re: SABNZBD fails to start [Windows 10]

Post 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:

Code: Select all

netstat -aon| find /i "8080"
if it gives output (like "6432"), you can find the process name with:

Code: Select all

tasklist | find "6432"
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

Puzzled
Full Member
Full Member
Posts: 105
Joined: September 2nd, 2017, 3:02 am

Re: SABNZBD fails to start [Windows 10]

Post 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.

User avatar
sander
Release Testers
Release Testers
Posts: 7560
Joined: January 22nd, 2008, 2:22 pm

Re: SABNZBD fails to start [Windows 10]

Post 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.

bigbillsd
Newbie
Newbie
Posts: 1
Joined: March 6th, 2021, 10:05 am

Re: SABNZBD fails to start [Windows 10]

Post 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

bobbinbrisco
Newbie
Newbie
Posts: 6
Joined: March 4th, 2021, 6:12 am

Re: SABNZBD fails to start [Windows 10]

Post 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:

Code: Select all

netstat -aon| find /i "8080"
if it gives output (like "6432"), you can find the process name with:

Code: Select all

tasklist | find "6432"
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

User avatar
safihre
Administrator
Administrator
Posts: 4338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: SABNZBD fails to start [Windows 10]

Post by safihre »

I would suggest to change in your "sabnzbd.ini" the line:

Code: Select all

port = 8080
To something like

Code: Select all

port = 8081
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!
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate

bobbinbrisco
Newbie
Newbie
Posts: 6
Joined: March 4th, 2021, 6:12 am

Re: SABNZBD fails to start [Windows 10]

Post 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 !

Post Reply