HI Gaueko,
If you are on a UNIX/LInux system, you are running into  a security restriction 
which requires root access to bind a sever to any port below 80.  There are two 
common methods. One is to use an Apache or Nginx  proxy server that forwards to 
your port, which has the advantage that you get web scalability  and access to 
other authentication functionality.. The second method is to change the port 
settings. You can read more about the latter option at 
http://yaws.hyber.org/privbind.yaws

Be away that if done badly, you are opening up to web attacks.  So open only 
port 80 and not other ports.

I hope this helps. 
Ted

UCSC CBSE
http//soe.ucsc.edu/~ted/


On Aug 31, 2012, at 3:45 AM, Gaueko Erge wrote:

> Hi,
> On a fresh galaxy installation the server start fine when it looks at port 
> 8080, but as soon as I change to port 80 I get the following error
> I think that is due to permissions since I have my galaxy inside a non-root 
> galaxy user directory
> Any ideas on the best way to solve this would be appreciated
> Thanks
> --G
> 
> Starting server in PID 8799.
> Traceback (most recent call last):
>   File "./scripts/paster.py", line 34, in <module>
>     command.run()
>   File 
> "/usr/local/galaxy/galaxy-dist/eggs/PasteScript-1.7.3-py2.7.egg/paste/script/command.py",
>  line 84, in run
>     invoke(command, command_name, options, args[1:])
>   File 
> "/usr/local/galaxy/galaxy-dist/eggs/PasteScript-1.7.3-py2.7.egg/paste/script/command.py",
>  line 123, in invoke
>     exit_code = runner.run(args)
>   File 
> "/usr/local/galaxy/galaxy-dist/eggs/PasteScript-1.7.3-py2.7.egg/paste/script/command.py",
>  line 218, in run
>     result = self.command()
>   File 
> "/usr/local/galaxy/galaxy-dist/eggs/PasteScript-1.7.3-py2.7.egg/paste/script/serve.py",
>  line 303, in command
>     serve()
>   File 
> "/usr/local/galaxy/galaxy-dist/eggs/PasteScript-1.7.3-py2.7.egg/paste/script/serve.py",
>  line 287, in serve
>     server(app)
>   File 
> "/usr/local/galaxy/galaxy-dist/eggs/PasteDeploy-1.3.3-py2.7.egg/paste/deploy/loadwsgi.py",
>  line 151, in server_wrapper
>     **context.local_conf)
>   File 
> "/usr/local/galaxy/galaxy-dist/eggs/PasteDeploy-1.3.3-py2.7.egg/paste/deploy/util/fixtypeerror.py",
>  line 57, in fix_call
>     val = callable(*args, **kw)
>   File 
> "/usr/local/galaxy/galaxy-dist/eggs/Paste-1.6-py2.7.egg/paste/httpserver.py", 
> line 1314, in server_runner
>     serve(wsgi_app, **kwargs)
>   File 
> "/usr/local/galaxy/galaxy-dist/eggs/Paste-1.6-py2.7.egg/paste/httpserver.py", 
> line 1264, in serve
>     threadpool_options=threadpool_options)
>   File 
> "/usr/local/galaxy/galaxy-dist/eggs/Paste-1.6-py2.7.egg/paste/httpserver.py", 
> line 1114, in __init__
>     RequestHandlerClass, ssl_context)
>   File 
> "/usr/local/galaxy/galaxy-dist/eggs/Paste-1.6-py2.7.egg/paste/httpserver.py", 
> line 1094, in __init__
>     RequestHandlerClass, ssl_context)
>   File 
> "/usr/local/galaxy/galaxy-dist/eggs/Paste-1.6-py2.7.egg/paste/httpserver.py", 
> line 328, in __init__
>     HTTPServer.__init__(self, server_address, RequestHandlerClass)
>   File "/usr/lib/python2.7/SocketServer.py", line 408, in __init__
>     self.server_bind()
>   File "/usr/lib/python2.7/BaseHTTPServer.py", line 108, in server_bind
>     SocketServer.TCPServer.server_bind(self)
>   File "/usr/lib/python2.7/SocketServer.py", line 419, in server_bind
>     self.socket.bind(self.server_address)
>   File "/usr/lib/python2.7/socket.py", line 224, in meth
>     return getattr(self._sock,name)(*args)
> socket.error: [Errno 13] Permission denied
> ___________________________________________________________
> Please keep all replies on the list by using "reply all"
> in your mail client.  To manage your subscriptions to this
> and other Galaxy lists, please use the interface at:
> 
>  http://lists.bx.psu.edu/


___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

  http://lists.bx.psu.edu/

Reply via email to