<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: FTP issue / FIN_WAIT_2 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-issue-fin-wait-2/m-p/2774555#M583965</link>
    <description>They may be right about not needing the patch.  It certainly won't keep ftp from working.  What the problem does is overload the HP with a bunch of connections stuck in FIN_WAIT_2 until eventually it crashes or refuses new connections.&lt;BR /&gt;&lt;BR /&gt;When I reread your problem I thought "firewall problem" but passive doesn't help and the FIN_WAIT_2 on port 20 proves that it was able to connect to you so it's not likely that it's the firewall.&lt;BR /&gt;&lt;BR /&gt;It looks like the problem might be in your machine.  Can you FTP to another machine on the network?  If so it might be a DNS or host file problem with the NT box. If not it may be a software issue.  Are your patches uptodate?  &lt;BR /&gt;&lt;BR /&gt;Is your own ftpd turned on?  Can you ftp to yourself and transfer files?&lt;BR /&gt;&lt;BR /&gt;Ron</description>
    <pubDate>Tue, 30 Jul 2002 15:26:53 GMT</pubDate>
    <dc:creator>Ron Kinner</dc:creator>
    <dc:date>2002-07-30T15:26:53Z</dc:date>
    <item>
      <title>FTP issue / FIN_WAIT_2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-issue-fin-wait-2/m-p/2774547#M583957</link>
      <description>Hi,&lt;BR /&gt;I've got a HP Workstation running HPUX 11 try to ftp files over a dial-on-demand ISDN line through a firewall to/from an NT 4.0 server.&lt;BR /&gt;&lt;BR /&gt;I'm getting problems like the following&lt;BR /&gt;&lt;BR /&gt;200 PORT command successful.&lt;BR /&gt;150 Opening ASCII mode data connection for testfile.txt(148155 bytes).&lt;BR /&gt;&lt;BR /&gt;(long wait in here before I eventually hit Ctrl+C)&lt;BR /&gt;&lt;BR /&gt;abort: Socket operation on non-socket&lt;BR /&gt;abort: Bad file number&lt;BR /&gt;421 Service not available, remote server has closed connection&lt;BR /&gt;421 Service not available, remote server has closed connection&lt;BR /&gt;&lt;BR /&gt;After the connection stops I then get the following listed from a netstat &lt;BR /&gt;&lt;BR /&gt;tcp        0      0  myhost.domain.49585 &lt;BR /&gt;                                            dest-nt-host.ftp-data         FIN_WAIT_2&lt;BR /&gt;&lt;BR /&gt;Anyone seen anything like this ? Its driving me up the wall .....&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Tom</description>
      <pubDate>Mon, 29 Jul 2002 11:06:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-issue-fin-wait-2/m-p/2774547#M583957</guid>
      <dc:creator>Tom Horan</dc:creator>
      <dc:date>2002-07-29T11:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: FTP issue / FIN_WAIT_2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-issue-fin-wait-2/m-p/2774548#M583958</link>
      <description>Hi Tom, looks like the ftpd&lt;BR /&gt;on the NT does't run properly or the ftp-data port (20) is blocked in the firewall.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Johan</description>
      <pubDate>Mon, 29 Jul 2002 11:42:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-issue-fin-wait-2/m-p/2774548#M583958</guid>
      <dc:creator>Johan Gjestvang</dc:creator>
      <dc:date>2002-07-29T11:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: FTP issue / FIN_WAIT_2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-issue-fin-wait-2/m-p/2774549#M583959</link>
      <description>Tom,&lt;BR /&gt;This won't help the ftp "abort: socket" messages but may help with the fin_wait issue.&lt;BR /&gt;&lt;BR /&gt;PHNE_19375 (now PHNE_26771) added a feature that can help clear up FIN_WAIT_2 issues.&lt;BR /&gt;&lt;BR /&gt;After this patch (or its supersede) has been installed you can run ndd to get the timeout:&lt;BR /&gt;# ndd -get /dev/tcp tcp_fin_wait_2_timeout&lt;BR /&gt;&lt;BR /&gt;If this is zero, it means that there is an infinite wait for the connection to be dropped.&lt;BR /&gt;&lt;BR /&gt;Set the timeout to a minute with:&lt;BR /&gt;# ndd -set /dev/tcp tcp_fin_wait_2_timeout 60000&lt;BR /&gt;&lt;BR /&gt;Cheryl&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Jul 2002 11:59:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-issue-fin-wait-2/m-p/2774549#M583959</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2002-07-29T11:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: FTP issue / FIN_WAIT_2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-issue-fin-wait-2/m-p/2774550#M583960</link>
      <description>DO you need to run in passive mode?</description>
      <pubDate>Tue, 30 Jul 2002 08:09:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-issue-fin-wait-2/m-p/2774550#M583960</guid>
      <dc:creator>Neil Dixon</dc:creator>
      <dc:date>2002-07-30T08:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: FTP issue / FIN_WAIT_2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-issue-fin-wait-2/m-p/2774551#M583961</link>
      <description>Johan,&lt;BR /&gt;I have my suspicions regarding the NT ftpd alright. As for ftp-data port, it is open, as some transfers will work.&lt;BR /&gt;&lt;BR /&gt;Neil,&lt;BR /&gt;Tried passive mode, same thing happens.&lt;BR /&gt;&lt;BR /&gt;Thanks guys.&lt;BR /&gt;&lt;BR /&gt;Tom</description>
      <pubDate>Tue, 30 Jul 2002 09:42:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-issue-fin-wait-2/m-p/2774551#M583961</guid>
      <dc:creator>Tom Horan</dc:creator>
      <dc:date>2002-07-30T09:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: FTP issue / FIN_WAIT_2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-issue-fin-wait-2/m-p/2774552#M583962</link>
      <description>Have you checked hostname resolution (forwards and backwards)? There are several references to this on the web, O'Reilly said "This type of problem may also be caused a failure to resolve the host addresses properly, especially if using Reverse Address Resolution Protocol (RARP). The simple answer to this is to list all relevant host names and IP addresses in the /etc/hosts files on each machine."</description>
      <pubDate>Tue, 30 Jul 2002 10:31:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-issue-fin-wait-2/m-p/2774552#M583962</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2002-07-30T10:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: FTP issue / FIN_WAIT_2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-issue-fin-wait-2/m-p/2774553#M583963</link>
      <description>There is a patch from microsoft for tcpip.sys which stops the Fin_Wait_2 problem.&lt;BR /&gt;&lt;BR /&gt;It hasn't been released so you have to beg microsoft for it.&lt;BR /&gt;&lt;BR /&gt; &lt;A href="http://support.microsoft.com/support/kb/articles/Q254/9/30.ASP" target="_blank"&gt;http://support.microsoft.com/support/kb/articles/Q254/9/30.ASP&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;LAST_ACK is what you see on the other end when your end says FIN_WAIT_2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I put the patch on my website:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.geocities.com/heartland/9670/" target="_blank"&gt;http://www.geocities.com/heartland/9670/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Look down at the bottom of the page for tcpip patch.&lt;BR /&gt;&lt;BR /&gt;Ron</description>
      <pubDate>Tue, 30 Jul 2002 13:19:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-issue-fin-wait-2/m-p/2774553#M583963</guid>
      <dc:creator>Ron Kinner</dc:creator>
      <dc:date>2002-07-30T13:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: FTP issue / FIN_WAIT_2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-issue-fin-wait-2/m-p/2774554#M583964</link>
      <description>Cheers for the reply Ron,&lt;BR /&gt;I came up with that solution myself alright, unfortunatley the NT side is not under my control and they insist that they do not need that patch, and they are not seeing any equivelant problems as described in the Technet article.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Tom</description>
      <pubDate>Tue, 30 Jul 2002 14:54:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-issue-fin-wait-2/m-p/2774554#M583964</guid>
      <dc:creator>Tom Horan</dc:creator>
      <dc:date>2002-07-30T14:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: FTP issue / FIN_WAIT_2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-issue-fin-wait-2/m-p/2774555#M583965</link>
      <description>They may be right about not needing the patch.  It certainly won't keep ftp from working.  What the problem does is overload the HP with a bunch of connections stuck in FIN_WAIT_2 until eventually it crashes or refuses new connections.&lt;BR /&gt;&lt;BR /&gt;When I reread your problem I thought "firewall problem" but passive doesn't help and the FIN_WAIT_2 on port 20 proves that it was able to connect to you so it's not likely that it's the firewall.&lt;BR /&gt;&lt;BR /&gt;It looks like the problem might be in your machine.  Can you FTP to another machine on the network?  If so it might be a DNS or host file problem with the NT box. If not it may be a software issue.  Are your patches uptodate?  &lt;BR /&gt;&lt;BR /&gt;Is your own ftpd turned on?  Can you ftp to yourself and transfer files?&lt;BR /&gt;&lt;BR /&gt;Ron</description>
      <pubDate>Tue, 30 Jul 2002 15:26:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-issue-fin-wait-2/m-p/2774555#M583965</guid>
      <dc:creator>Ron Kinner</dc:creator>
      <dc:date>2002-07-30T15:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: FTP issue / FIN_WAIT_2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-issue-fin-wait-2/m-p/2774556#M583966</link>
      <description>i would suggest getting a copy of tcpdump onto the HP-UX box and tracing the packets between you and the NT box. start this before the FTP is started and see what happens.&lt;BR /&gt;&lt;BR /&gt;FIN_WAIT_2 means we've sent a FIN, and it has been ACKed and we are waiting for a FIN from the remote. if the remote is poorly behaved, it might send a RST instead of a FIN and that may be lost and we will stay in FIN_WAIT_2.&lt;BR /&gt;&lt;BR /&gt;however, the arbitrary fin_wait_timeout (or whatever it is called) should not be necessary. after tcp_keepalive_detached_interval (ndd) the HP stack will start sending keepalive probes. if those probes are not answered within tcp_ip_abort_interval the FIN_WAIT_2 endpoint will be terminated.&lt;BR /&gt;&lt;BR /&gt;if there is a firewall that is still responding to the keepalives after the remote is toast, the firewall is broken and needs to be fixed.</description>
      <pubDate>Tue, 30 Jul 2002 16:58:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-issue-fin-wait-2/m-p/2774556#M583966</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2002-07-30T16:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: FTP issue / FIN_WAIT_2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-issue-fin-wait-2/m-p/2774557#M583967</link>
      <description>Ron,&lt;BR /&gt;Thanks for the reply.&lt;BR /&gt;&lt;BR /&gt;I can ftp around internally fine - ie, between 'myhost' and a second internal host. FTP'ing to and from the host work fine, I've tried this with few large files and with many small files, no problems.&lt;BR /&gt;&lt;BR /&gt;Now, my machine is quite out of date, its an old workstation and there is barely any room on it, so the chances of getting a patch bundle onto it are slim.&lt;BR /&gt;&lt;BR /&gt;I'm in the process of getting a spare D class, up to date with patch bundles, moved into my DMZ area to swap with the workstation to try and rule out the HP side of things.&lt;BR /&gt;&lt;BR /&gt;I'll let you know how I get on with this.&lt;BR /&gt;&lt;BR /&gt;Rick,&lt;BR /&gt;Thanks for the reply, I'll save using the tcpdump for a few days (sound complicated !! ;) )but I'll keep it in mind.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Tom</description>
      <pubDate>Wed, 31 Jul 2002 10:19:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-issue-fin-wait-2/m-p/2774557#M583967</guid>
      <dc:creator>Tom Horan</dc:creator>
      <dc:date>2002-07-31T10:19:30Z</dc:date>
    </item>
  </channel>
</rss>

