Unable to access SABnzbd+ from my intranet [Ubuntu]

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
xeddog
Newbie
Newbie
Posts: 33
Joined: April 12th, 2011, 10:55 am

Unable to access SABnzbd+ from my intranet [Ubuntu]

Post by xeddog »

I recently noticed that the latest release of SAB was 0.7.18 and since I was running 0.7.16 I decided to upgrade. My original 0.7.16 version was installed using Synaptic and the repos, and synaptic still shows this to be the latest version. SAB is then run from /usr/bin/sabnzbdplus, and has been running great for months. This is on an Ubuntu Linux 14.04.1.

To upgrade, I went to my home folder and did a "git clone -b master https://github.com/sabnzbd/sabnzbd.git SABnzbd+". I created a new launcher in Unity and modified the exec command to reflect the new version in my home directory. It seemed to launch normally and had retained my history, etc since it was still using the same ~/.sabnzbd directory for settings. After a few checks I thought all was good. Curious though, that it shows version "0.7.x"

Anyway, a while later I decided to use my tablet to see what SAB was up to. Lo and behold I cannot access the web interface. I tried the Dolphin browser, Firefox, and Chrome all to no avail. I also tried a Windows 8 machine and another linux machine with no luck. I am using the default port 8080 but no luck.

Then to make matters worse, I thought I would just go back to the original 0.7.16 version. Well guess what? I can no longer access that via web either! All the while though, with the exception of not being able to access it via the web, SAB is working perfectly with SickBeard and two CouchPotatoes.

I have been through all of the config options and see only one thing that doesn't look right to me. In the Config>General tab the userid and password are filled in. I have another SAB running on another computer and those two fields are blank. When I blank them, save them, and restart SAB, they are filled in again. I have looked at the ~/.sabnzbd/sabnzbd.ini and cannot find anything out of the ordinary there either.

So I could really use some help to fix this. Thanks for responses.

Wayne

Ubuntu Linux 14.04.1
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: Unable to access SABnzbd+ from my intranet

Post by sander »

You should probably not have chosen the git version, but the PPA version ... much easier.

If you start a webbrowser on your Ubuntu box itself, can you access sab via http://127.0.0.1:8080/ (assuming SAB is on port 8080). If not: is SAB running at all?

What is the output of:

Code: Select all

sudo netstat -apon | grep 8080
sudo netstat -apon | grep python
xeddog
Newbie
Newbie
Posts: 33
Joined: April 12th, 2011, 10:55 am

Re: Unable to access SABnzbd+ from my intranet [Ubuntu]

Post by xeddog »

sander - I have no issues accessing SAB from the localhost, and it is definitly running. I have checked my system monitor to make sure. But as you requested here is the output from the commands you asked for.

Code: Select all

twoblues@Stealth:~$ sudo netstat -apon | grep 8080
[sudo] password for twoblues: 
tcp        0      0 127.0.0.1:8080          0.0.0.0:*               LISTEN      3060/python      off (0.00/0/0)
tcp        0      0 127.0.0.1:44290         127.0.0.1:8080          TIME_WAIT   -                timewait (36.64/0/0)
tcp        0      0 127.0.0.1:8080          127.0.0.1:44292         ESTABLISHED 3060/python      off (0.00/0/0)
tcp        0      0 127.0.0.1:44293         127.0.0.1:8080          ESTABLISHED 2980/firefox     keepalive (4.17/0/0)
tcp        0      0 127.0.0.1:8080          127.0.0.1:44291         ESTABLISHED 3060/python      off (0.00/0/0)
tcp        0      0 127.0.0.1:44292         127.0.0.1:8080          ESTABLISHED 2980/firefox     keepalive (4.17/0/0)
tcp        0      0 127.0.0.1:44291         127.0.0.1:8080          ESTABLISHED 2980/firefox     keepalive (4.20/0/0)
tcp        0      0 127.0.0.1:8080          127.0.0.1:44293         ESTABLISHED 3060/python      off (0.00/0/0)
twoblues@Stealth:~$ sudo netstat -apon | grep python
tcp        0      0 127.0.0.1:8080          0.0.0.0:*               LISTEN      3060/python      off (0.00/0/0)
tcp        0      0 127.0.0.1:8080          127.0.0.1:44292         ESTABLISHED 3060/python      off (0.00/0/0)
tcp        0      0 127.0.0.1:8080          127.0.0.1:44291         ESTABLISHED 3060/python      off (0.00/0/0)
tcp        0      0 127.0.0.1:8080          127.0.0.1:44293         ESTABLISHED 3060/python      off (0.00/0/0)
unix  2      [ ]         DGRAM                    17693    2674/python3        
unix  3      [ ]         STREAM     CONNECTED     17694    2674/python3        
unix  3      [ ]         STREAM     CONNECTED     22052    3060/python         
unix  3      [ ]         STREAM     CONNECTED     19852    2967/python3        
unix  3      [ ]         STREAM     CONNECTED     16096    2967/python3        
unix  3      [ ]         STREAM     CONNECTED     16088    2967/python3        
unix  3      [ ]         STREAM     CONNECTED     18268    3060/python         
twoblues@Stealth:~$ 
Also, I have added the ppa and have upgraded to 0.7.18. No help.

Thanks,

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

Re: Unable to access SABnzbd+ from my intranet [Ubuntu]

Post by sander »

The line

Code: Select all

tcp        0      0 127.0.0.1:8080          0.0.0.0:*               LISTEN      3060/python      off (0.00/0/0)
means SABnzbd is only listening to requests from localhost. So exactly what you experience.

Do this: in SABnzbd's webinterface, go to Config -> General, and check the first line "SABnzbd Host": what is filled out ... 0.0.0.0 (good: listen to LAN and other external requests) or 127.0.0.1 (=localhost only)
xeddog
Newbie
Newbie
Posts: 33
Joined: April 12th, 2011, 10:55 am

Re: Unable to access SABnzbd+ from my intranet [Ubuntu]

Post by xeddog »

BINGO! It was set to "localhost". I changed it to "0.0.0.0" and I'm back in business. I don't know why I didn't see that earlier when I went through and compared the settings between a copy that worked and one that didn't. Sheez! This getting old crap really sux!


Thank you,

Wayne
Post Reply