9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Akshat Kumar <akumar@mail.nanosouffle.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] TCP port hung up
Date: Wed, 11 Aug 2010 18:34:46 -0700	[thread overview]
Message-ID: <AANLkTi=+ZPqBpGQizvcnxJ5VyH-x8vywkn05wzaj1Vhr@mail.gmail.com> (raw)

I halted aquarela(1) with a ^D sequence, and made sure
all processes were gone. ps(1) lists no processes on
the server that could possibly be using port 445 (the
port aquarela listens on for the CIFS service). And yet,
netstat -n showed that TCP port 445 was still in LISTEN
state. Naturally, I ran

echo hangup > /net/tcp/31/ctl

to relinquish the port. Now it's in CLOSED state:

tcp  31   bootes     Closed       445        0          ::

but the port is still unusable (pre-occupied - aquarela(1)
is not able to open it). Short of rebooting the CPU server,
is there some way to regain port 445?

Quite the annoying bug...


Thanks,
ak



             reply	other threads:[~2010-08-12  1:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-12  1:34 Akshat Kumar [this message]
2010-08-12 12:12 ` cinap_lenrek
2010-08-12 20:34   ` Akshat Kumar
2010-08-12 20:35     ` Akshat Kumar
2010-08-14 19:22     ` Yaroslav

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=+ZPqBpGQizvcnxJ5VyH-x8vywkn05wzaj1Vhr@mail.gmail.com' \
    --to=akumar@mail.nanosouffle.net \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).