Can't start sabnzbd: Exception in thread CPHTTPServer Thread-8:

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
hypernayte
Newbie
Newbie
Posts: 2
Joined: November 21st, 2008, 12:55 pm

Can't start sabnzbd: Exception in thread CPHTTPServer Thread-8:

Post by hypernayte »

Running on Freebsd 7.0
Ver:  SABnzbd 4.5
When starting SABnzbd, I get the following:

[root@10 ~]# SABnzbd.py
2008-11-21 11:28:21,511::INFO::--------------------------------
2008-11-21 11:28:21,512::INFO::SABnzbd.py-0.4.5 (rev=1750)
2008-11-21 11:28:21,513::INFO::Platform = posix
2008-11-21 11:28:21,513::INFO::Python-version = 2.5.2 (r252:60911, Jul 31 2008, 22:38:43)
[GCC 4.2.1 20070719  [FreeBSD]]
2008-11-21 11:28:21,518::INFO::[sabnzbd] Loading data for rss_data.sab from /root/.sabnzbd/cache/rss_data.sab
2008-11-21 11:28:21,521::INFO::[sabnzbd] Loading data for bytes7.sab from /root/.sabnzbd/cache/bytes7.sab
2008-11-21 11:28:21,522::INFO::[sabnzbd] Loading data for queue7.sab from /root/.sabnzbd/cache/queue7.sab
2008-11-21 11:28:21,524::INFO::[sabnzbd] Loading data for SABnzbd_nzo_jOjXsh from /root/.sabnzbd/cache/SABnzbd_nzo_jOjXsh
2008-11-21 11:28:21,528::INFO::All processes started
2008-11-21 11:28:21,532::INFO::_yenc module... found!
2008-11-21 11:28:21,533::INFO::celementtree module... found!
2008-11-21 11:28:21,534::INFO::par2 binary... found (/usr/local/bin/par2)
2008-11-21 11:28:21,534::INFO::unrar binary... found (/usr/local/bin/rar)
2008-11-21 11:28:21,535::INFO::unzip binary... found (/usr/local/bin/unzip)
2008-11-21 11:28:21,535::INFO::nice binary... found (/usr/bin/nice)
2008-11-21 11:28:21,536::INFO::ionice binary... NOT found!
2008-11-21 11:28:21,537::INFO::pyOpenSSL... found (True)
2008-11-21 11:28:21,538::INFO::Web dir is /usr/local/share/sabnzbdplus/interfaces/iphone
2008-11-21 11:28:21,545::INFO::Starting SABnzbd.py-0.4.5
2008-11-21 11:28:21,547::INFO::[nzbqueue] Saving queue
2008-11-21 11:28:21,548::INFO::[sabnzbd] Saving data for SABnzbd_nzo_jOjXsh in /root/.sabnzbd/cache/SABnzbd_nzo_jOjXsh
2008-11-21 11:28:21,553::INFO::[sabnzbd] Saving data for queue7.sab in /root/.sabnzbd/cache/queue7.sab
2008-11-21 11:28:21,555::INFO::[sabnzbd] Saving data for bytes7.sab in /root/.sabnzbd/cache/bytes7.sab
2008-11-21 11:28:21,557::INFO::[downloader] 1@news.giganews.com:563: Initiating connection
2008-11-21 11:28:21,558::INFO::[sabnzbd] Saving data for rss_data.sab in /root/.sabnzbd/cache/rss_data.sab
2008-11-21 11:28:21,563::INFO::[sabnzbd.misc] URLGrabber starting up
2008-11-21 11:28:21,565::INFO::Starting web-interface on 8080:8080
21/Nov/2008:11:28:21 CONFIG INFO Server parameters:
21/Nov/2008:11:28:21 CONFIG INFO  server.environment: production
21/Nov/2008:11:28:21 CONFIG INFO  server.log_to_screen: True
21/Nov/2008:11:28:21 CONFIG INFO  server.log_file: /root/.sabnzbd/logs/cherrypy.log
21/Nov/2008:11:28:21 CONFIG INFO  server.log_tracebacks: True
21/Nov/2008:11:28:21 CONFIG INFO  server.log_request_headers: False
21/Nov/2008:11:28:21 CONFIG INFO  server.protocol_version: HTTP/1.0
21/Nov/2008:11:28:21 CONFIG INFO  server.socket_host: 8080
21/Nov/2008:11:28:21 CONFIG INFO  server.socket_port: 8080
21/Nov/2008:11:28:21 CONFIG INFO  server.socket_file:
21/Nov/2008:11:28:21 CONFIG INFO  server.reverse_dns: False
21/Nov/2008:11:28:21 CONFIG INFO  server.socket_queue_size: 5
21/Nov/2008:11:28:21 CONFIG INFO  server.thread_pool: 10
Exception in thread CPHTTPServer Thread-8:
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/usr/local/lib/python2.5/threading.py", line 446, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/local/lib/python2.5/site-packages/cherrypy/_cpserver.py", line 114, in _start_http
    self.httpserver.start()
  File "/usr/local/lib/python2.5/site-packages/cherrypy/_cpwsgiserver.py", line 301, in start
    raise socket.error, msg
error: (49, "Can't assign requested address")

I don't understand what the errors indicate.  Any ideas or advice would be appreciated.  Thanks.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Can't start sabnzbd: Exception in thread CPHTTPServer Thread-8:

Post by shypike »

There's something wrong with the IP address that SABnzbd want to run its web server on.
Try to set an explicit IP address and start up with:

./SABnzbd.py -s 127.0.0.1:8080
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Can't start sabnzbd: Exception in thread CPHTTPServer Thread-8:

Post by switch »

yep, you have somehow set both the port and host to 8080
hypernayte
Newbie
Newbie
Posts: 2
Joined: November 21st, 2008, 12:55 pm

Re: Can't start sabnzbd: Exception in thread CPHTTPServer Thread-8:

Post by hypernayte »

Well, it's sort of embarrassing, but you guys were right.  Thanks for catching my "host" mistake.  :)
Post Reply