Unable to start Sabnzbd+

Support for the Debian/Ubuntu package, created by JCFP.
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
natrin85
Newbie
Newbie
Posts: 1
Joined: April 15th, 2015, 7:56 am

Unable to start Sabnzbd+

Post by natrin85 »

Hello,

after restarting my server I am unable to start Sabnzbd+. It errors out with the message: error: [Errno 99] Cannot assign requested address. Below is the full startup log:

Code: Select all

2015-04-15 14:59:24,780::INFO::[sabnzbdplus:1250] --------------------------------
2015-04-15 14:59:24,780::INFO::[sabnzbdplus:1251] sabnzbdplus-0.7.20 (rev=1df2943d05d64915a166e2c97e1eef86f72e3ff3)
2015-04-15 14:59:24,781::INFO::[sabnzbdplus:1263] Platform = posix
2015-04-15 14:59:24,781::INFO::[sabnzbdplus:1264] Python-version = 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2]
2015-04-15 14:59:24,781::INFO::[sabnzbdplus:1265] Arguments = /usr/bin/sabnzbdplus
2015-04-15 14:59:24,781::INFO::[sabnzbdplus:1315] Read INI file /home/peter/.sabnzbd/sabnzbd.ini
2015-04-15 14:59:24,782::INFO::[__init__:943] Loading data for bookmarks.sab from /home/peter/.sabnzbd/admin/bookmarks.sab
2015-04-15 14:59:24,782::INFO::[__init__:943] Loading data for rss_data.sab from /home/peter/.sabnzbd/admin/rss_data.sab
2015-04-15 14:59:24,782::INFO::[__init__:943] Loading data for totals9.sab from /home/peter/.sabnzbd/admin/totals9.sab
2015-04-15 14:59:24,782::INFO::[postproc:91] Loading postproc queue
2015-04-15 14:59:24,783::INFO::[__init__:943] Loading data for postproc1.sab from /home/peter/.sabnzbd/admin/postproc1.sab
2015-04-15 14:59:24,783::INFO::[__init__:943] Loading data for queue9.sab from /home/peter/.sabnzbd/admin/queue9.sab
2015-04-15 14:59:24,783::INFO::[__init__:943] Loading data for watched_data.sab from /home/peter/.sabnzbd/admin/watched_data.sab
2015-04-15 14:59:24,784::INFO::[__init__:943] Loading data for Rating.sab from /home/peter/.sabnzbd/admin/Rating.sab
2015-04-15 14:59:24,784::INFO::[__init__:946] /home/peter/.sabnzbd/admin/Rating.sab missing, trying old cache
2015-04-15 14:59:24,784::INFO::[__init__:949] /home/peter/.sabnzbd/cache/Rating.sab missing
2015-04-15 14:59:24,785::INFO::[scheduler:172] Setting schedule for midnight BPS reset
2015-04-15 14:59:24,785::INFO::[downloader:211] Resuming
2015-04-15 14:59:24,785::INFO::[__init__:335] All processes started
2015-04-15 14:59:24,786::INFO::[sabnzbdplus:336] Web dir is /usr/share/sabnzbdplus/interfaces/Plush
2015-04-15 14:59:24,786::INFO::[sabnzbdplus:336] Web dir is /usr/share/sabnzbdplus/interfaces/Config
2015-04-15 14:59:24,791::INFO::[sabnzbdplus:452] _yenc module... found!
2015-04-15 14:59:24,792::INFO::[sabnzbdplus:460] par2 binary... found (/usr/bin/par2)
2015-04-15 14:59:24,792::INFO::[sabnzbdplus:468] unrar binary... found (/usr/bin/unrar)
2015-04-15 14:59:24,792::INFO::[sabnzbdplus:473] unzip binary... found (/usr/bin/unzip)
2015-04-15 14:59:24,792::INFO::[sabnzbdplus:479] nice binary... found (/usr/bin/nice)
2015-04-15 14:59:24,792::INFO::[sabnzbdplus:483] ionice binary... found (/usr/bin/ionice)
2015-04-15 14:59:24,793::INFO::[sabnzbdplus:488] pyOpenSSL... found (True)
2015-04-15 14:59:24,797::INFO::[sabnzbdplus:1516] Starting web-interface on 0.0.0.0:8080
2015-04-15 14:59:24,806::INFO::[_cplogging:55] [15/Apr/2015:14:59:24] ENGINE Bus STARTING
2015-04-15 14:59:24,809::INFO::[_cplogging:55] [15/Apr/2015:14:59:24] ENGINE Started monitor thread '_TimeoutMonitor'.
2015-04-15 14:59:24,810::ERROR::[_cplogging:55] [15/Apr/2015:14:59:24] ENGINE Error in 'start' listener <bound method ServerAdapter.start of <cherrypy.process.servers.ServerAdapter object at 0x7ff47311b590>>
Traceback (most recent call last):
  File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 147, in publish
    output.append(listener(*args, **kwargs))
  File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 62, in start
    self.wait()
  File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 97, in wait
    raise self.interrupt
error: [Errno 99] Cannot assign requested address

2015-04-15 14:59:24,813::ERROR::[_cplogging:55] [15/Apr/2015:14:59:24] ENGINE Error in HTTP server: shutting down
Traceback (most recent call last):
  File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 75, in _start_http_thread
    self.httpserver.start()
  File "/usr/share/sabnzbdplus/cherrypy/wsgiserver/__init__.py", line 1644, in start
    raise socket.error, msg
error: [Errno 99] Cannot assign requested address

2015-04-15 14:59:24,813::INFO::[_cplogging:55] [15/Apr/2015:14:59:24] ENGINE Bus STOPPING
2015-04-15 14:59:24,814::INFO::[_cplogging:55] [15/Apr/2015:14:59:24] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 8080)) already shut down
2015-04-15 14:59:24,814::INFO::[_cplogging:55] [15/Apr/2015:14:59:24] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('::1', 8080)) already shut down
2015-04-15 14:59:24,817::INFO::[_cplogging:55] [15/Apr/2015:14:59:24] ENGINE Stopped thread '_TimeoutMonitor'.
2015-04-15 14:59:24,817::INFO::[_cplogging:55] [15/Apr/2015:14:59:24] ENGINE Bus STOPPED
2015-04-15 14:59:24,817::INFO::[_cplogging:55] [15/Apr/2015:14:59:24] ENGINE Bus EXITING
2015-04-15 14:59:24,817::INFO::[_cplogging:55] [15/Apr/2015:14:59:24] ENGINE Bus EXITED
Exception in thread HTTPServer Thread-10:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 75, in _start_http_thread
    self.httpserver.start()
  File "/usr/share/sabnzbdplus/cherrypy/wsgiserver/__init__.py", line 1644, in start
    raise socket.error, msg
error: [Errno 99] Cannot assign requested address

2015-04-15 14:59:25,012::INFO::[_cplogging:55] [15/Apr/2015:14:59:25] ENGINE Serving on 0.0.0.0:8080
2015-04-15 14:59:25,013::ERROR::[_cplogging:55] [15/Apr/2015:14:59:25] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
  File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 184, in start
    self.publish('start')
  File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 147, in publish
    output.append(listener(*args, **kwargs))
  File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 62, in start
    self.wait()
  File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 97, in wait
    raise self.interrupt
error: [Errno 99] Cannot assign requested address

2015-04-15 14:59:25,013::INFO::[_cplogging:55] [15/Apr/2015:14:59:25] ENGINE Bus STOPPING
2015-04-15 14:59:25,015::INFO::[_cplogging:55] [15/Apr/2015:14:59:25] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 8080)) shut down
2015-04-15 14:59:25,016::INFO::[_cplogging:55] [15/Apr/2015:14:59:25] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('::1', 8080)) already shut down
2015-04-15 14:59:25,016::INFO::[_cplogging:55] [15/Apr/2015:14:59:25] ENGINE No thread running for _TimeoutMonitor.
2015-04-15 14:59:25,016::INFO::[_cplogging:55] [15/Apr/2015:14:59:25] ENGINE Bus STOPPED
2015-04-15 14:59:25,016::INFO::[_cplogging:55] [15/Apr/2015:14:59:25] ENGINE Bus EXITING
2015-04-15 14:59:25,017::INFO::[_cplogging:55] [15/Apr/2015:14:59:25] ENGINE Bus EXITED
2015-04-15 14:59:25,017::ERROR::[sabnzbdplus:1531] Failed to start web-interface:
Traceback (most recent call last):
  File "/usr/bin/sabnzbdplus", line 1523, in main
    cherrypy.engine.start()
  File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 184, in start
    self.publish('start')
  File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 147, in publish
    output.append(listener(*args, **kwargs))
  File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 62, in start
    self.wait()
  File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 97, in wait
    raise self.interrupt
error: [Errno 99] Cannot assign requested address
2015-04-15 14:59:25,018::ERROR::[sabnzbdplus:305] Failed to start web-interface : [Errno 99] Cannot assign requested address
2015-04-15 14:59:25,018::INFO::[__init__:373] SABnzbd shutting down...
2015-04-15 14:59:25,018::INFO::[__init__:919] Saving data for bookmarks.sab in /home/peter/.sabnzbd/admin/bookmarks.sab
2015-04-15 14:59:25,018::INFO::[urlgrabber:72] URLGrabber shutting down
2015-04-15 14:59:25,019::INFO::[__init__:919] Saving data for watched_data.sab in /home/peter/.sabnzbd/admin/watched_data.sab
2015-04-15 14:59:25,019::INFO::[dirscanner:268] Dirscanner shutting down
2015-04-15 14:59:25,520::INFO::[postproc:85] Saving postproc queue
2015-04-15 14:59:25,520::INFO::[__init__:919] Saving data for postproc1.sab in /home/peter/.sabnzbd/admin/postproc1.sab
2015-04-15 14:59:25,521::INFO::[nzbqueue:218] Saving queue
2015-04-15 14:59:25,521::INFO::[__init__:919] Saving data for queue9.sab in /home/peter/.sabnzbd/admin/queue9.sab
2015-04-15 14:59:25,521::INFO::[__init__:919] Saving data for totals9.sab in /home/peter/.sabnzbd/admin/totals9.sab
2015-04-15 14:59:25,522::INFO::[__init__:919] Saving data for rss_data.sab in /home/peter/.sabnzbd/admin/rss_data.sab
2015-04-15 14:59:25,522::INFO::[__init__:919] Saving data for bookmarks.sab in /home/peter/.sabnzbd/admin/bookmarks.sab
2015-04-15 14:59:25,522::INFO::[__init__:919] Saving data for watched_data.sab in /home/peter/.sabnzbd/admin/watched_data.sab
2015-04-15 14:59:25,523::INFO::[postproc:85] Saving postproc queue
2015-04-15 14:59:25,523::INFO::[__init__:919] Saving data for postproc1.sab in /home/peter/.sabnzbd/admin/postproc1.sab
2015-04-15 14:59:25,523::INFO::[__init__:440] All processes stopped
I checked with "sudo netstat -taupen" but no application is listening on port 8080.

Edit: I tried it with the --no_ipv6 option and that did the trick. But I am still not sure why IPv6 causes an issue.

Many thanks in advance for your help.

User avatar
shypike
Administrator
Administrator
Posts: 21039
Joined: January 18th, 2008, 12:49 pm

Re: Unable to start Sabnzbd+

Post by shypike »

IPv6 is enabled, despite your ISP not supporting it.
This can sometimes lead to resolving problems.
0.0.0.0 tells SABnzbd to bind to "all available IP addresses", as listed by the operating system.
Some of these are IPv6, but apparently not active.

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

Re: Unable to start Sabnzbd+

Post by sander »

shypike wrote:IPv6 is enabled, despite your ISP not supporting it.
This can sometimes lead to resolving problems.
In my experience, SAB's IPv6 binding to :: / ::1 even works with no Internet connection (or a LAN connection) at all. So your ISP has no influence on this

So if that IPv6 binding does not work, it is some setting in the system itself: firewall, no IPv6 at all (pre-2005 system), no IPv6 resolving of :: / ::1, etc


Sander

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

Re: Unable to start Sabnzbd+

Post by sander »

@natrin85: what is the output of the following commands on your Linux system:

Code: Select all

ping6 ::1
ping6 ::
ping6 ip6-loopback
Reason of my question:

To confirm what I said in my earlier post, I disabled my Wifi, so there was only a loopback and no wlan/eth/Internet and no IPv6 to the outside world:

Code: Select all

[email protected]:~$ ifconfig 
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:5541 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5541 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:750449 (750.4 KB)  TX bytes:750449 (750.4 KB)

[email protected]:~$
... and SABnzbd still works perfectly, with IPv6, with binding to :: :

Code: Select all

[email protected]:~$ sabnzbdplus 
2015-04-17 20:41:12,135::INFO::[sabnzbdplus:1250] --------------------------------
2015-04-17 20:41:12,135::INFO::[sabnzbdplus:1251] sabnzbdplus-0.7.20 (rev=1df2943d05d64915a166e2c97e1eef86f72e3ff3)
2015-04-17 20:41:12,135::INFO::[sabnzbdplus:1263] Platform = posix
2015-04-17 20:41:12,136::INFO::[sabnzbdplus:1264] Python-version = 2.7.9 (default, Apr  2 2015, 15:33:21) 
[GCC 4.9.2]
2015-04-17 20:41:12,136::INFO::[sabnzbdplus:1265] Arguments = /usr/bin/sabnzbdplus
2015-04-17 20:41:12,138::DEBUG::[sabnzbdplus:1274] Could not determine my IPv4 address
2015-04-17 20:41:12,139::DEBUG::[sabnzbdplus:1283] Could not determine my IPv6 address
2015-04-17 20:41:12,161::DEBUG::[sabnzbdplus:1294] CPU Pystone available performance is 56458
2015-04-17 20:41:12,162::DEBUG::[sabnzbdplus:1298] CPU model name is Intel(R) Celeron(R) CPU  N2840  @ 2.16GHz
2015-04-17 20:41:12,162::INFO::[sabnzbdplus:1315] Read INI file /home/sander/.sabnzbd/sabnzbd.ini
2015-04-17 20:41:12,165::INFO::[__init__:943] Loading data for bookmarks.sab from /home/sander/.sabnzbd/admin/bookmarks.sab
2015-04-17 20:41:12,165::INFO::[__init__:943] Loading data for rss_data.sab from /home/sander/.sabnzbd/admin/rss_data.sab
2015-04-17 20:41:12,179::INFO::[__init__:943] Loading data for totals9.sab from /home/sander/.sabnzbd/admin/totals9.sab
2015-04-17 20:41:12,179::DEBUG::[bpsmeter:171] Read quota q=0.0 l=0.0 reset=0
2015-04-17 20:41:12,180::INFO::[postproc:91] Loading postproc queue
2015-04-17 20:41:12,180::INFO::[__init__:943] Loading data for postproc1.sab from /home/sander/.sabnzbd/admin/postproc1.sab
2015-04-17 20:41:12,181::INFO::[__init__:943] Loading data for queue9.sab from /home/sander/.sabnzbd/admin/queue9.sab
2015-04-17 20:41:12,181::DEBUG::[downloader:127] Initializing downloader/decoder
2015-04-17 20:41:12,182::INFO::[__init__:943] Loading data for watched_data.sab from /home/sander/.sabnzbd/admin/watched_data.sab
2015-04-17 20:41:12,183::INFO::[__init__:943] Loading data for Rating.sab from /home/sander/.sabnzbd/admin/Rating.sab
2015-04-17 20:41:12,183::INFO::[__init__:946] /home/sander/.sabnzbd/admin/Rating.sab missing, trying old cache
2015-04-17 20:41:12,184::INFO::[__init__:949] /home/sander/.sabnzbd/cache/Rating.sab missing
2015-04-17 20:41:12,184::DEBUG::[scheduler:140] Scheduling RSS interval task every 60 min (delay=31)
2015-04-17 20:41:12,185::DEBUG::[scheduler:152] Scheduling VersionCheck on day 4 at 23:53
2015-04-17 20:41:12,185::INFO::[scheduler:172] Setting schedule for midnight BPS reset
2015-04-17 20:41:12,185::INFO::[downloader:211] Resuming
2015-04-17 20:41:12,186::DEBUG::[__init__:547] PAUSED_ALL inactive
2015-04-17 20:41:12,186::INFO::[__init__:335] All processes started
2015-04-17 20:41:12,186::INFO::[sabnzbdplus:336] Web dir is /usr/share/sabnzbdplus/interfaces/Plush
2015-04-17 20:41:12,187::INFO::[sabnzbdplus:336] Web dir is /usr/share/sabnzbdplus/interfaces/Config
2015-04-17 20:41:12,187::DEBUG::[sabnzbdplus:1352] Unwanted extensions are ... ['exe', 'ppt', 'bla', 'blabla']
2015-04-17 20:41:12,199::INFO::[sabnzbdplus:452] _yenc module... found!
2015-04-17 20:41:12,200::INFO::[sabnzbdplus:460] par2 binary... found (/usr/bin/par2)
2015-04-17 20:41:12,200::INFO::[sabnzbdplus:468] unrar binary... found (/usr/bin/unrar)
2015-04-17 20:41:12,200::INFO::[sabnzbdplus:473] unzip binary... found (/usr/bin/unzip)
2015-04-17 20:41:12,201::INFO::[sabnzbdplus:479] nice binary... found (/usr/bin/nice)
2015-04-17 20:41:12,201::INFO::[sabnzbdplus:483] ionice binary... found (/usr/bin/ionice)
2015-04-17 20:41:12,201::INFO::[sabnzbdplus:488] pyOpenSSL... found (True)
2015-04-17 20:41:12,204::INFO::[sabnzbdplus:1516] Starting web-interface on :::8080
2015-04-17 20:41:12,205::INFO::[_cplogging:55] [17/Apr/2015:20:41:12] ENGINE Bus STARTING
2015-04-17 20:41:12,209::INFO::[_cplogging:55] [17/Apr/2015:20:41:12] ENGINE Started monitor thread '_TimeoutMonitor'.
2015-04-17 20:41:12,313::INFO::[_cplogging:55] [17/Apr/2015:20:41:12] ENGINE Serving on :::8080
2015-04-17 20:41:12,314::INFO::[_cplogging:55] [17/Apr/2015:20:41:12] ENGINE Bus STARTED
2015-04-17 20:41:12,314::INFO::[panic:247] Lauching browser with http://localhost:8080/sabnzbd
2015-04-17 20:41:12,356::DEBUG::[notifier:112] Sending registration to localhost:23053
2015-04-17 20:41:12,358::DEBUG::[notifier:219] To : localhost:23053 <<class 'gntp.GNTPRegister'>>
2015-04-17 20:41:12,360::DEBUG::[growler:193] Cannot register with Growl [Errno 111] Connection refused
2015-04-17 20:41:12,856::INFO::[growler:298] Send to NotifyOSD: [email protected] / SABnzbd 0.7.20 started
2015-04-17 20:41:12,865::DEBUG::[misc:583] Version check disabled by Ubuntu/Debian packaging
2015-04-17 20:41:12,870::INFO::[sabnzbdplus:1585] Starting sabnzbdplus-0.7.20
2015-04-17 20:41:12,871::DEBUG::[__init__:346] Starting postprocessor
2015-04-17 20:41:12,872::DEBUG::[__init__:349] Starting assembler
2015-04-17 20:41:12,874::DEBUG::[__init__:352] Starting downloader
2015-04-17 20:41:12,877::DEBUG::[scheduler:188] Starting scheduler
2015-04-17 20:41:12,902::DEBUG::[__init__:357] Starting dirscanner
2015-04-17 20:41:12,909::INFO::[dirscanner:277] Dirscanner starting up
2015-04-17 20:41:12,910::DEBUG::[__init__:364] Starting urlgrabber
2015-04-17 20:41:12,911::INFO::[urlgrabber:77] URLGrabber starting up
Created new window in existing browser session.
Note the

Code: Select all

2015-04-17 20:41:12,204::INFO::[sabnzbdplus:1516] Starting web-interface on :::8080
2015-04-17 20:41:12,205::INFO::[_cplogging:55] [17/Apr/2015:20:41:12] ENGINE Bus STARTING
2015-04-17 20:41:12,209::INFO::[_cplogging:55] [17/Apr/2015:20:41:12] ENGINE Started monitor thread '_TimeoutMonitor'.
2015-04-17 20:41:12,313::INFO::[_cplogging:55] [17/Apr/2015:20:41:12] ENGINE Serving on :::8080
2015-04-17 20:41:12,314::INFO::[_cplogging:55] [17/Apr/2015:20:41:12] ENGINE Bus STARTED
2015-04-17 20:41:12,314::INFO::[panic:247] Lauching browser with http://localhost:8080/sabnzbd
So there is no need for an outside IPv6 connection (or Internet connection at all) to let SABnzbd work and bind to "::" .

So the OP's machine has something else that is prohibiting IPv6 and thus needs the no-ipv6

fico585
Newbie
Newbie
Posts: 1
Joined: October 6th, 2015, 7:07 pm

Re: Unable to start Sabnzbd+

Post by fico585 »

I had the same issue on my Ubuntu server. My fix was to disable IPv6 in SAB. This is found under Config>Special>no_ipv6 ( off ). I checked the box and everything works. Hopes this helps somebody in the future.

illrigger
Newbie
Newbie
Posts: 5
Joined: May 18th, 2016, 11:17 am

Re: Unable to start Sabnzbd+

Post by illrigger »

For people who find this like I did, if you are having issues with setting high port numbers when adding a server (i.e. 443 or 563), disabling IPv6 is the correct solution. I was getting [Errno 111] (110, '[Errno 99] Cannot assign requested address') when I tested the server, this makes that go away.

The current option do do so is under special still, but the option is "ipv6_servers ( 1 )". Set the value to 0 (zero) to disable IPv6.

Post Reply