<?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: Openvms FTP Server Log File in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/openvms-ftp-server-log-file/m-p/4779763#M60641</link>
    <description>&lt;!--!*#--&gt;&amp;gt; The problem is [...]&lt;BR /&gt;&lt;BR /&gt;Hmmm.  Now that you stir the old memories,&lt;BR /&gt;this sounds familiar.  Everything's&lt;BR /&gt;complicated.  (Especially with lame&lt;BR /&gt;software.)</description>
    <pubDate>Thu, 21 Apr 2011 11:06:46 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2011-04-21T11:06:46Z</dc:date>
    <item>
      <title>Openvms FTP Server Log File</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-ftp-server-log-file/m-p/4779750#M60628</link>
      <description>Is there a way to controll, limit  or configure&lt;BR /&gt;the log file size of the ftp server in Openvms?</description>
      <pubDate>Wed, 20 Apr 2011 13:07:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-ftp-server-log-file/m-p/4779750#M60628</guid>
      <dc:creator>Imker</dc:creator>
      <dc:date>2011-04-20T13:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: Openvms FTP Server Log File</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-ftp-server-log-file/m-p/4779751#M60629</link>
      <description>probably.&lt;BR /&gt;&lt;BR /&gt;What version of OpenVMS and which version of what TCPIP Product are you using?</description>
      <pubDate>Wed, 20 Apr 2011 13:10:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-ftp-server-log-file/m-p/4779751#M60629</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2011-04-20T13:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Openvms FTP Server Log File</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-ftp-server-log-file/m-p/4779752#M60630</link>
      <description>&amp;gt;Is there a way to controll, limit or configure&lt;BR /&gt;the log file size of the ftp server in Openvms?&lt;BR /&gt;&lt;BR /&gt;Yes.</description>
      <pubDate>Wed, 20 Apr 2011 13:36:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-ftp-server-log-file/m-p/4779752#M60630</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2011-04-20T13:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Openvms FTP Server Log File</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-ftp-server-log-file/m-p/4779753#M60631</link>
      <description>thanks.&lt;BR /&gt;&lt;BR /&gt;OpenVMS V8.3-1H1&lt;BR /&gt;&lt;BR /&gt;$ ! Product:        HP TCP/IP Services for OpenVMS&lt;BR /&gt;$ ! Version:        V5.6-ECO3&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Apr 2011 14:00:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-ftp-server-log-file/m-p/4779753#M60631</guid>
      <dc:creator>Imker</dc:creator>
      <dc:date>2011-04-20T14:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Openvms FTP Server Log File</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-ftp-server-log-file/m-p/4779754#M60632</link>
      <description>Yes is part of the answer I hoped for. Please provide some hints on how to achieve such a configuration.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Wed, 20 Apr 2011 14:06:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-ftp-server-log-file/m-p/4779754#M60632</guid>
      <dc:creator>Imker</dc:creator>
      <dc:date>2011-04-20T14:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Openvms FTP Server Log File</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-ftp-server-log-file/m-p/4779755#M60633</link>
      <description>&lt;!--!*#--&gt;What would you like to happen when the log&lt;BR /&gt;file gets too big?  Stop logging?  (Then why&lt;BR /&gt;have a log file?)&lt;BR /&gt;&lt;BR /&gt;It should be pretty easy to rename+compress&lt;BR /&gt;the log file periodically (or periodically&lt;BR /&gt;check it to see if it's too big, and then&lt;BR /&gt;rename+compress it).  Sufficiently old&lt;BR /&gt;(partial) log files can also be deleted&lt;BR /&gt;(where the exact meaning of "sufficiently&lt;BR /&gt;old" is your decision).&lt;BR /&gt;&lt;BR /&gt;Do you get a new log file version if you&lt;BR /&gt;disable+enable the FTP service?&lt;BR /&gt;&lt;BR /&gt;Is there some actual problem which you are&lt;BR /&gt;trying to solve?</description>
      <pubDate>Wed, 20 Apr 2011 14:12:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-ftp-server-log-file/m-p/4779755#M60633</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-04-20T14:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Openvms FTP Server Log File</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-ftp-server-log-file/m-p/4779756#M60634</link>
      <description>there should be a roll over configuration or something like that.&lt;BR /&gt;&lt;BR /&gt;The problem now is that the log file (one single big file) grows large and larger (beyond gigabytes of data).&lt;BR /&gt;&lt;BR /&gt;it should not stop logging, but at least it should splitt the files... on a date or size rollover. the way it is now, the large file is to big to be of any use.</description>
      <pubDate>Wed, 20 Apr 2011 14:16:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-ftp-server-log-file/m-p/4779756#M60634</guid>
      <dc:creator>Imker</dc:creator>
      <dc:date>2011-04-20T14:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Openvms FTP Server Log File</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-ftp-server-log-file/m-p/4779757#M60635</link>
      <description>&lt;!--!*#--&gt;&amp;gt; Do you get a new log file version if you&lt;BR /&gt;&amp;gt; disable+enable the FTP service?&lt;BR /&gt;&lt;BR /&gt;Ok.  If you won't try it, then I suppose that&lt;BR /&gt;I'll need to.&lt;BR /&gt;&lt;BR /&gt;alp $ dg ftplog&lt;BR /&gt;&lt;BR /&gt;Directory SYS$SYSDEVICE:[TCPIP$FTP]&lt;BR /&gt;&lt;BR /&gt;TCPIP$FTP_RUN.LOG;2572&lt;BR /&gt;                          115   6-APR-2011 00:13:41.70  (RWED,RWED,RE,)&lt;BR /&gt;TCPIP$FTP_RUN.LOG;2571&lt;BR /&gt;                            1   6-APR-2011 00:09:43.25  (RWED,RWED,RE,)&lt;BR /&gt;[...]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ALP $ tcpip disable service ftp&lt;BR /&gt;ALP $ tcpip enable service ftp&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;alp $ dg ftplog&lt;BR /&gt;&lt;BR /&gt;Directory SYS$SYSDEVICE:[TCPIP$FTP]&lt;BR /&gt;&lt;BR /&gt;TCPIP$FTP_RUN.LOG;2573&lt;BR /&gt;                            0  20-APR-2011 10:21:50.09  (RWED,RWED,RE,)&lt;BR /&gt;TCPIP$FTP_RUN.LOG;2572&lt;BR /&gt;                          115   6-APR-2011 00:13:41.70  (RWED,RWED,RE,)&lt;BR /&gt;TCPIP$FTP_RUN.LOG;2571&lt;BR /&gt;                            1   6-APR-2011 00:09:43.25  (RWED,RWED,RE,)&lt;BR /&gt;[...]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So, yes, apparently you get a new log file&lt;BR /&gt;version if you disable+enable the FTP&lt;BR /&gt;service.  This does disable the FTP service&lt;BR /&gt;(very) briefly.  (But it is faster than a&lt;BR /&gt;reboot.)&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] (beyond gigabytes of data).&lt;BR /&gt;&lt;BR /&gt;Your FTP server must be much busier than&lt;BR /&gt;mine.  (Or else you're logging is much more&lt;BR /&gt;detailed than mine.)</description>
      <pubDate>Wed, 20 Apr 2011 14:29:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-ftp-server-log-file/m-p/4779757#M60635</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-04-20T14:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Openvms FTP Server Log File</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-ftp-server-log-file/m-p/4779758#M60636</link>
      <description>&lt;P&gt;You'd think that there would be an automatic roll-over or automatic housekeeping or related, yes. But there is not. This is VMS, and the system manager gets to implement this sort of on-going maintenance stuff specifically for each local site. For better or worse.&lt;BR /&gt;&lt;BR /&gt;Here are some general introductions to the topic of housekeeping on a VMS server...&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/wizard/wiz_5964.html" target="_blank"&gt;http://h71000.www7.hp.com/wizard/wiz_5964.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h30499.www3.hp.com/t5/System-Management/House-keeping-for-file-version-in-Openvms/m-p/4467712#M24960" target="_blank"&gt;http://h30499.www3.hp.com/t5/System-Management/House-keeping-for-file-version-in-Openvms/m-p/4467712#M24960&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;A href="http://h30499.www3.hp.com/t5/System-Management/Disable-FTP-Log-and-anonymous-log/m-p/4199045#M21095" target="_blank"&gt;http://h30499.www3.hp.com/t5/System-Management/Disable-FTP-Log-and-anonymous-log/m-p/4199045#M21095&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What generally happens here is a periodic purge as part of the usual housekeeping job most everybody runs (usually a batch job) that might zip files or purge older versions of the logs or whatever is locally preferred. &lt;BR /&gt;&lt;BR /&gt;Here are some of the typical considerations and targets; FTP is among these, but accounting and auditing and operator logs are, too.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www3.sympatico.ca/n.rieck/docs/openvms_notes_system_manager.html" target="_blank"&gt;http://www3.sympatico.ca/n.rieck/docs/openvms_notes_system_manager.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It's also possible to set a directory version limit on the logs and related, which then gets rid of the older files automatically.&lt;BR /&gt;&lt;BR /&gt;Here's the general template of the batch job, and some of the usual targets for purges and related:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://labs.hoffmanlabs.com/node/97" target="_blank"&gt;http://labs.hoffmanlabs.com/node/97&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://labs.hoffmanlabs.com/node/939" target="_blank"&gt;http://labs.hoffmanlabs.com/node/939&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Some folks will just brute-force the ftp-related problem and shut off all FTP logging. There are a couple of ways to do that, not the least of which is creating a runt ;32767 version as the current log version. That'll block new logs.&lt;BR /&gt;&lt;BR /&gt;Assuming that was you, please post up the answer over on Superuser, too. (There's not a big VMS population over on SU, FWIW.)&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2011 18:12:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-ftp-server-log-file/m-p/4779758#M60636</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2011-07-11T18:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Openvms FTP Server Log File</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-ftp-server-log-file/m-p/4779759#M60637</link>
      <description>&lt;!--!*#--&gt;If you are willing to change FTP servers, I am running an unreleased version of the HGftp software that has this capability.&lt;BR /&gt;&lt;BR /&gt;Our site's VMS FTP servers handle over 125,000 sessions per day.  That's more than one ftp login every second, and on average about 7 files get transferred per second.&lt;BR /&gt;&lt;BR /&gt;The logs for these servers record all of this activity, and that takes up about 160MB per day.  We are a 24x7 shop, but I can create new versions of the log files every day without dropping one user session.&lt;BR /&gt;&lt;BR /&gt;That's very useful for running our daily reports.  If you are interested, one of us can check with Hunter Goatley, but I doubt that he would have any problem releasing it to you.&lt;BR /&gt;&lt;BR /&gt;Jess</description>
      <pubDate>Thu, 21 Apr 2011 03:59:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-ftp-server-log-file/m-p/4779759#M60637</guid>
      <dc:creator>Jess Goodman</dc:creator>
      <dc:date>2011-04-21T03:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Openvms FTP Server Log File</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-ftp-server-log-file/m-p/4779760#M60638</link>
      <description>&lt;!--!*#--&gt;&amp;gt; [...] without dropping one user session.&lt;BR /&gt;&amp;gt; [...]&lt;BR /&gt;&lt;BR /&gt;I'd need to check, but I believe that a&lt;BR /&gt;disable+enable cycle on the TCPIP FTP server&lt;BR /&gt;doesn't kill an open session.  (As I recall,&lt;BR /&gt;that procedure was ineffective at stopping&lt;BR /&gt;one of those "administrato" attacks, and the&lt;BR /&gt;individual FTP session process had to be&lt;BR /&gt;whacked independently.)</description>
      <pubDate>Thu, 21 Apr 2011 04:09:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-ftp-server-log-file/m-p/4779760#M60638</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-04-21T04:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Openvms FTP Server Log File</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-ftp-server-log-file/m-p/4779761#M60639</link>
      <description>Thanks all. &lt;BR /&gt;&lt;BR /&gt;The informations provided were highly helpfull.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I'll post a link to this over on SU.</description>
      <pubDate>Thu, 21 Apr 2011 05:34:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-ftp-server-log-file/m-p/4779761#M60639</guid>
      <dc:creator>Imker</dc:creator>
      <dc:date>2011-04-21T05:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Openvms FTP Server Log File</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-ftp-server-log-file/m-p/4779762#M60640</link>
      <description>&lt;!--!*#--&gt;I did some tests, and apparently DISABLE SERVICE FTP does nothing at all, other than allow you to then enter an ENABLE SERVICE FTP command.  You are correct in that this sequence of commands will not disconnect users.&lt;BR /&gt;&lt;BR /&gt;The ENABLE SERVICE FTP command does open up a new TCPIP$FTP_RUN.LOG file, because that command attempts to run a new ftp listener process, and this log file is that process's SYS$OUTPUT.&lt;BR /&gt;&lt;BR /&gt;The problem is that if you did not run TCPIP$FTP_SHUTDOWN.COM, or use STOP/ID-, then the old ftp listener process is still running, and the "new" log file is quickly closed, ending with this:&lt;BR /&gt;&lt;BR /&gt;%SYSTEM-F-DUPLNAM, duplicate name&lt;BR /&gt;%TCPIP-E-FTP_BIND, cannot bind the address to the socket&lt;BR /&gt;$ !&lt;BR /&gt;$ ! completed ftp server execution&lt;BR /&gt;$ !&lt;BR /&gt;$ exit:&lt;BR /&gt;$     exit $status .or. %x10000000&lt;BR /&gt;  SYSTEM       job terminated at 21-APR-2011 06:45:03.99&lt;BR /&gt;&lt;BR /&gt;The old process will still be logging new connections, user names, and disconnections to the old version of TCPIP$FTP_RUN.LOG, assuming that you specified P1 with TCPIP$FTP_STARTUP.COM.&lt;BR /&gt;&lt;BR /&gt;If you first stop the current ftp listener process before you start up a new one, then the new version of the log file will be active - but all current ftp users get disconnected.&lt;BR /&gt;&lt;BR /&gt;The HG FTP software writes to an activity log file that is separate from the SYS$OUTPUT of the listener process.  By default the listener logs connections and disconnections in it, but you can configure the software so that all directory listings, file transfers, CWD commands, etc. are also logged to this file.&lt;BR /&gt;&lt;BR /&gt;To be clear, this thread is a discussion about a system-wide ftp log file, not the user-specific log files found is the ftp user's home directory. &lt;BR /&gt;</description>
      <pubDate>Thu, 21 Apr 2011 06:34:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-ftp-server-log-file/m-p/4779762#M60640</guid>
      <dc:creator>Jess Goodman</dc:creator>
      <dc:date>2011-04-21T06:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Openvms FTP Server Log File</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-ftp-server-log-file/m-p/4779763#M60641</link>
      <description>&lt;!--!*#--&gt;&amp;gt; The problem is [...]&lt;BR /&gt;&lt;BR /&gt;Hmmm.  Now that you stir the old memories,&lt;BR /&gt;this sounds familiar.  Everything's&lt;BR /&gt;complicated.  (Especially with lame&lt;BR /&gt;software.)</description>
      <pubDate>Thu, 21 Apr 2011 11:06:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-ftp-server-log-file/m-p/4779763#M60641</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-04-21T11:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Openvms FTP Server Log File</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-ftp-server-log-file/m-p/4779764#M60642</link>
      <description>&amp;gt;I did some tests, and apparently DISABLE SERVICE FTP does nothing at all, other than allow you to then enter an ENABLE SERVICE FTP command.  You are correct in that this sequence of commands will not disconnect users.&lt;BR /&gt;&lt;BR /&gt;True.  &lt;BR /&gt;&lt;BR /&gt;The ftp server passes off incoming ftp connections to connection-specific server processes, and which is one of the reasons why the connection server processes can be configured with timeouts via logical name.  &lt;BR /&gt;&lt;BR /&gt;AFAIK, there's also no central controlled shutdown mechanism for those ftp server processes.  They just get nuked when some lower-level piece shuts down, or they time out and exit.&lt;BR /&gt;&lt;BR /&gt;The timeout gets those server processes to vaporize after some site-determined time interval, and to then allow those logs to be accessed for deletion or otherwise managed.  But that's not a synchronous shutdown, it's a case where you shut off the ftp server, and then wait for those individual servers to timeout.&lt;BR /&gt;&lt;BR /&gt;I'd certainly like to see centralized and particularly distributed logging for VMS, but that's not likely to be implemented given the corresponding need to modify all the logging clients around to use that logging.  The existing logging mess is just too baked into the VMS environment.&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Apr 2011 13:45:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-ftp-server-log-file/m-p/4779764#M60642</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2011-04-21T13:45:15Z</dc:date>
    </item>
  </channel>
</rss>

