<?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 problem in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257091#M56785</link>
    <description>Or even better : DEFINE /SYSTEM/EXEC TCPIP$FTP_KEEPALIVE 1&lt;BR /&gt;(this is for the client, in your case the vms ftp).&lt;BR /&gt;&lt;BR /&gt;Here I read that TCP default are not honoured.&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/83final/6526/6526pro_041.html#ftp_logicals_sec" target="_blank"&gt;http://h71000.www7.hp.com/doc/83final/6526/6526pro_041.html#ftp_logicals_sec&lt;/A&gt; They use a default timeout of 15 instead. Don't know if that doc is correct.&lt;BR /&gt;&lt;BR /&gt;Just love this open stuff where any programmer can do what he likes.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
    <pubDate>Tue, 26 Aug 2008 10:32:07 GMT</pubDate>
    <dc:creator>Wim Van den Wyngaert</dc:creator>
    <dc:date>2008-08-26T10:32:07Z</dc:date>
    <item>
      <title>FTP problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257081#M56775</link>
      <description>We are encountering a problem with ftp, when you ftp from a VMS host to another host, but cannot connect, the job does not abort. It tries to connect and holds up the STATUS$BATCH queue until the job is deleted. &lt;BR /&gt;&lt;BR /&gt;Has anyone encountered this before?</description>
      <pubDate>Mon, 25 Aug 2008 07:10:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257081#M56775</guid>
      <dc:creator>ianvt</dc:creator>
      <dc:date>2008-08-25T07:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: FTP problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257082#M56776</link>
      <description>If a TCP connection cannot be established within a period of time, TCP will time out the connection attempt. The default timeout value for this initial connection establishment is 75 seconds. The TCP_KEEPINIT option specifies the number of seconds to wait before the connection attempt times out. For passive connections, the TCP_KEEPINIT option value is inherited from the listening socket. The value of TCP_KEEPINIT is an integer between 1 and n, where n is the value for the systemwide parameter tcp_keepinit . The default value of the systemwide parameter tcp_keepinit , specified in half-second units, is 150 (75 seconds). &lt;BR /&gt;To display the values of the systemwide parameters, enter the following command at the system prompt: &lt;BR /&gt;&lt;BR /&gt;$ sysconfig -q inet &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Is the setting way too high on your site ?&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Mon, 25 Aug 2008 07:34:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257082#M56776</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-08-25T07:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: FTP problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257083#M56777</link>
      <description>BTW : we have it on 40 (* 0.5 seconds).&lt;BR /&gt;Tested it and ftp stops indeed after 22 seconds (to a node that is down).&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Mon, 25 Aug 2008 07:45:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257083#M56777</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-08-25T07:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: FTP problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257084#M56778</link>
      <description>Hi Wim&lt;BR /&gt;&lt;BR /&gt;The TCP_KEEPINIT value is 150. Attached is the output of $sysconfig -q inet.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Ian</description>
      <pubDate>Mon, 25 Aug 2008 12:04:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257084#M56778</guid>
      <dc:creator>ianvt</dc:creator>
      <dc:date>2008-08-25T12:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: FTP problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257085#M56779</link>
      <description>And how long is ftp in "hang" ? And what kind of problem did you have / was the remote node up ?&lt;BR /&gt;&lt;BR /&gt;You can try a tcptrace to find out if what it was doing. &lt;BR /&gt;&lt;BR /&gt;Could you post sys$specific:[tcpip]sysconfigtab.dat to see what was changed compared with the d4efaults ?&lt;BR /&gt;&lt;BR /&gt;VMS / TCP version ?&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Mon, 25 Aug 2008 12:28:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257085#M56779</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-08-25T12:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: FTP problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257086#M56780</link>
      <description>There's not enough detail here for a particular response (eg: IP stack and stack version, OpenVMS version and platform, and a small demonstration or reproducer with the commands could all be useful here); this could easily be some timers or some firewall or such.  &lt;BR /&gt;&lt;BR /&gt;As for an alternative guess, this could (also) be an attempt to script an ftp transfer here rather than using the DCL command COPY /FTP (and this command assuming the box is running V6.2 or later with a compatible IP stack), and that there's some sort of a DCL coding error here.  There are various ways to get an ftp transfer job to hang, and timers are just one possibility. &lt;BR /&gt;&lt;BR /&gt;Then there's that ftp is a protocol-level problem and a security problem and a firewall problem, but that's fodder for another discussion.  sftp is my preferred choice for use on an open network...&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Aug 2008 17:43:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257086#M56780</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2008-08-25T17:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: FTP problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257087#M56781</link>
      <description>Here is some more info: &lt;BR /&gt;The ftp "hangs" until aborted. The problem with the remote host is unknown.&lt;BR /&gt;&lt;BR /&gt;HP TCP/IP Services for OpenVMS Alpha Version V5.4 on a hp AlphaServer GS1280 7/1150 running OpenVMS V7.3-2.&lt;BR /&gt;&lt;BR /&gt;type sys$specific:[tcpip]sysconfigtab.dat gives error:&lt;BR /&gt;%TYPE-W-SEARCHFAIL, error searching for SYS$SPECIFIC:[TCPIP]SYSCONFIGTAB.DAT;&lt;BR /&gt;-RMS-E-DNF, directory not found&lt;BR /&gt;-SYSTEM-W-NOSUCHFILE, no such file&lt;BR /&gt;&lt;BR /&gt;Example of the script:&lt;BR /&gt;$ ON ERROR THEN GOTO ERROR&lt;BR /&gt;$ @ACK$PROC:NAT-BATCH-SETUP&lt;BR /&gt;$ FTP XXX.XX.XX.XX /USER=XXXXXX/PASSWORD="XXXXXXX"&lt;BR /&gt;  EXIT&lt;BR /&gt;$ @ACK$PROC:NAT-CHECK-STATUS $STATUS SELF&lt;BR /&gt;$ IF STATUS .NES. "0" THEN GOTO ERROR&lt;BR /&gt;$ @ACK$PROC:NAT-JOB-END NONE&lt;BR /&gt;$ @ACK$PROC:CHANGE-JOB-STATUS LOG461U P AXP2READY&lt;BR /&gt;$ @ACK$PROC:CHANGE-JOB-STATUS LOG461C P AXP3READY&lt;BR /&gt;$ EXIT&lt;BR /&gt;$ERROR:&lt;BR /&gt;$ @ACK$PROC:NAT-JOB-ABORT&lt;BR /&gt;$ @ACK$PROC:CHANGE-JOB-STATUS LOG461C P AXP3READY</description>
      <pubDate>Tue, 26 Aug 2008 09:54:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257087#M56781</guid>
      <dc:creator>ianvt</dc:creator>
      <dc:date>2008-08-26T09:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: FTP problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257088#M56782</link>
      <description>Sorry it's SYS$SPECIFIC:[TCPIP$etc]SYSCONFIGTAB.DAT;&lt;BR /&gt;&lt;BR /&gt;Wim&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Aug 2008 10:04:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257088#M56782</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-08-26T10:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: FTP problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257089#M56783</link>
      <description>And what's the other side of the connection (HW, version OS) ? Any firewalls ?&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 26 Aug 2008 10:07:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257089#M56783</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-08-26T10:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: FTP problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257090#M56784</link>
      <description>Have you got&lt;BR /&gt;DEFINE /SYSTEM/EXEC TCPIP$FTPD_KEEPALIVE 1&lt;BR /&gt;&lt;BR /&gt;I just tested after doing ucx set servi /sock=keep. That's accepted but doesn't work. But the logical works.&lt;BR /&gt;Have the impression that keepalive for the initial connection always works. And I guess too that your remote site answered but the connection was lost. And without the logical it hangs forever. Note that with the logical you still have to wait a very long time before it aborts.&lt;BR /&gt;&lt;BR /&gt;This is the contents of my config to avooid this long timeout.&lt;BR /&gt;&lt;BR /&gt;inet:&lt;BR /&gt;# detect broken connection after 5 minutes instead of 2 hours&lt;BR /&gt;        tcp_keepcnt=5&lt;BR /&gt;        tcp_keepidle=120&lt;BR /&gt;        tcp_keepintvl=120&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 26 Aug 2008 10:26:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257090#M56784</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-08-26T10:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: FTP problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257091#M56785</link>
      <description>Or even better : DEFINE /SYSTEM/EXEC TCPIP$FTP_KEEPALIVE 1&lt;BR /&gt;(this is for the client, in your case the vms ftp).&lt;BR /&gt;&lt;BR /&gt;Here I read that TCP default are not honoured.&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/83final/6526/6526pro_041.html#ftp_logicals_sec" target="_blank"&gt;http://h71000.www7.hp.com/doc/83final/6526/6526pro_041.html#ftp_logicals_sec&lt;/A&gt; They use a default timeout of 15 instead. Don't know if that doc is correct.&lt;BR /&gt;&lt;BR /&gt;Just love this open stuff where any programmer can do what he likes.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 26 Aug 2008 10:32:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257091#M56785</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-08-26T10:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: FTP problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257092#M56786</link>
      <description>sys$specific:[tcpip$etc]sysconfigtab.dat contains:&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# TCP/IP Services for OpenVMS V5.1&lt;BR /&gt;#    sysconfig parameter file&lt;BR /&gt;#&lt;BR /&gt;nfs:&lt;BR /&gt;        tcp_threads=8&lt;BR /&gt;        udp_threads=8&lt;BR /&gt;&lt;BR /&gt;vfs:&lt;BR /&gt;        vnode_age=120&lt;BR /&gt;&lt;BR /&gt;The remote node OS is Windows, not sure about firewall.&lt;BR /&gt;Attached are the TCPIP logicals defined on the system.</description>
      <pubDate>Wed, 27 Aug 2008 06:01:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257092#M56786</guid>
      <dc:creator>ianvt</dc:creator>
      <dc:date>2008-08-27T06:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: FTP problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257093#M56787</link>
      <description>I wonder why they put the version in the config file ...&lt;BR /&gt;&lt;BR /&gt;I would go for enabling keepalive as in my last post. The keepalive logical and the config file settings (apply them in the file and restart tcp) or do&lt;BR /&gt;sysconfig -r inet tcp_keepcnt=5 &lt;BR /&gt;etc.&lt;BR /&gt;&lt;BR /&gt;But then restart ftp service (disable + stop/id *ftp* + enable). &lt;BR /&gt;&lt;BR /&gt;It's not clear which parameters are used by the ftp client. I suspect the config file settings.&lt;BR /&gt;&lt;BR /&gt;I would also take a trace of the ftp session to diagnose the hang.&lt;BR /&gt;&lt;BR /&gt;$ tcptrace /pack=10000/prot=tcp/fu/out=x.lis dest_node &lt;BR /&gt;and post that.&lt;BR /&gt;&lt;BR /&gt;Wim&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Aug 2008 08:06:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257093#M56787</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-08-27T08:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: FTP problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257094#M56788</link>
      <description>And add /port=21 to the tcptrace if you have other traffic to that node.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Wed, 27 Aug 2008 08:09:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257094#M56788</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-08-27T08:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: FTP problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257095#M56789</link>
      <description>&amp;gt; The remote node OS is Windows&lt;BR /&gt;&lt;BR /&gt;What Windows: desktop, server, version?&lt;BR /&gt;&lt;BR /&gt;AFAIK, the average desktop windows only has an FTP client, not a server. FTP TO such a machine will fail. I don't know wether it will actually hang of stop immediately.&lt;BR /&gt;There may be a FTP server instaleld - I know that IIS as delivered with older Windows evrsions, includes a FTP server.&lt;BR /&gt;&lt;BR /&gt;If it's a Windows Server box, check if FTP is enabled and actually reacting.&lt;BR /&gt;&lt;BR /&gt;It may be possible that the VMS box does connect to the FTP server, but the returning traffic does not arrive, due to bad routing or a firewall blocking the traffic. I've seen both. &lt;BR /&gt;&lt;BR /&gt;Are you running passive mode? &lt;BR /&gt;&lt;BR /&gt;I'm not sure on this, but I kind of remember that 2 ports are involved in FTP: 20 and 21. It may be something to look into as well&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Aug 2008 08:56:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257095#M56789</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2008-08-28T08:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: FTP problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257096#M56790</link>
      <description>I've got more info: I'm not sure what version of windows the remote node is, but it is connecting via a WAN connection some 1300km away. You can FTP from the command line to the remote node from a windows or VMS client. &lt;BR /&gt;The script runs every 2 hours and does not "hang" every time. It seems to me that  it might be a bad WAN line. The keepalive logical and config file settings will be changed later today. And then we will have to wait and see if the problem still occurs.&lt;BR /&gt;&lt;BR /&gt;Thanks for the help so far. Ian</description>
      <pubDate>Thu, 28 Aug 2008 09:47:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-problem/m-p/4257096#M56790</guid>
      <dc:creator>ianvt</dc:creator>
      <dc:date>2008-08-28T09:47:45Z</dc:date>
    </item>
  </channel>
</rss>

