You are not logged in.

#1 2013-10-24 00:20:15

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

SabNZBd Can't Set Address

I've been having problems recently where SabNZBD won't start on bootup, but will start when I manually start the service. I have Sab bound to my IP static IP of 192.168.1.114 and the traces say that it can't assign that address, since I can do it via sudo I'm going to assume that this is a permission problem. Sab is running as the sabznbd user and and belongs to the sabnzbd group. How can I fix it?

Oct 23 19:59:23 ra systemd[1]: Starting SABnzbd binary newsreader...
Oct 23 19:59:23 ra systemd[1]: Started SABnzbd binary newsreader.
Oct 23 19:59:24 ra SABnzbd.py[1702]: 2013-10-23 19:59:24,021::ERROR::[misc:1350] Cannot change permissions of /mnt/media/usenet-downloads/incomplete
Oct 23 19:59:24 ra SABnzbd.py[1702]: 2013-10-23 19:59:24,175::ERROR::[_cplogging:55] [23/Oct/2013:19:59:24] ENGINE Error in HTTP server: shutting down
Oct 23 19:59:24 ra SABnzbd.py[1702]: Traceback (most recent call last):
Oct 23 19:59:24 ra SABnzbd.py[1702]: File "/opt/sabnzbd/cherrypy/process/servers.py", line 75, in _start_http_thread
Oct 23 19:59:24 ra SABnzbd.py[1702]: self.httpserver.start()
Oct 23 19:59:24 ra SABnzbd.py[1702]: File "/opt/sabnzbd/cherrypy/wsgiserver/__init__.py", line 1644, in start
Oct 23 19:59:24 ra SABnzbd.py[1702]: raise socket.error, msg
Oct 23 19:59:24 ra SABnzbd.py[1702]: error: [Errno 99] Cannot assign requested address
Oct 23 19:59:24 ra SABnzbd.py[1702]: Exception in thread HTTPServer Thread-9:
Oct 23 19:59:24 ra SABnzbd.py[1702]: Traceback (most recent call last):
Oct 23 19:59:24 ra SABnzbd.py[1702]: File "/usr/lib/python2.7/threading.py", line 808, in __bootstrap_inner
Oct 23 19:59:24 ra SABnzbd.py[1702]: self.run()
Oct 23 19:59:24 ra SABnzbd.py[1702]: File "/usr/lib/python2.7/threading.py", line 761, in run
Oct 23 19:59:24 ra SABnzbd.py[1702]: self.__target(*self.__args, **self.__kwargs)
Oct 23 19:59:24 ra SABnzbd.py[1702]: File "/opt/sabnzbd/cherrypy/process/servers.py", line 75, in _start_http_thread
Oct 23 19:59:24 ra SABnzbd.py[1702]: self.httpserver.start()
Oct 23 19:59:24 ra SABnzbd.py[1702]: File "/opt/sabnzbd/cherrypy/wsgiserver/__init__.py", line 1644, in start
Oct 23 19:59:24 ra SABnzbd.py[1702]: raise socket.error, msg
Oct 23 19:59:24 ra SABnzbd.py[1702]: error: [Errno 99] Cannot assign requested address
Oct 23 19:59:24 ra SABnzbd.py[1702]: 2013-10-23 19:59:24,275::ERROR::[_cplogging:55] [23/Oct/2013:19:59:24] ENGINE Error in 'start' listener <bound method Server.start of
Oct 23 19:59:24 ra SABnzbd.py[1702]: Traceback (most recent call last):
Oct 23 19:59:24 ra SABnzbd.py[1702]: File "/opt/sabnzbd/cherrypy/process/wspbus.py", line 147, in publish
Oct 23 19:59:24 ra SABnzbd.py[1702]: output.append(listener(*args, **kwargs))
Oct 23 19:59:24 ra SABnzbd.py[1702]: File "/opt/sabnzbd/cherrypy/_cpserver.py", line 90, in start
Oct 23 19:59:24 ra SABnzbd.py[1702]: ServerAdapter.start(self)
Oct 23 19:59:24 ra SABnzbd.py[1702]: File "/opt/sabnzbd/cherrypy/process/servers.py", line 62, in start
Oct 23 19:59:24 ra SABnzbd.py[1702]: self.wait()
Oct 23 19:59:24 ra SABnzbd.py[1702]: File "/opt/sabnzbd/cherrypy/process/servers.py", line 97, in wait
Oct 23 19:59:24 ra SABnzbd.py[1702]: raise self.interrupt
Oct 23 19:59:24 ra SABnzbd.py[1702]: error: [Errno 99] Cannot assign requested address
Oct 23 19:59:24 ra SABnzbd.py[1702]: 2013-10-23 19:59:24,309::ERROR::[_cplogging:55] [23/Oct/2013:19:59:24] ENGINE Shutting down due to error in start listener:
Oct 23 19:59:24 ra SABnzbd.py[1702]: Traceback (most recent call last):
Oct 23 19:59:24 ra SABnzbd.py[1702]: File "/opt/sabnzbd/cherrypy/process/wspbus.py", line 184, in start
Oct 23 19:59:24 ra SABnzbd.py[1702]: self.publish('start')
Oct 23 19:59:24 ra SABnzbd.py[1702]: File "/opt/sabnzbd/cherrypy/process/wspbus.py", line 147, in publish
Oct 23 19:59:24 ra SABnzbd.py[1702]: output.append(listener(*args, **kwargs))
Oct 23 19:59:24 ra SABnzbd.py[1702]: File "/opt/sabnzbd/cherrypy/_cpserver.py", line 90, in start
Oct 23 19:59:24 ra SABnzbd.py[1702]: ServerAdapter.start(self)
Oct 23 19:59:25 ra SABnzbd.py[1702]: File "/opt/sabnzbd/cherrypy/process/servers.py", line 62, in start
Oct 23 19:59:25 ra SABnzbd.py[1702]: self.wait()
Oct 23 19:59:25 ra SABnzbd.py[1702]: File "/opt/sabnzbd/cherrypy/process/servers.py", line 97, in wait
Oct 23 19:59:25 ra SABnzbd.py[1702]: raise self.interrupt
Oct 23 19:59:25 ra SABnzbd.py[1702]: error: [Errno 99] Cannot assign requested address
Oct 23 19:59:25 ra SABnzbd.py[1702]: 2013-10-23 19:59:24,450::ERROR::[SABnzbd:1498] Failed to start web-interface:
Oct 23 19:59:25 ra SABnzbd.py[1702]: Traceback (most recent call last):
Oct 23 19:59:25 ra SABnzbd.py[1702]: File "/opt/sabnzbd/SABnzbd.py", line 1490, in main
Oct 23 19:59:25 ra SABnzbd.py[1702]: cherrypy.engine.start()
Oct 23 19:59:25 ra SABnzbd.py[1702]: File "/opt/sabnzbd/cherrypy/process/wspbus.py", line 184, in start
Oct 23 19:59:25 ra SABnzbd.py[1702]: self.publish('start')
Oct 23 19:59:25 ra SABnzbd.py[1702]: File "/opt/sabnzbd/cherrypy/process/wspbus.py", line 147, in publish
Oct 23 19:59:25 ra SABnzbd.py[1702]: output.append(listener(*args, **kwargs))
Oct 23 19:59:25 ra SABnzbd.py[1702]: File "/opt/sabnzbd/cherrypy/_cpserver.py", line 90, in start
Oct 23 19:59:25 ra SABnzbd.py[1702]: ServerAdapter.start(self)
Oct 23 19:59:25 ra SABnzbd.py[1702]: File "/opt/sabnzbd/cherrypy/process/servers.py", line 62, in start
Oct 23 19:59:25 ra SABnzbd.py[1702]: self.wait()
Oct 23 19:59:25 ra SABnzbd.py[1702]: File "/opt/sabnzbd/cherrypy/process/servers.py", line 97, in wait
Oct 23 19:59:25 ra SABnzbd.py[1702]: raise self.interrupt
Oct 23 19:59:25 ra SABnzbd.py[1702]: error: [Errno 99] Cannot assign requested address
Oct 23 19:59:25 ra SABnzbd.py[1702]: 2013-10-23 19:59:24,477::ERROR::[SABnzbd:303] Failed to start web-interface : [Errno 99] Cannot assign requested address
Oct 23 19:59:25 ra systemd[1]: sabnzbd.service: main process exited, code=exited, status=2/INVALIDARGUMENT
Oct 23 19:59:25 ra systemd[1]: Unit sabnzbd.service entered failed state.

Last edited by brando56894 (2013-10-24 00:21:19)

Offline

#2 2013-10-31 01:00:37

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

Re: SabNZBd Can't Set Address

What permissions can I give to the sab user to allow it to set IPs?

Offline

Board footer

Powered by FluxBB