Page 1 of 1

Won't start as non-root on ubuntu. Help?

Posted: January 10th, 2010, 8:23 am
by meurkens
Hi,

Just installed sabnzbd on ubuntu 9.10 via apt. Now, I can start sabnzbd by doing "sudo sabnzbdplus". When I don't do sudo, I get an error. The same error shows up in my sabnzbd.error.log when I try to start using "/etc/init.d/sabnzbdplus start". Somebody understands how I can tackle this? Thanks!

Code: Select all

Exception in thread CPHTTPServer Thread-7:
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/lib/pymodules/python2.5/cherrypy/_cpserver.py", line 114, in _start_http
    self.httpserver.start()
  File "/usr/lib/pymodules/python2.5/cherrypy/_cpwsgiserver.py", line 370, in start
    raise socket.error, msg
error: (13, 'Permission denied')

Re: Won't start as non-root on ubuntu. Help?

Posted: January 10th, 2010, 8:27 am
by shypike
All Linux systems limit access to low port numbers for restricted users.
This means you cannot use port 80, but you can use 8080.

Re: Won't start as non-root on ubuntu. Help?

Posted: January 10th, 2010, 8:39 am
by meurkens
Thanks, that worked!