Page 1 of 1

Odd random crashing

Posted: July 11th, 2013, 6:16 am
by tachioma
Afternoon All,

Having an odd error, runnign sab on wheezy and it will randomly crash. If i log on and try to start it again it will run but only in my current console window. if i close my putty session sab stops.

usually it just starts and that's that.

The error in the log is shown as :

Code: Select all

Exception in thread HTTPServer Thread-9:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 504, in run
    self.__target(*self.__args, **self.__kwargs)
  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 1644, in start
    raise socket.error, msg
error: [Errno 99] Cannot assign requested address
Any ideas anyone? ???

thanks

Re: Odd random crashing

Posted: July 11th, 2013, 3:36 pm
by shypike
SABnzbd is supposed to stop when you disconnect your putty session,
that's just the way Unix systems work.
You should use the -d (daemon) parameter and -f <ini-file> to run SABnzbd as a permanent service.

Re: Odd random crashing

Posted: July 15th, 2013, 8:06 am
by tachioma
Oh yes I understand that, but sab installs as a service by default on wheezy, i figured that i wouldn't have to use the -d when starting it again. Of course, i'm noob for not trying that straight away. :-[

Having said that though, it is still randomly stopping . . .