Webserver won't start [OS X]

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
litefire1546
Newbie
Newbie
Posts: 3
Joined: February 15th, 2013, 2:48 pm

Webserver won't start [OS X]

Post by litefire1546 »

I'm having issues starting SABnzbD+ on any port. I have tried a few (8080,9090,7070,etc.) as well as verified that these ports are not in use by any other process. Here is the log from when I launch the application:

Code: Select all

INFO:root:--------------------------------
INFO:root:SABnzbd.py-0.7.11 (rev=a50412a32751f4d1d555020dea20a2da43d6a309)
INFO:root:Platform = posix
INFO:root:Python-version = 2.7.2 (default, Jun 20 2012, 16:23:33) 
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)]
INFO:root:Arguments = /Applications/Downloaders/SABnzbd.app/Contents/Resources/SABnzbd.py --console
INFO:root:[osx] IO priority setting
INFO:root:[osx] IO priority set to throttle for process scope
INFO:root:Read INI file /var/root/Library/Application Support/SABnzbd/sabnzbd.ini
INFO:root:Loading data for bookmarks.sab from /var/root/Library/Application Support/SABnzbd/admin/bookmarks.sab
INFO:root:Loading data for rss_data.sab from /var/root/Library/Application Support/SABnzbd/admin/rss_data.sab
INFO:root:Loading data for totals9.sab from /var/root/Library/Application Support/SABnzbd/admin/totals9.sab
INFO:root:/var/root/Library/Application Support/SABnzbd/admin/totals9.sab missing, trying old cache
INFO:root:/var/root/Library/Application Support/SABnzbd/cache/totals9.sab missing
INFO:root:Loading postproc queue
INFO:root:Loading data for postproc1.sab from /var/root/Library/Application Support/SABnzbd/admin/postproc1.sab
INFO:root:Loading data for queue9.sab from /var/root/Library/Application Support/SABnzbd/admin/queue9.sab
INFO:root:Loading data for watched_data.sab from /var/root/Library/Application Support/SABnzbd/admin/watched_data.sab
INFO:root:Setting schedule for midnight BPS reset
INFO:root:Resuming
INFO:root:All processes started
INFO:root:Web dir is /Applications/Downloaders/SABnzbd.app/Contents/Resources/interfaces/Plush
INFO:root:Web dir is /Applications/Downloaders/SABnzbd.app/Contents/Resources/interfaces/Config
INFO:root:_yenc module... found!
INFO:root:par2 binary... found (/Applications/Downloaders/SABnzbd.app/Contents/Resources/osx/par2/par2-sl)
INFO:root:unrar binary... found (/Applications/Downloaders/SABnzbd.app/Contents/Resources/osx/unrar/unrar)
INFO:root:unzip binary... found (/usr/bin/unzip)
INFO:root:nice binary... found (/usr/bin/nice)
INFO:root:ionice binary... NOT found!
INFO:root:pyOpenSSL... found (True)
INFO:root:Starting web-interface on 0.0.0.0:9090
ERROR:root:Failed to start web-interface: 
Traceback (most recent call last):
  File "/Applications/Downloaders/SABnzbd.app/Contents/Resources/SABnzbd.py", line 1489, in main
  File "cherrypy/process/servers.pyc", line 228, in check_port
gaierror: [Errno 8] nodename nor servname provided, or not known
ERROR:root:Failed to start web-interface : [Errno 8] nodename nor servname provided, or not known
INFO:root:Lauching browser with /tmp/tmpqLPrsT.html
INFO:root:SABnzbd shutting down...
INFO:root:Saving data for bookmarks.sab in /var/root/Library/Application Support/SABnzbd/admin/bookmarks.sab
INFO:root:URLGrabber shutting down
INFO:root:Saving data for watched_data.sab in /var/root/Library/Application Support/SABnzbd/admin/watched_data.sab
INFO:root:Dirscanner shutting down
INFO:root:Saving postproc queue
INFO:root:Saving data for postproc1.sab in /var/root/Library/Application Support/SABnzbd/admin/postproc1.sab
INFO:root:Saving queue
INFO:root:Saving data for queue9.sab in /var/root/Library/Application Support/SABnzbd/admin/queue9.sab
INFO:root:Saving data for rss_data.sab in /var/root/Library/Application Support/SABnzbd/admin/rss_data.sab
INFO:root:Saving data for bookmarks.sab in /var/root/Library/Application Support/SABnzbd/admin/bookmarks.sab
INFO:root:Saving data for watched_data.sab in /var/root/Library/Application Support/SABnzbd/admin/watched_data.sab
INFO:root:Saving postproc queue
INFO:root:Saving data for postproc1.sab in /var/root/Library/Application Support/SABnzbd/admin/postproc1.sab
INFO:root:All processes stopped
INFO:root:[osx] application terminating
INFO:root:[osx] application stopping daemon
INFO:cherrypy.error:[15/Feb/2013:20:45:55] ENGINE Bus STOPPING
INFO:cherrypy.error:[15/Feb/2013:20:45:55] ENGINE HTTP Server None already shut down
INFO:cherrypy.error:[15/Feb/2013:20:45:55] ENGINE No thread running for _TimeoutMonitor.
INFO:cherrypy.error:[15/Feb/2013:20:45:55] ENGINE Bus STOPPED
INFO:cherrypy.error:[15/Feb/2013:20:45:55] ENGINE Bus EXITING
INFO:cherrypy.error:[15/Feb/2013:20:45:55] ENGINE Bus EXITED
INFO:root:Leaving SABnzbd
Any ideas? I'm running OS X 10.8.2, and just downloaded a fresh version of SAB.

As a (potentially unrelated?) side note, my browsers are not redirecting localhost to 0.0.0.0 or 192.0.0.1 (e.g. when using SickBeard or Headphones).

Thanks for any help.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Webserver won't start [OS X]

Post by shypike »

There's something wrong with the DNS of you system; it doesn't know what localhost is.
Try starting like this.
Open Applications->Utilities->Terminal and then type:
/Applications/SABnzbd/Contents/MacOS/SABnzbd --server 127.0.0.1:8080
Enter.
It should start now. The shutdown and start the normal way .
litefire1546
Newbie
Newbie
Posts: 3
Joined: February 15th, 2013, 2:48 pm

Re: Webserver won't start [OS X]

Post by litefire1546 »

Thanks for your response.

I tried your command (as well as trying to use 0.0.0.0) and received this error:

Code: Select all

2013-02-16 19:02:58.538 sabnzbd[33770:707] The Info.plist file must have a PyRuntimeLocations array containing string values for preferred Python runtime locations.  These strings should be "otool -L" style mach ids; "@executable_stub" and "~" prefixes will be translated accordingly.
0x97a4abfa
Then it crashed.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Webserver won't start [OS X]

Post by shypike »

There is something wrong with your system, or with the installation of SABnzbd.
I have no idea what's happening here.
Access rights maybe?
litefire1546
Newbie
Newbie
Posts: 3
Joined: February 15th, 2013, 2:48 pm

Re: Webserver won't start [OS X]

Post by litefire1546 »

I'm confused as well, as I checked the .plist file and confirmed that it points correctly to the framework... Could something with the native install of apache be bothering it?

Anyway, changing permissions fixed the last error, but not the overreaching issue. I still have the issue of launching the webserver, even when using 0.0.0.0 or 127.0.0.1 (which is known to work with other python/cherrypy applications).

It worked before... ::sadface::
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Webserver won't start [OS X]

Post by shypike »

The sad answer is that I just don't know.
Post Reply