SABnzbd Closes soon as it opens

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
poweraltima
Newbie
Newbie
Posts: 3
Joined: March 27th, 2016, 3:49 pm

SABnzbd Closes soon as it opens

Post by poweraltima »

Hi All,

Just installed this for the first time which the installation itself seem to finish successfully. However, once I run the program using the desktop icon or exe under cmd prompt, it will shortly close after a minute or so.

I have tried this with my 3rd party firewall program disabled.
I have tried editing and using different ports such as 8080, 8000, 38080 and used 127.0.0.1 or localhost.
Tried running the program via the safe mode option found.
Tried right clicking on the exe file and have it run as XP Compatible mode.

I have Windows 7 x64 Pro edition

Please help! Thanks!
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd Closes soon as it opens

Post by sander »

Make sure SABnzbd is not running.
Open CMD.exe
"CD" to the directory containing "sabnzbd-console.exe" and run that from the CMD-box.

Post the output here.
poweraltima
Newbie
Newbie
Posts: 3
Joined: March 27th, 2016, 3:49 pm

Re: SABnzbd Closes soon as it opens

Post by poweraltima »

C:\Program Files (x86)\SABnzbd>sabnzbd-console.exe
2016-03-27 15:10:20,638::INFO::[SABnzbd:1243] --------------------------------
2016-03-27 15:10:20,700::INFO::[SABnzbd:1244] sabnzbd-console.exe-1.0.0 (rev=a58
bb385f57d0c5c8a92b7e3ea082d776363767e (not committed))
2016-03-27 15:10:20,716::INFO::[SABnzbd:1245] Full executable path = C:\Program
Files (x86)\SABnzbd\sabnzbd-console.exe
2016-03-27 15:10:20,732::INFO::[SABnzbd:1253] Platform=Windows-7-6.1.7601-SP1 (=
Vista+ x64) Class=nt
2016-03-27 15:10:20,747::INFO::[SABnzbd:1258] Python-version = 2.7.11 (v2.7.11:6
d1b6a68f775, Dec 5 2015, 20:32:19) [MSC v.1500 32 bit (Intel)]
2016-03-27 15:10:20,763::INFO::[SABnzbd:1259] Arguments = sabnzbd-console.exe
2016-03-27 15:10:20,779::INFO::[SABnzbd:1304] Read INI file C:\Users\Admin\AppDa
ta\Local\sabnzbd\sabnzbd.ini
2016-03-27 15:10:20,825::INFO::[__init__:965] Loading data for rss_data.sab from
C:\Users\Admin\AppData\Local\sabnzbd\admin\rss_data.sab
2016-03-27 15:10:20,825::INFO::[__init__:965] Loading data for totals10.sab from
C:\Users\Admin\AppData\Local\sabnzbd\admin\totals10.sab
2016-03-27 15:10:20,857::INFO::[__init__:968] C:\Users\Admin\AppData\Local\sabnz
bd\admin\totals10.sab missing
2016-03-27 15:10:20,872::INFO::[__init__:965] Loading data for totals9.sab from
C:\Users\Admin\AppData\Local\sabnzbd\admin\totals9.sab
2016-03-27 15:10:20,888::INFO::[__init__:968] C:\Users\Admin\AppData\Local\sabnz
bd\admin\totals9.sab missing
2016-03-27 15:10:21,029::INFO::[postproc:89] Loading postproc queue
2016-03-27 15:10:21,029::INFO::[__init__:965] Loading data for postproc2.sab fro
m C:\Users\Admin\AppData\Local\sabnzbd\admin\postproc2.sab
2016-03-27 15:10:21,059::INFO::[__init__:965] Loading data for queue10.sab from
C:\Users\Admin\AppData\Local\sabnzbd\admin\queue10.sab
2016-03-27 15:10:21,075::INFO::[__init__:965] Loading data for watched_data2.sab
from C:\Users\Admin\AppData\Local\sabnzbd\admin\watched_data2.sab
2016-03-27 15:10:21,091::INFO::[__init__:965] Loading data for Rating.sab from C
:\Users\Admin\AppData\Local\sabnzbd\admin\Rating.sab
2016-03-27 15:10:21,091::INFO::[__init__:968] C:\Users\Admin\AppData\Local\sabnz
bd\admin\Rating.sab missing
2016-03-27 15:10:21,107::INFO::[scheduler:190] Setting schedule for midnight BPS
reset
2016-03-27 15:10:21,122::INFO::[downloader:241] Resuming
2016-03-27 15:10:21,138::INFO::[__init__:349] All processes started
2016-03-27 15:10:21,154::INFO::[SABnzbd:355] Web dir is C:\Program Files (x86)\S
ABnzbd\interfaces\Plush
2016-03-27 15:10:21,154::INFO::[SABnzbd:355] Web dir is C:\Program Files (x86)\S
ABnzbd\interfaces\Config
2016-03-27 15:10:21,200::INFO::[SABnzbd:483] _yenc module... found!
2016-03-27 15:10:21,200::INFO::[SABnzbd:491] par2 binary... found (C:\Program Fi
les (x86)\SABnzbd\win\par2\x64\par2.exe)
2016-03-27 15:10:21,216::INFO::[SABnzbd:496] par2-classic binary... found (C:\Pr
ogram Files (x86)\SABnzbd\win\par2\par2-classic.exe)
2016-03-27 15:10:21,216::INFO::[SABnzbd:499] UNRAR binary... found (C:\Program F
iles (x86)\SABnzbd\win\unrar\x64\UnRAR.exe)
2016-03-27 15:10:21,232::INFO::[SABnzbd:505] unzip binary... found (C:\Program F
iles (x86)\SABnzbd\win\unzip\unzip.exe)
2016-03-27 15:10:21,232::INFO::[SABnzbd:511] 7za binary... found (C:\Program Fil
es (x86)\SABnzbd\win\7zip\7za.exe)
2016-03-27 15:10:21,247::INFO::[SABnzbd:527] pyOpenSSL... found (True)
2016-03-27 15:10:21,247::INFO::[SABnzbd:1367] SSL version OpenSSL 1.0.1q 3 Dec 2
015
2016-03-27 15:10:21,263::INFO::[SABnzbd:1368] pyOpenSSL version 0.13.12
2016-03-27 15:10:21,263::INFO::[SABnzbd:1369] SSL potentially supported protocol
s ['SSLv2', 'SSLv23', 'SSLv3', 'TLSv1', 'TLSv1_1', 'TLSv1_2']
2016-03-27 15:10:21,279::INFO::[SABnzbd:1370] SSL actually supported protocols [
't12', 't11', 't1', 'v23', 'v3', 'v2']
2016-03-27 15:10:21,293::INFO::[SABnzbd:1516] Starting web-interface on 127.0.0.
1:38080
2016-03-27 15:10:22,293::INFO::[_cplogging:216] [27/Mar/2016:15:10:22] ENGINE Bu
s STARTING
2016-03-27 15:10:22,309::INFO::[_cplogging:216] [27/Mar/2016:15:10:22] ENGINE St
arted monitor thread '_TimeoutMonitor'.
2016-03-27 15:12:04,841::ERROR::[_cplogging:216] [27/Mar/2016:15:12:04] ENGINE E
rror in 'start' listener <bound method Server.start of <cherrypy._cpserver.Serve
r object at 0x028A40D0>>
Traceback (most recent call last):
File "cherrypy\process\wspbus.pyo", line 205, in publish
File "cherrypy\_cpserver.pyo", line 168, in start
File "cherrypy\process\servers.pyo", line 177, in start
File "cherrypy\process\servers.pyo", line 233, in wait
File "cherrypy\process\servers.pyo", line 459, in wait_for_occupied_port
IOError: Port 38080 not bound on '127.0.0.1'

2016-03-27 15:12:04,904::ERROR::[_cplogging:216] [27/Mar/2016:15:12:04] ENGINE S
hutting down due to error in start listener:
Traceback (most recent call last):
File "cherrypy\process\wspbus.pyo", line 243, in start
File "cherrypy\process\wspbus.pyo", line 223, in publish
ChannelFailures: IOError("Port 38080 not bound on '127.0.0.1'",)

2016-03-27 15:12:04,934::INFO::[_cplogging:216] [27/Mar/2016:15:12:04] ENGINE Bu
s STOPPING
2016-03-27 15:12:04,950::INFO::[_cplogging:216] [27/Mar/2016:15:12:04] ENGINE HT
TP Server cherrypy._cpwsgi_server.CPWSGIServer(('127.0.0.1', 38080)) already shu
t down
2016-03-27 15:12:04,966::INFO::[_cplogging:216] [27/Mar/2016:15:12:04] ENGINE St
opped thread '_TimeoutMonitor'.
2016-03-27 15:12:04,982::INFO::[_cplogging:216] [27/Mar/2016:15:12:04] ENGINE Bu
s STOPPED
2016-03-27 15:12:04,982::INFO::[_cplogging:216] [27/Mar/2016:15:12:04] ENGINE Bu
s EXITING
2016-03-27 15:12:04,997::INFO::[_cplogging:216] [27/Mar/2016:15:12:04] ENGINE Bu
s EXITED
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd Closes soon as it opens

Post by sander »

So:

Code: Select all

IOError: Port 38080 not bound on '127.0.0.1'
What happens when you run:

Code: Select all

sabnzbd-console.exe --server 0.0.0.0:8080
poweraltima
Newbie
Newbie
Posts: 3
Joined: March 27th, 2016, 3:49 pm

Re: SABnzbd Closes soon as it opens

Post by poweraltima »

Im liking the status so far. It has been up for approx. 10min with no more incident. I have not done any further steps just incase..... What should be my next step?

thanks!!
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd Closes soon as it opens

Post by sander »

Im liking the status so far. It has been up for approx. 10min with no more incident. I have not done any further steps just incase.....
So ...just to be sure ... did you use the command I gave you?
What should be my next step?
You could do this:
stop sabnzbd-console.exe
then start SABnzbd in the usual way (by clicking on the SAB icon).
I expect it to work

Or you could do this (more difficult)
Stop the 'old' sabnznbd-console.exe
Start sabnzbd-console.exe --server 127.0.0.1:8080
Immediately check if http://127.0.0.1:8080/ is reachable
And check after 5 minutes again.
Post back the result here.
Post Reply