Port Problem

Michael Malinak malinakm@crushedice.com
Thu, 6 Jul 2000 12:40:45 -0400


Wow that was strange, doing a 'ps x' didn't list the process, but fuser did.
I had already killed it with a -9 but it didn't take.
It worked thanks!
Michael
----- Original Message -----
From: "Ben Pfaff" <pfaffben@msu.edu>
To: "Michael Malinak" <malinakm@crushedice.com>
Cc: <linux-user@egr.msu.edu>
Sent: Thursday, July 06, 2000 12:36 PM
Subject: Re: Port Problem


> "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)
>