Fail to start galaxy
Hi, I launched a big job on my local galaxy server (for which I am admin). The job was to put local dir in the datalist. It took too long and i wanted to stop it .... but how?? i failed to find a solution. To stop the job i thought that stopping the galaxy running instance could make it. (AM I RIGHT?) Unfortunately, i failed to restart galaxy. I have the following error: galaxy.web.framework.base DEBUG 2011-06-28 14:51:49,031 Enabling 'tracks' controller, class: TracksController galaxy.web.buildapp DEBUG 2011-06-28 14:51:49,046 Enabling 'httpexceptions' middleware galaxy.web.buildapp DEBUG 2011-06-28 14:51:49,047 Enabling 'recursive' middleware galaxy.web.buildapp DEBUG 2011-06-28 14:51:49,048 Enabling 'print debug' middleware galaxy.web.buildapp DEBUG 2011-06-28 14:51:49,104 Enabling 'eval exceptions' middleware galaxy.web.buildapp DEBUG 2011-06-28 14:51:49,104 Enabling 'trans logger' middleware galaxy.web.buildapp DEBUG 2011-06-28 14:51:49,104 Enabling 'config' middleware galaxy.web.buildapp DEBUG 2011-06-28 14:51:49,104 Enabling 'x-forwarded-host' middleware Starting server in PID 12394. Traceback (most recent call last): File "./scripts/paster.py", line 34, in ? command.run() File "/opt/galaxy-central/eggs/PasteScript-1.7.3-py2.4.egg/paste/script/command.py", line 84, in run invoke(command, command_name, options, args[1:]) File "/opt/galaxy-central/eggs/PasteScript-1.7.3-py2.4.egg/paste/script/command.py", line 123, in invoke exit_code = runner.run(args) File "/opt/galaxy-central/eggs/PasteScript-1.7.3-py2.4.egg/paste/script/command.py", line 218, in run result = self.command() File "/opt/galaxy-central/eggs/PasteScript-1.7.3-py2.4.egg/paste/script/serve.py", line 303, in command serve() File "/opt/galaxy-central/eggs/PasteScript-1.7.3-py2.4.egg/paste/script/serve.py", line 287, in serve server(app) File "/opt/galaxy-central/eggs/PasteDeploy-1.3.3-py2.4.egg/paste/deploy/loadwsgi.py", line 150, in server_wrapper wsgi_app, context.global_conf, File "/opt/galaxy-central/eggs/PasteDeploy-1.3.3-py2.4.egg/paste/deploy/util/fixtypeerror.py", line 57, in fix_call val = callable(*args, **kw) File "/opt/galaxy-central/eggs/Paste-1.6-py2.4.egg/paste/httpserver.py", line 1314, in server_runner serve(wsgi_app, **kwargs) File "/opt/galaxy-central/eggs/Paste-1.6-py2.4.egg/paste/httpserver.py", line 1264, in serve threadpool_options=threadpool_options) File "/opt/galaxy-central/eggs/Paste-1.6-py2.4.egg/paste/httpserver.py", line 1114, in __init__ RequestHandlerClass, ssl_context) File "/opt/galaxy-central/eggs/Paste-1.6-py2.4.egg/paste/httpserver.py", line 1094, in __init__ RequestHandlerClass, ssl_context) File "/opt/galaxy-central/eggs/Paste-1.6-py2.4.egg/paste/httpserver.py", line 328, in __init__ HTTPServer.__init__(self, server_address, RequestHandlerClass) File "/usr/lib64/python2.4/SocketServer.py", line 330, in __init__ self.server_bind() File "/usr/lib64/python2.4/BaseHTTPServer.py", line 101, in server_bind SocketServer.TCPServer.server_bind(self) File "/usr/lib64/python2.4/SocketServer.py", line 341, in server_bind self.socket.bind(self.server_address) File "<string>", line 1, in bind socket.error: (98, 'Address already in use') galaxy.jobs INFO 2011-06-28 14:51:49,108 sending stop signal to worker thread galaxy.jobs INFO 2011-06-28 14:51:49,109 job queue stopped galaxy.jobs.runners.local INFO 2011-06-28 14:51:49,109 sending stop signal to worker threads galaxy.jobs.runners.local INFO 2011-06-28 14:51:49,109 local job runner stopped galaxy.jobs INFO 2011-06-28 14:51:49,109 sending stop signal to worker thread galaxy.jobs INFO 2011-06-28 14:51:49,109 job stopper stopped ANY IDEAS to restart galaxy ??? (i have a normal install with no custom stuffs). thank you Colin
Hi Colin
I launched a big job on my local galaxy server (for which I am admin). The job was to put local dir in the datalist. It took too long and i wanted to stop it .... but how?? i failed to find a solution.
go to the admin view -> 'Manage jobs' and there you can kill individual jobs.
To stop the job i thought that stopping the galaxy running instance could make it. (AM I RIGHT?)
possible, but sounds like an 'overkill' to me. I would first try the 'soft' method described above....and use this only as a last resort.
Unfortunately, i failed to restart galaxy. I have the following error:
are you sure you have killed the galaxy process? Since this part of the error message tells me that Galaxy (or another service) is still using the port number.
socket.error: (98, 'Address already in use')
How did you stop galaxy? Regards, Hans
participants (2)
-
colin
-
Hans-Rudolf Hotz