Page 1 of 1

Strange Permission Denied errors when starting

Posted: December 4th, 2011, 8:28 am
by yesimnathan
Hey guys. I'm sorry to bug you but this issue has really got me pulling my hair out. Last year I experienced some weird issues with sabnzbd and took the lazy way out (rather than fixing them, used nzbget for a while). I'm trying to sort these issues out now but I'm just not having any luck. Below is some relevant information (Ubuntu version and the data in my error log). I'm starting sabnzbd with the init script generally but starting it with "sabnzbdplus -d -b 0" is producing the same result.

Code: Select all

$ cat /etc/issue
Ubuntu 8.04.4 LTS

Code: Select all

Exception in thread HTTPServer Thread-9:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.5/threading.py", line 446, 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: (13, 'Permission denied')
Anyone have any ideas? Thanks so much for your help!

Re: Strange Permission Denied errors when starting

Posted: December 4th, 2011, 9:00 am
by jcfp
Port number below 1024? Post a log of program startup to be sure.

Re: Strange Permission Denied errors when starting

Posted: December 4th, 2011, 10:29 am
by yesimnathan
jcfp wrote:Port number below 1024? Post a log of program startup to be sure.
I'm using port 8080 (and I've ensured that nothing else is using that port). I've also tried a few other random ports just to be sure (8082, 8085, etc...). Same error.

Code: Select all

$ sudo /etc/init.d/sabnzbdplus start
 * Starting SABnzbd+ binary newsgrabber                                                      [ OK ] 
$ sudo /etc/init.d/sabnzbdplus status
 * SABnzbd+ binary newsgrabber: not running

Re: Strange Permission Denied errors when starting

Posted: December 4th, 2011, 2:41 pm
by sander
I would do this:

Open a terminal, type 'sabnzbdplus' <ENTER>, see what happens, and post the output here.