sabnzbd not accessible from other computers

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
eagleone
Newbie
Newbie
Posts: 3
Joined: May 2nd, 2014, 9:01 am

sabnzbd not accessible from other computers

Post by eagleone »

Hello all,

I've already read about this issue on this forum. I tried pretty much everything but for some reason I can't make it work.
Note that it was working fine before. I have no idea what changed suddenly...

sabnzbd is running on a NAS (Ubuntu)
I'm trying to connect from a laptop via the webinterface but with no luck.

I tried with multiple hosts ( empty, 0.0.0.0, machine IP, localhost ...)
With empty HOST, it runs but I can only access the webinterface from my NAS, not from other computers
With HOST set to 0.0.0.0, it wouldn't even start showing the following error:

Code: Select all

2014-05-02 15:59:00,497::INFO::[__init__:947] /home/gon/.sabnzbd/cache/Rating.sab missing
2014-05-02 15:59:00,498::INFO::[scheduler:172] Setting schedule for midnight BPS reset
2014-05-02 15:59:00,499::INFO::[downloader:211] Resuming
2014-05-02 15:59:00,509::INFO::[__init__:333] All processes started
2014-05-02 15:59:00,509::INFO::[sabnzbdplus:336] Web dir is /usr/share/sabnzbdplus/interfaces/Plush
2014-05-02 15:59:00,509::INFO::[sabnzbdplus:336] Web dir is /usr/share/sabnzbdplus/interfaces/Config
2014-05-02 15:59:00,517::INFO::[sabnzbdplus:452] _yenc module... found!
2014-05-02 15:59:00,517::INFO::[sabnzbdplus:460] par2 binary... found (/usr/bin/par2)
2014-05-02 15:59:00,517::INFO::[sabnzbdplus:468] unrar binary... found (/usr/bin/unrar)
2014-05-02 15:59:00,517::INFO::[sabnzbdplus:473] unzip binary... found (/usr/bin/unzip)
2014-05-02 15:59:00,517::INFO::[sabnzbdplus:479] nice binary... found (/usr/bin/nice)
2014-05-02 15:59:00,518::INFO::[sabnzbdplus:483] ionice binary... found (/usr/bin/ionice)
2014-05-02 15:59:00,518::INFO::[sabnzbdplus:488] pyOpenSSL... found (True)
2014-05-02 15:59:00,520::INFO::[sabnzbdplus:1477] Starting web-interface on 0.0.0.0:9090
2014-05-02 15:59:00,520::INFO::[_cplogging:55] [02/May/2014:15:59:00] ENGINE Bus STARTING
2014-05-02 15:59:00,524::INFO::[_cplogging:55] [02/May/2014:15:59:00] ENGINE Started monitor thread '_TimeoutMonitor'.
2014-05-02 15:59:00,626::INFO::[_cplogging:55] [02/May/2014:15:59:00] ENGINE Serving on 0.0.0.0:9090
2014-05-02 15:59:00,729::INFO::[_cplogging:55] [02/May/2014:15:59:00] ENGINE Serving on 0.0.0.0:8082
2014-05-02 15:59:05,765::ERROR::[_cplogging:55] [02/May/2014:15:59:05] ENGINE Error in 'start' listener <bound method ServerAdapter.start of <cherrypy.process.servers.ServerAdapter object at 0xad0140c>>
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 55, in start
    wait_for_free_port(*self.bind_addr)
  File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 260, in wait_for_free_port
    raise IOError("Port %r not free on %r" % (port, host))
IOError: Port 8082 not free on '127.0.1.1'

^C2014-05-02 15:59:10,413::WARNING::[__init__:170] Signal 2 caught, saving and exiting...
2014-05-02 15:59:10,414::INFO::[nzbqueue:211] Saving queue
2014-05-02 15:59:10,414::INFO::[__init__:917] Saving data for queue9.sab in /home/gon/.sabnzbd/admin/queue9.sab
2014-05-02 15:59:10,415::INFO::[__init__:917] Saving data for totals9.sab in /home/gon/.sabnzbd/admin/totals9.sab
2014-05-02 15:59:10,415::INFO::[__init__:917] Saving data for rss_data.sab in /home/gon/.sabnzbd/admin/rss_data.sab
2014-05-02 15:59:10,416::INFO::[__init__:917] Saving data for bookmarks.sab in /home/gon/.sabnzbd/admin/bookmarks.sab
2014-05-02 15:59:10,417::INFO::[__init__:917] Saving data for watched_data.sab in /home/gon/.sabnzbd/admin/watched_data.sab
2014-05-02 15:59:10,417::INFO::[postproc:85] Saving postproc queue

When checking if ports 8082 and 9090 are free with netstat, they are.
The interface is even starting properly (I can access it for 1s if I'm quick), it seems it crashes right after...


Any idea would be welcome.
Thanks!
User avatar
jcfp
Release Testers
Release Testers
Posts: 1022
Joined: February 7th, 2008, 12:45 pm

Re: sabnzbd not accessible from other computers

Post by jcfp »

And where that does 127.0.1.1 ip come from exactly? What interface, etc...?
eagleone
Newbie
Newbie
Posts: 3
Joined: May 2nd, 2014, 9:01 am

Re: sabnzbd not accessible from other computers

Post by eagleone »

I have that in my /etc/hosts:

127.0.1.1 gon-ProLiant-MicroServer localhost
eagleone
Newbie
Newbie
Posts: 3
Joined: May 2nd, 2014, 9:01 am

Re: sabnzbd not accessible from other computers

Post by eagleone »

Genius! Thanks a lot!

I removed it from my /etc/hosts.
I now have that:
127.0.0.1 localhost.localdomain localhost
#127.0.1.1 gon-ProLiant-MicroServer localhost


I don't remember why I added that line though. Hope it won't break something else :(
Post Reply