/usr/sbin/lsof -i :8000

That should tell you which process is using the port.

Mark

-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Mark Milke
Sent: 02 April 2012 11:56
To: [email protected]
Subject: Re: How to release an occupied TCP Port?

I killed everything with java according to your instructions, but the pluginsrv 
stays alive as it's being restarte by the armonitor I guess.
Still something is lstening on that port 8000... Crazy!

On Apr 2, 12:40 pm, Danny Kellett
<[email protected]> wrote:
> Hi,
>
> I would have expected it to show you the process that was listening so 
> you could kill it.
>
> e.g.
>
> tcp        0      0 0.0.0.0:80              0.0.0.0:*               
> LISTEN
> 1607/apache2
>
> Do this:
>
> ps-ef | grep java
>
> then kill -9 the first PID number, one by one until there isn't 
> anything listening on 8000
>
> regards
> Danny
>
>
>
>
>
>
>
> -----Original Message-----
> From: Action Request System discussion list(ARSList)
>
> [mailto:[email protected]] On Behalf Of Mark Milke
> Sent: 02 April 2012 11:18
> To: [email protected]
> Subject: Re: How to release an occupied TCP Port?
>
> Thanks for your replay Danny. It says tcp 0 0 :::8000 :::* LISTEN - 
> What does this tell me? How do I stop this zombie from using this port?
>
> Thanks
> Mark
>
> On Apr 2, 12:06 pm, Danny Kellett
> <[email protected]> wrote:
> > Hi,
>
> > Try netstat -tulpn
>
> > Regards
> > Danny
>
> > -----Original Message-----
> > From: Action Request System discussion list(ARSList)
>
> > [mailto:[email protected]] On Behalf Of Mark Milke
> > Sent: 02 April 2012 10:22
> > To: [email protected]
> > Subject: [Mid Tier] How to release an occupied TCP Port?
>
> > Hello there,
>
> > I'm using a Linux RedHat Server. I had Tomcat 5 running Mid tier 7.5 
> > on port
> > 8000 of the local machine. We've upgraded to 7.6.4 and want to keep 
> > the Mid tier on port 8000, however since the installer recommended 
> > an upgrade to Tomcat 6 the installer couldn't install Mid tier on 
> > port 8000, because the port was occupied. So we let him use to port 8080.
> > and the installation was successful.
>
> > Afterwards we've removed all Tomcat 5 rpm packages, but the port 
> > 8000 is still occupied. netstat -tan|grep :800 says:
>
> > tcp 0 0 :::8000 :::* LISTEN
>
> > How to figure out who is using the port and how to get rid of him?
>
> > Thanks
> > Mark
>
> > ____________________________________________________________________
> > __ _____ _ ___ UNSUBSCRIBE or access ARSlist Archives 
> > atwww.arslist.orgattendwwrug12www.wwrug12.comARSList:"Where the 
> > Answers
> Are"
>
> > ____________________________________________________________________
> > __ _____ ____ UNSUBSCRIBE or access ARSlist Archives 
> > atwww.arslist.org attend wwrug12www.wwrug12.comARSList:"Where the 
> > Answers Are"
>
> ______________________________________________________________________
> _____ _ ___ UNSUBSCRIBE or access ARSlist Archives 
> atwww.arslist.orgattend wwrug12www.wwrug12.comARSList: "Where the Answers Are"
>
> ______________________________________________________________________
> _____ ____ UNSUBSCRIBE or access ARSlist Archives atwww.arslist.org 
> attend wwrug12www.wwrug12.comARSList: "Where the Answers Are"

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 
www.wwrug12.com ARSList: "Where the Answers Are"

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"

Reply via email to