SUMMARY: Freeing a Port on Solaris.

From: Murtuza Bekhushi <Murtuza_Bekhushi_at_infy.com>
Date: Thu May 02 2002 - 06:20:58 EDT
	Hi,
		lsof is the solution to this.  I downloaded lsof from
www.sunfreeware.com,  did the make of lsof and ran the following
command,

lsof -i:9030

	This give me the PID of the process which was holding the port.

Thanks to Following people for getting me the way to solution :

Stuart Whitby, Rahul Parasnis, Dan Lowe, Osama Ahmed, Joe Matusiewicz,
Benjamin Ritcey, Dana, Andrew Rotramel, Martynas Buozis, Ramiro Santos,
Douglas Palmer, John England, Hendrik Visage,  Ed Rolison.

		-----Original Message-----
		From: Murtuza Bekhushi
		Sent: Tuesday, April 30, 2002 7:17 PM
		To: sunmanagers@sunmanagers.org
		Subject: Freeing a Port on Solaris.

		Hi all,
			I had some service brought up on a particular
port.   Now the process which brought up the services has gone defunct.
I am unable to find process id which has still held this port.  The
output of "netstat -a |grep 9030" is

		*.9030               *.*                0      0     0
0 LISTEN

			How can I make this port free ?
			I am using "SunOS 5.6 Generic_105181-23 sun4u
sparc SUNW,Ultra-80"

			Pls. help.

		Regards,
		Murtuza.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu May 2 07:01:47 2002

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