Page 1 of 1

cannot start sabnzbd 0.5.4 on debain

Posted: November 17th, 2010, 9:51 am
by funtoy
I instlled sabnzbd on my dockstar debian squeeze and it was fine working fine for over a week. All of the sudden, I noticed it is not running. When I tried to start it up again using command /etc/init.d/sabnzbdplus start, cherrypy.log has the following messages:

[17/Nov/2010:06:40:52] ENGINE Bus STARTING
[17/Nov/2010:06:40:52] ENGINE Started monitor thread '_TimeoutMonitor'.
[17/Nov/2010:06:40:52] ENGINE Error in HTTP server: shutting down
Traceback (most recent call last):
  File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 75, in _start_http_thread
    self.httpserver.start()
  File "/usr/share/sabnzbdplus/cherrypy/wsgiserver/__init__.py", line 1629, in start
    raise socket.error, msg
error: [Errno 99] Cannot assign requested address

[17/Nov/2010:06:40:52] ENGINE Bus STOPPING
[17/Nov/2010:06:40:52] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('lanai', 9000)) already shut down
[17/Nov/2010:06:40:52] ENGINE Stopped thread '_TimeoutMonitor'.
[17/Nov/2010:06:40:52] ENGINE Bus STOPPED
[17/Nov/2010:06:40:52] ENGINE Bus EXITING
[17/Nov/2010:06:40:52] ENGINE Bus EXITED
[17/Nov/2010:06:40:52] ENGINE Error in 'start' listener >
Traceback (most recent call last):
  File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 147, in publish
    output.append(listener(*args, **kwargs))
  File "/usr/share/sabnzbdplus/cherrypy/_cpserver.py", line 90, in start
    ServerAdapter.start(self)
  File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 62, in start
    self.wait()
  File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 97, in wait
    raise self.interrupt
error: [Errno 99] Cannot assign requested address

[17/Nov/2010:06:40:52] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
  File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 184, in start
    self.publish('start')
  File "/usr/share/sabnzbdplus/cherrypy/process/wspbus.py", line 147, in publish
    output.append(listener(*args, **kwargs))
  File "/usr/share/sabnzbdplus/cherrypy/_cpserver.py", line 90, in start
    ServerAdapter.start(self)
  File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 62, in start
    self.wait()
  File "/usr/share/sabnzbdplus/cherrypy/process/servers.py", line 97, in wait
    raise self.interrupt
error: [Errno 99] Cannot assign requested address

[17/Nov/2010:06:40:52] ENGINE Bus STOPPING
[17/Nov/2010:06:40:52] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('lanai', 9000)) already shut down
[17/Nov/2010:06:40:52] ENGINE No thread running for _TimeoutMonitor.
[17/Nov/2010:06:40:52] ENGINE Bus STOPPED
[17/Nov/2010:06:40:52] ENGINE Bus EXITING
[17/Nov/2010:06:40:52] ENGINE Bus EXITED

Re: cannot start sabnzbd 0.5.4 on debain

Posted: November 17th, 2010, 10:47 am
by funtoy
Now I am confused. I changed host from "" to 0.0.0.0 in sabnzbd.ini and it starts up! Why???

Re: cannot start sabnzbd 0.5.4 on debain

Posted: November 17th, 2010, 11:25 am
by shypike
Because some Linux systems do not return a system name
that translates to an IP address (while they should).

Re: cannot start sabnzbd 0.5.4 on debain

Posted: November 17th, 2010, 12:39 pm
by funtoy
Thanks. I did change my computer to "lanai" the other day. Maybe that is when the trouble began... Will look into that so I don't get other surprises.