Page 2 of 2

Re: OSX no startup with 0.0.0.0 host

Posted: August 15th, 2012, 8:16 am
by milli260876
I'm running windows 8 rc and just noticed this.. Could I be experiencing this issue ?
My host is defo 0.0.0.0
I will try change it when I get home
I also posted here
http://forums.sabnzbd.org/viewtopic.php?f=2&t=11453
After searching the wiki etc...

Re: OSX no startup with 0.0.0.0 host

Posted: February 17th, 2013, 3:41 pm
by Cpuroast
Hi Shypike,

Just encountered this issue on OSX 10.5 helping someone.

User starts sab, setup starts, chooses all computers, sab configures to 0.0.0.0, sab tries to restart, fails, user is stuck.

Tried 127.0.0.1/localhost/192.168 IP
All work, except 0.0.0.0
Enabled "no_ipv6" in ini. Sab now starts correctly on 0.0.0.0.

A good idea would be to try turning on "no_ipv6" automatically after the failure occurs and forcing a sab restart. Similar to how sab will try a random port if a port is already in use.
That way the user actually gets back in, instead of being forced to manually edit the ini file which can be scary for most.

Re: OSX no startup with 0.0.0.0 host

Posted: February 18th, 2013, 5:45 am
by shypike
There is no real solution as long as Apple doesn't get its DNS and IPv6 acts together.
Enabling the no_ipv6 option will lead to problems for other people.

Re: OSX no startup with 0.0.0.0 host

Posted: May 24th, 2013, 4:14 pm
by rorschach1234
Hello,

I'm running SABnzbd+ on OSX 10.8.3 and I've been suffering from this problem too.
When I use the SABnzbd+ Quick-Start Wizard, the option "I want SABnzbd to be viewable by any pc on my network", sets the following line in sabnzbd.ini :- "host = localhost" to "host = 0.0.0.0".

This then causes the following error to occur, and SABnzbd keeps shutting down almost immediately after I start it up:
[24/May/2013:19:08:18] ENGINE Error in 'start' listener > Traceback (most recent call last): File "cherrypy/process/wspbus.pyc", line 147, in publish File "cherrypy/process/servers.pyc", line 55, in start File "cherrypy/process/servers.pyc", line 260, in wait_for_free_port IOError: Port 9080 not free on '0.0.0.0'

If I manually change the sabnzbd.ini back to "host = localhost" then I can restart it fine, but left as 0.0.0.0 it will not.
I tried setting the "no_ipv6 = " switch to 1, but this didn't make any difference either.

I don't know much about IPv6, but if there is a solution or workaround for this problem I would very much appreciate any advice or assistance! :)

Re: OSX no startup with 0.0.0.0 host

Posted: May 25th, 2013, 1:37 am
by shypike
Try an empty host name instead.

Re: OSX no startup with 0.0.0.0 host

Posted: May 25th, 2013, 3:04 am
by rorschach1234
Thank you very much, shypike! This is working for me now, SABnzbd+ starts reliably and I can access it from inside and outside my home network.
Hurrah!