I have some problems with getting your nice tool started under linux.
My system is a gentoo installation and i'm using the latest sabnzbd ebuild from the c1pher overlay.
After emerging sabnzbd I tried to start it with /etc/init.d/sabnzbd start.
Then I get this :
Then I tried to start it manually with this command* Caching service dependencies ... [ ok ]
* Use of the opts variable is deprecated and will be
* removed in the future.
* Please use extra_commands, extra_started_commands or extra_stopped_commands.
* Starting SABnzbd ... [ !! ]
* ERROR: sabnzbd failed to start
I can reach SABnzbd through localhost:8080./usr/bin/python2.7 SABnzbd.py -d -f /etc/sabnzbd/sabnzbd.ini --pid /var/run/sabnzbd/
At step one I want to test my inputs an there comes only: Testing server details... And no result.
At step four I get this error message:
Here the log file:500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
Traceback (most recent call last):
File "/usr/local/src/sabnzbd/cherrypy/_cprequest.py", line 618, in respond
cherrypy.response.body = self.handler()
File "/usr/local/src/sabnzbd/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/local/src/sabnzbd/sabnzbd/wizard.py", line 201, in four
info['access_url'], info['urls'] = self.get_access_info()
File "/usr/local/src/sabnzbd/sabnzbd/wizard.py", line 219, in get_access_info
addresses = socket.getaddrinfo(host, None)
gaierror: [Errno -2] Name or service not known
Powered by CherryPy 3.2.0
I seems to me that this is a network issue, but I don't know the reason. There is no firewall running.2012-02-06 04:47:29,755::INFO::[SABnzbd:1207] --------------------------------
2012-02-06 04:47:29,756::INFO::[SABnzbd:1208] SABnzbd.py-0.6.15 (rev=d06f957a0f05a8766822acaa6de1f6d1e9f279e0)
2012-02-06 04:47:29,756::INFO::[SABnzbd:1220] Platform = posix
2012-02-06 04:47:29,756::INFO::[SABnzbd:1221] Python-version = 2.7.2 (default, Feb 4 2012, 19:28:23) [GCC 4.5.3]
2012-02-06 04:47:29,756::INFO::[SABnzbd:1222] Arguments = "SABnzbd.py", "-d", "-f", "/etc/sabnzbd/sabnzbd.ini", "--pid", "/var/run/sabnzbd/"
2012-02-06 04:47:29,756::INFO::[SABnzbd:1235] Read INI file /etc/sabnzbd/sabnzbd.ini
2012-02-06 04:47:29,757::INFO::[__init__:870] Loading data for bookmarks.sab from /var/lib/sabnzbd/admin/bookmarks.sab
2012-02-06 04:47:29,758::INFO::[__init__:870] Loading data for rss_data.sab from /var/lib/sabnzbd/admin/rss_data.sab
2012-02-06 04:47:29,758::INFO::[__init__:870] Loading data for totals9.sab from /var/lib/sabnzbd/admin/totals9.sab
2012-02-06 04:47:29,758::INFO::[__init__:873] /var/lib/sabnzbd/admin/totals9.sab missing, trying old cache
2012-02-06 04:47:29,758::INFO::[__init__:876] /var/lib/sabnzbd/cache/totals9.sab missing
2012-02-06 04:47:29,772::INFO::[postproc:89] Loading postproc queue
2012-02-06 04:47:29,772::INFO::[__init__:870] Loading data for postproc1.sab from /var/lib/sabnzbd/admin/postproc1.sab
2012-02-06 04:47:29,772::INFO::[__init__:870] Loading data for queue9.sab from /var/lib/sabnzbd/admin/queue9.sab
2012-02-06 04:47:29,772::INFO::[__init__:870] Loading data for watched_data.sab from /var/lib/sabnzbd/admin/watched_data.sab
2012-02-06 04:47:29,773::INFO::[downloader:194] Resuming
2012-02-06 04:47:29,773::INFO::[__init__:289] All processes started
2012-02-06 04:47:29,773::INFO::[SABnzbd:331] Web dir is /usr/local/src/sabnzbd/interfaces/Plush
2012-02-06 04:47:29,782::INFO::[SABnzbd:454] _yenc module... found!
2012-02-06 04:47:29,782::INFO::[SABnzbd:462] par2 binary... found (/usr/bin/par2)
2012-02-06 04:47:29,782::INFO::[SABnzbd:470] unrar binary... found (/usr/bin/unrar)
2012-02-06 04:47:29,782::INFO::[SABnzbd:475] unzip binary... found (/usr/bin/unzip)
2012-02-06 04:47:29,782::INFO::[SABnzbd:481] nice binary... found (/usr/bin/nice)
2012-02-06 04:47:29,783::INFO::[SABnzbd:485] ionice binary... found (/usr/bin/ionice)
2012-02-06 04:47:29,783::INFO::[SABnzbd:490] pyOpenSSL... found (True)
2012-02-06 04:47:29,784::INFO::[SABnzbd:1402] Starting web-interface on 0.0.0.0:8080
2012-02-06 04:47:29,785::INFO::[_cplogging:55] [06/Feb/2012:04:47:29] ENGINE Bus STARTING
2012-02-06 04:47:29,787::INFO::[_cplogging:55] [06/Feb/2012:04:47:29] ENGINE Started monitor thread '_TimeoutMonitor'.
2012-02-06 04:47:29,888::INFO::[_cplogging:55] [06/Feb/2012:04:47:29] ENGINE Serving on 0.0.0.0:8080
2012-02-06 04:47:29,888::INFO::[_cplogging:55] [06/Feb/2012:04:47:29] ENGINE Bus STARTED
2012-02-06 04:47:30,276::INFO::[SABnzbd:1471] Starting SABnzbd.py-0.6.15
2012-02-06 04:47:30,277::INFO::[dirscanner:263] Dirscanner starting up
2012-02-06 04:47:30,277::INFO::[urlgrabber:75] URLGrabber starting up
2012-02-06 04:56:15,901::WARNING::[interface:166] Missing Session key
2012-02-06 04:57:56,665::WARNING::[interface:166] Missing Session key
2012-02-06 04:58:04,967::INFO::[_cplogging:55] [06/Feb/2012:04:58:04] HTTP
Request Headers:
AUTHORIZATION: Basic dGhpc2lzbm90OnRoZXBhc3N3b3Jk
ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Content-Type: application/x-www-form-urlencoded
REFERER: http://192.168.178.36:8080/wizard/three
HOST: 192.168.178.36:8080
Content-Length: 55
ACCEPT-CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
USER-AGENT: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.24) Gecko/20111107 Ubuntu/10.10 (maverick) Firefox/3.6.24
CONNECTION: keep-alive
Remote-Addr: 192.168.178.31
ACCEPT-LANGUAGE: en-us,en;q=0.5
ACCEPT-ENCODING: gzip,deflate
KEEP-ALIVE: 115
2012-02-06 04:58:04,967::DEBUG::[_cplogging:55] [06/Feb/2012:04:58:04] HTTP Traceback (most recent call last):
File "/usr/local/src/sabnzbd/cherrypy/_cprequest.py", line 618, in respond
cherrypy.response.body = self.handler()
File "/usr/local/src/sabnzbd/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/local/src/sabnzbd/sabnzbd/wizard.py", line 201, in four
info['access_url'], info['urls'] = self.get_access_info()
File "/usr/local/src/sabnzbd/sabnzbd/wizard.py", line 219, in get_access_info
addresses = socket.getaddrinfo(host, None)
gaierror: [Errno -2] Name or service not known
Maybe a name resolving issue?
I hope you have any ideas
Thank you,
edik

