Port Problem

Ben Pfaff pfaffben@msu.edu
06 Jul 2000 12:36:43 -0400


"Michael Malinak" <malinakm@crushedice.com> writes:

> Ok so MySQL crashed on my server and now when I try to start it again it
> says the port is in use.  Is there any way of clearing the port?  I know
> rebooting would work, but who want's to trash a 52 day uptime.

Is the port actually in use?  You can find out with `fuser -n tcp
<port-number>'.  If so, kill the process that's using it.

Otherwise, wait a few minutes, then try again.  The TIME_WAIT
state will go away.  It's necessary in order to avoid race
conditions.
-- 
"Let others praise ancient times; I am glad I was born in these."
--Ovid (43 BC-18 AD)