No restricted local running posible

Report & discuss bugs found in 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.
Saiya_Jin_Vegeta
Release Testers
Release Testers
Posts: 12
Joined: November 7th, 2009, 4:20 pm

Re: No restricted local running posible

Post by Saiya_Jin_Vegeta »

Easy check #1: edit SABnzbd.py and change that line to cherryhost = '1.2.3.4'. Run SAB and see what port it binds too.

Wont start sab at all.
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: No restricted local running posible

Post by sander »

Saiya_Jin_Vegeta wrote:Easy check #1: edit SABnzbd.py and change that line to cherryhost = '1.2.3.4'. Run SAB and see what port it binds too.

Wont start sab at all.
As you run Linux and you know how to 'grep' and edit a file, I think you're not the average user. I therefor would expect something more elaborate than "Wont start sab at all.". I would expect something "Wont start sab at all; output on stdout is ... blabla ... .". And I would expect that you also run the other two checks. That way I think an analysis and pin-pointing the problem is easier.

However, I might be wrong about this.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: No restricted local running posible

Post by shypike »

There is a problem in the code for systems that have no proper resolve of the system's "node name".
SABnzbd falls back to 0.0.0.0, instead of localhost/127.0.0.1/::1
I'll correct that in the next release.

The only work-around now is to modify your /etc/hosts table so that it
resolves the name that is shown by the "uname -n" command.
This is a sensible thing to do in any case, because the "node name" should resolve.
Unfortunately this is an issue in many default Linux installations.
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: No restricted local running posible

Post by sander »

shypike wrote:There is a problem in the code for systems that have no proper resolve of the system's "node name".
SABnzbd falls back to 0.0.0.0, instead of localhost/127.0.0.1/::1
I'll correct that in the next release.
Is the first piece of code that I quoted in an earlier post?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: No restricted local running posible

Post by shypike »

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

Re: No restricted local running posible

Post by sander »

shypike wrote:Yes.
OK.

And can you have a look at the second piece of quoted code? "If 0.0.0.0 then set to 0.0.0.0" ... what's that?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: No restricted local running posible

Post by shypike »

The problem was in the first piece of code.
The second piece is correct, the line with the extra assignment to 0.0.0.0 is not needed, but the second line is.
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: No restricted local running posible

Post by sander »

shypike wrote:The problem was in the first piece of code.
The second piece is correct, the line with the extra assignment to 0.0.0.0 is not needed, but the second line is.
Yes, I know. So: remove that redundant line with the 0.0.0.0 assignment ... ?
Saiya_Jin_Vegeta
Release Testers
Release Testers
Posts: 12
Joined: November 7th, 2009, 4:20 pm

Re: No restricted local running posible

Post by Saiya_Jin_Vegeta »

Even tough I am not bin in the possibility to do the testing as "sander" asks, I am happy that the problem hopefully can be resolved.
Will test it when I am home again (this evening I hope)
Saiya_Jin_Vegeta
Release Testers
Release Testers
Posts: 12
Joined: November 7th, 2009, 4:20 pm

Re: No restricted local running posible

Post by Saiya_Jin_Vegeta »

Done it using this small tutorial (from opensuse fora):

In openSUSE,
You have to configure your Hostname properly in TWO places in YAST

- The Hosts file
YAST > Network Services > Hostnames
- The Network Configuration
YAST > Network Devices > Network Settings > Hostname/DNS tab
(Be certain that the "Change Hostname via DHCP" is <unchecked> or as it says DHCP will change how you're seen on the Network no matter what your local settings are.

Now it is working correctly.
Thanks for the tip -> My network is now also configured correctly
Post Reply