Your suggestion is very important for us. You are right, there is other
instance of Galaxy to use the socket. I found the ps and kill them, but they
are still there, then I using screen -wipe to remove it (I use screen to run
the galaxy). It works. Is there any possibly for Galaxy to auto release the
previous port and reuse it in the future version?
Have a nice weekend!
On Fri, Apr 1, 2011 at 10:37 AM, Nate Coraor <nate(a)bx.psu.edu> wrote:
Yan Luo wrote:
> Dear Nate,
> I can't start my galaxy and got the following information, could you
> let me know how we can fix it as soon as possible? We were running the
> system, it was down last night suddenly. Hope we can fix it today.
> line 151, in server_wrapper
> File "/usr/lib/python2.6/SocketServer.py", line 411, in server_bind
> File "<string>", line 1, in bind
> socket.error: [Errno 98] Address already in use
Something (possibly another instance of Galaxy) is already listening on
the port you are trying to start Galaxy on. You can determine what that
process is with 'lsof -i :<PORT>' where <PORT> is the port number
connect to Galaxy on. You may need to use sudo for this to succeed.
Assuming it's another Galaxy instance, you can probably find it with 'ps
auxwww | grep universe' and then kill that process.
> Looking forward to hearing from you.
> Best Wishes,