SUMMARY: Kill a weblogic process holding a port open

From: Billy Talton <>
Date: Fri Nov 21 2003 - 11:41:41 EST
Many thanks to all that helped me with this issue.  A special thanks to
Sonny Baillargeon for pointing out that (once downloaded and installed)
lsof was indeed the tool I needed.  I just used [lsof -i TCP:port#] to
identify the process.  Thanks again for our support.


Billy Talton

-----Original Message-----
From: Billy Talton
Sent: Tuesday, November 18, 2003 6:27 PM
Subject: Kill a weblogic process holding a port open


I have a Weblogic process that refuses to release a port on my Solaris
server when it is stopped.  I know this because when I try to restart
the process it gives me an "Address in user" error.  I am relegated to
rebooting the box every time this occurs.  I'm not asking for advice on
the problematic Weblogic issue (that's for another authority) - what I'd
like to know is how I would go about identifying the process that is
holding the socket/port open. I'm fine with using the "kill -9 whatever"
to get rid of it but I can't figure out which process is controlling it.
I've used "netstat  -a| grep weblogic" and verified that it is still
open.  I've read about "lsof"... but the package apparently is not
available for download on Sun's Freeware site.  I'm using a Solaris e250
(SunOS 5.7) server, Weblogic 5.1 SP3.  Please advise.


Billy Talton
sunmanagers mailing list
Received on Fri Nov 21 11:47:42 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:24 EST