You run Galaxy is as non-root, likely
as galaxy user. Only root can bind sockets to ports < 1024. If
you want to use port 80, you need to configure Apache, nginx or
another web server that will proxy requests to Galaxy.
The web servers run as root, so they can bind sockets to port 80.
--
Lukasz
On 8/31/12 5: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/