[Ubuntu] Exception in HTTPServer; Permission denied
Posted: January 11th, 2010, 5:36 pm
I've recently switched to Ubuntu and ofc decided to install sabnzbdplus, sadly I'm facing an error when running sabnzbdplus as non-root; it's not able to set up a socket for the cherrypy server.
The exact error generated is the following:
This is on an Ubuntu 9.10 system, this bug occurred with both the last 0.4.x version as well as the latest 0.5.0~beta6 version (in the repository maintained by JCF Ploemen). Hopefully you guys happen to know a solution, running the app as root kinda ruins the possibilities to autolaunch Sab in a neat way.
The exact error generated is the following:
Code: Select all
Exception in thread HTTPServer Thread-11:
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
self.run()
File "/usr/lib/python2.6/threading.py", line 477, 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 1629, in start
raise socket.error, msg
error: [Errno 13] Permission denied