• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Port assignments to WO apps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Port assignments to WO apps


  • Subject: Re: Port assignments to WO apps
  • From: Sacha Mallais <email@hidden>
  • Date: Tue, 16 Aug 2005 10:50:18 -0700

On Aug 16, 2005, at 3:03 AM, Wolfram Stebel wrote:

Am 16.08.2005 1:00 Uhr schrieb "Sacha Mallais" unter
<email@hidden>:

I want to kill a rogue instance that is running outside of
WoMonitor control, but I cannot tell which pid it is.

Any suggestions (besides restarting the XServe which is what I want
to avoid right now)?

lsof -i tcp:<port #> will list all open files on that port. Look at the last column ("NAME") for a line that includes an asterisk and a colon, similar to this:

COMMAND  PID      USER   FD   TYPE     DEVICE SIZE/OFF NODE NAME
java    4119 appserver    5u  IPv6 0x047970e0      0t0  TCP *:dc
(CLOSE_WAIT)

And there's your PID... Note that you'll need to be root.

Fine tip. But i'm root and it does not show anything for my application ports. I can grep for the application name in lsof and it finds the apps, but filtering to the Port does not work. What's wrong?

Grepping is OK for me anyway.

I can only guess that you're not using the correct port number. If you're sure that you're using the correct port number, then you might need to re-install OS X. I had a client who experienced a similar problem, and re-installing was the only thing that fixed it.



sacha


-- Sacha Michel Mallais - Big Kahuna Global Village Consulting Inc.: http://www.global-village.net/ Blessed is the WO-geek, for he shall inherit from NSEarth (Jobs 3:14)


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • AW: Port assignments to WO apps
      • From: Helge Staedtler <email@hidden>
  • Prev by Date: Re: to dispose() or not to dispose()?
  • Next by Date: Mimer SQL Engine on Mac OS X with WO support
  • Previous by thread: Re: Port assignments to WO apps
  • Next by thread: AW: Port assignments to WO apps
  • Index(es):
    • Date
    • Thread