<?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 server displays incorrect timestamp in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-server-displays-incorrect-timestamp/m-p/4411771#M353137</link>
    <description>&amp;gt; exactly 7 hours&lt;BR /&gt; &lt;BR /&gt;Yep, the TZ variable is not been set for ftpd. The ftpd daemon is started by rc scripts so if ftpd is wrong, most everything in inetd.conf is probably using the wrong TZ value. There should be only ONE location to set the timezone: /etc/TIMEZONE. This file is read by all the rc startup scripts. You can't use your local login to porve the time is correct unless you bypass TZ and use date -u. Occasionally, misinformed sysadmins will set TZ manually in .profile.</description>
    <pubDate>Sat, 02 May 2009 02:44:36 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2009-05-02T02:44:36Z</dc:date>
    <item>
      <title>ftp server displays incorrect timestamp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-server-displays-incorrect-timestamp/m-p/4411766#M353132</link>
      <description>I have an HPUX11.23 box that displays the file timestamp incorrectly from a windows ftp client and a hpux ftp client. On the server itself the date command displays the correct date, the timezone appears to be set correctly, ntp is working fine but both ftp clients display the file timestamp exactly 7 hours ahead of the correct time. This appears to be related to the timezone, but how? My other hpux servers display the correct timestamps when the same ftp clients connect to them.</description>
      <pubDate>Fri, 01 May 2009 20:02:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-server-displays-incorrect-timestamp/m-p/4411766#M353132</guid>
      <dc:creator>John Carver</dc:creator>
      <dc:date>2009-05-01T20:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: ftp server displays incorrect timestamp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-server-displays-incorrect-timestamp/m-p/4411767#M353133</link>
      <description>I don't know the exact cause for this problem. But I guess that there might be something to do the permission for the time zone setting which is unreadable to ftp. Thus, it puts the time zone to GMT.</description>
      <pubDate>Fri, 01 May 2009 20:10:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-server-displays-incorrect-timestamp/m-p/4411767#M353133</guid>
      <dc:creator>Tingli</dc:creator>
      <dc:date>2009-05-01T20:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: ftp server displays incorrect timestamp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-server-displays-incorrect-timestamp/m-p/4411768#M353134</link>
      <description>&lt;!--!*#--&gt;A Forum search for keywords like&lt;BR /&gt;      ftp timezone&lt;BR /&gt;found many potentially useful things.  One&lt;BR /&gt;example:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=138820" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=138820&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;As usual, a more complete problem description&lt;BR /&gt;might help.  Are you using anonymous FTP, or&lt;BR /&gt;FTP as some particular user(s)?  (What&lt;BR /&gt;happens when you try the other one?)</description>
      <pubDate>Fri, 01 May 2009 20:56:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-server-displays-incorrect-timestamp/m-p/4411768#M353134</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-05-01T20:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: ftp server displays incorrect timestamp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-server-displays-incorrect-timestamp/m-p/4411769#M353135</link>
      <description>I hope that "date -u" displays the right date too?</description>
      <pubDate>Fri, 01 May 2009 20:56:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-server-displays-incorrect-timestamp/m-p/4411769#M353135</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-05-01T20:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: ftp server displays incorrect timestamp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-server-displays-incorrect-timestamp/m-p/4411770#M353136</link>
      <description>Also, if the date result is different between root and common users, then more possible the permission issue.</description>
      <pubDate>Fri, 01 May 2009 21:03:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-server-displays-incorrect-timestamp/m-p/4411770#M353136</guid>
      <dc:creator>Tingli</dc:creator>
      <dc:date>2009-05-01T21:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: ftp server displays incorrect timestamp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-server-displays-incorrect-timestamp/m-p/4411771#M353137</link>
      <description>&amp;gt; exactly 7 hours&lt;BR /&gt; &lt;BR /&gt;Yep, the TZ variable is not been set for ftpd. The ftpd daemon is started by rc scripts so if ftpd is wrong, most everything in inetd.conf is probably using the wrong TZ value. There should be only ONE location to set the timezone: /etc/TIMEZONE. This file is read by all the rc startup scripts. You can't use your local login to porve the time is correct unless you bypass TZ and use date -u. Occasionally, misinformed sysadmins will set TZ manually in .profile.</description>
      <pubDate>Sat, 02 May 2009 02:44:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-server-displays-incorrect-timestamp/m-p/4411771#M353137</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2009-05-02T02:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: ftp server displays incorrect timestamp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-server-displays-incorrect-timestamp/m-p/4411772#M353138</link>
      <description>&amp;gt;Bill: misinformed sysadmins will set TZ manually in .profile.&lt;BR /&gt;&lt;BR /&gt;Did you mean /etc/profile?&lt;BR /&gt;Or did you mean they change that file and not /etc/TIMEZONE?</description>
      <pubDate>Sat, 02 May 2009 15:23:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-server-displays-incorrect-timestamp/m-p/4411772#M353138</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-05-02T15:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: ftp server displays incorrect timestamp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-server-displays-incorrect-timestamp/m-p/4411773#M353139</link>
      <description>&amp;gt; Dennis: /etc/profile&lt;BR /&gt; &lt;BR /&gt;Yes, manually setting TZ in /etc/profile or even setting it in the skeleton .profile, not knowing that there is a system-wide file to source a standard TZ value. For users in other timezones, a manual setting in .profile can be useful.</description>
      <pubDate>Sat, 02 May 2009 19:56:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-server-displays-incorrect-timestamp/m-p/4411773#M353139</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2009-05-02T19:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: ftp server displays incorrect timestamp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-server-displays-incorrect-timestamp/m-p/4411774#M353140</link>
      <description>&amp;gt;Bill: For users in other timezones, a manual setting in .profile can be useful.&lt;BR /&gt;&lt;BR /&gt;Thanks, I wanted to make sure this was said.</description>
      <pubDate>Sun, 03 May 2009 02:29:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-server-displays-incorrect-timestamp/m-p/4411774#M353140</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-05-03T02:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: ftp server displays incorrect timestamp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-server-displays-incorrect-timestamp/m-p/4411775#M353141</link>
      <description>&lt;!--!*#--&gt;I haven't tried it, but I'd expect that one&lt;BR /&gt;could set a time zone for the FTP server by&lt;BR /&gt;specifying an appropriate wrapper script in&lt;BR /&gt;inetd.conf instead of the actual ftpd&lt;BR /&gt;program.</description>
      <pubDate>Sun, 03 May 2009 03:39:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-server-displays-incorrect-timestamp/m-p/4411775#M353141</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-05-03T03:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: ftp server displays incorrect timestamp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-server-displays-incorrect-timestamp/m-p/4411776#M353142</link>
      <description>The /etc/profile entries appears correct:&lt;BR /&gt;&lt;BR /&gt;# Set the TIMEZONE      &lt;BR /&gt;&lt;BR /&gt;        if [ -r /etc/TIMEZONE ]&lt;BR /&gt;        then&lt;BR /&gt;           . /etc/TIMEZONE      &lt;BR /&gt;        else&lt;BR /&gt;            TZ=MST7MDT    # change this for local time.  &lt;BR /&gt;            export TZ&lt;BR /&gt;        fi&lt;BR /&gt;&lt;BR /&gt;/etc/TIMEZONE is readable by all. No TZ is set in the .profile.&lt;BR /&gt;&lt;BR /&gt;What just occured to me is this server is using PROFTPD.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 05 May 2009 15:34:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-server-displays-incorrect-timestamp/m-p/4411776#M353142</guid>
      <dc:creator>John Carver</dc:creator>
      <dc:date>2009-05-05T15:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: ftp server displays incorrect timestamp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-server-displays-incorrect-timestamp/m-p/4411777#M353143</link>
      <description>Did a little research and I've added the entry "TimesGMT off" to the /etc/proftpd.conf file. Now the timestamp is displayed in local time from the ftp client. Thanks all for the discussion.</description>
      <pubDate>Tue, 05 May 2009 15:51:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-server-displays-incorrect-timestamp/m-p/4411777#M353143</guid>
      <dc:creator>John Carver</dc:creator>
      <dc:date>2009-05-05T15:51:45Z</dc:date>
    </item>
  </channel>
</rss>

