<?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: Problem with last command reverting to 1969 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-last-command-reverting-to-1969/m-p/4751280#M388253</link>
    <description>Tried post 1.&lt;BR /&gt;&lt;BR /&gt;Files have contents, Though 11.31 seems to have muddied the waters with new files.&lt;BR /&gt;&lt;BR /&gt;We have an archive scheme running and maybe it hit something.&lt;BR /&gt;&lt;BR /&gt;This was not caused by patching, not all systems exhibiting this behavior have been patched.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Fri, 11 Feb 2011 03:26:46 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2011-02-11T03:26:46Z</dc:date>
    <item>
      <title>Problem with last command reverting to 1969</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-last-command-reverting-to-1969/m-p/4751277#M388250</link>
      <description>HP-UX 11.31 IA-64&lt;BR /&gt;all systems.&lt;BR /&gt;&lt;BR /&gt;root@rxq24hxd# last&lt;BR /&gt;&lt;BR /&gt;WTMPS_FILE  begins at Wed Dec 31 17:59:59&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This refers to a date in 1969.&lt;BR /&gt;&lt;BR /&gt;swlist -l bundle | grep OE&lt;BR /&gt;  HPUX11i-OE-Ent                B.11.31.0709   HP-UX Enterprise Operating Environment&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;root@rxq24hxd# swlist -l bundle | grep QPK&lt;BR /&gt;  QPKAPPS                       B.11.31.1009.353a Applications Patches for HP-UX 11i v3, September 2010&lt;BR /&gt;  QPKBASE                       B.11.31.1009.353a Base Quality Pack Bundle for HP-UX 11i v3, September 2010&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I know the Core OS is pretty dated, I'm working on this.&lt;BR /&gt;&lt;BR /&gt;Data is being collected in the appropriate files /var/adm/wtmp etc. &lt;BR /&gt;&lt;BR /&gt;We have tried clearing out the files and rebooting no help there.&lt;BR /&gt;&lt;BR /&gt;These boxes were patched October 27 2010 but three boxes that were not patched also have the problem.&lt;BR /&gt;&lt;BR /&gt;Systems do authenticate with LDAP, though not for root.&lt;BR /&gt;&lt;BR /&gt;root@rxq24hxd# swlist -l bundle | grep LDAP&lt;BR /&gt;  LDAPUX         &lt;BR /&gt;&lt;BR /&gt;Can not share the ldap or pam configuration but LDAP went into production many months ago and three months ago the audit reports were good.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;A case is open with HP support, has been for a day and has just been escalated to backline support.&lt;BR /&gt;&lt;BR /&gt;Who is faster, backline or the ITRC community.&lt;BR /&gt;&lt;BR /&gt;Generous points for a proven fix. Something for suggestions even if we've tried them.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 10 Feb 2011 18:57:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-last-command-reverting-to-1969/m-p/4751277#M388250</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2011-02-10T18:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with last command reverting to 1969</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-last-command-reverting-to-1969/m-p/4751278#M388251</link>
      <description>I was just able to duplicate your problem.&lt;BR /&gt;&lt;BR /&gt;1) I cleared out /var/adm/wtmp* files&lt;BR /&gt;# &amp;gt; wtmp&lt;BR /&gt;# &amp;gt; wtmps&lt;BR /&gt;# &amp;gt; wtmpx&lt;BR /&gt;&lt;BR /&gt;2) I ran the "last" command and it showed the same message you received.&lt;BR /&gt;&lt;BR /&gt;3) I logged into the server and then ran "last" again.  The output then showed:&lt;BR /&gt;&lt;BR /&gt; # last&lt;BR /&gt;root     pts/1        Thu Feb 10 13:12   still logged in&lt;BR /&gt;&lt;BR /&gt;WTMPS_FILE  begins at Thu Feb 10 13:12:13 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The "WTMPS_FILE begins at Wed Dec 31 17:59:59" is normal behavior for an empty file.  If you do an 'll /var/adm/wtmp*' you will probably see all files as empty.&lt;BR /&gt;&lt;BR /&gt;So, I think you just need to log into the system to cause something to be written to wtmp.&lt;BR /&gt;&lt;BR /&gt;If just logging in with LDAP is not causing something to be written to wtmp*, then that may be a problem with either LDAP or PAM.&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Feb 2011 19:17:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-last-command-reverting-to-1969/m-p/4751278#M388251</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2011-02-10T19:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with last command reverting to 1969</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-last-command-reverting-to-1969/m-p/4751279#M388252</link>
      <description>Hi SEP:&lt;BR /&gt;&lt;BR /&gt;The beginning of the UNIX epoch (0) was January 1, 1970 in UTC (GMT).  Hence date/times of "December 31, 1969" represent the localtime west of Greenwich.&lt;BR /&gt;&lt;BR /&gt;I would expect an empty/uninitialized file to exhibit this kind of value.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 10 Feb 2011 19:55:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-last-command-reverting-to-1969/m-p/4751279#M388252</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2011-02-10T19:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with last command reverting to 1969</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-last-command-reverting-to-1969/m-p/4751280#M388253</link>
      <description>Tried post 1.&lt;BR /&gt;&lt;BR /&gt;Files have contents, Though 11.31 seems to have muddied the waters with new files.&lt;BR /&gt;&lt;BR /&gt;We have an archive scheme running and maybe it hit something.&lt;BR /&gt;&lt;BR /&gt;This was not caused by patching, not all systems exhibiting this behavior have been patched.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 11 Feb 2011 03:26:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-last-command-reverting-to-1969/m-p/4751280#M388253</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2011-02-11T03:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with last command reverting to 1969</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-last-command-reverting-to-1969/m-p/4751281#M388254</link>
      <description>I'm on an airplane atm, just brought up a system I ignited.&lt;BR /&gt;&lt;BR /&gt;That system has data in the wtmps file.&lt;BR /&gt;&lt;BR /&gt;Systems exhibiting this behavior all have 0 bytes in the file.&lt;BR /&gt;&lt;BR /&gt;So the question becomes what is emptying out the file? Summary JRF is right.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 11 Feb 2011 03:44:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-last-command-reverting-to-1969/m-p/4751281#M388254</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2011-02-11T03:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with last command reverting to 1969</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-last-command-reverting-to-1969/m-p/4751282#M388255</link>
      <description>&amp;gt;&amp;gt;So the question becomes what is emptying out the file?&lt;BR /&gt;&lt;BR /&gt;cron job?  logrotate?  What is the date/time stamp on the file(s) that are 0 bytes in size?  Perhaps that can guide you to who/what is causing the problem.</description>
      <pubDate>Fri, 11 Feb 2011 04:41:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-last-command-reverting-to-1969/m-p/4751282#M388255</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2011-02-11T04:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with last command reverting to 1969</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-last-command-reverting-to-1969/m-p/4751283#M388256</link>
      <description>&amp;gt;WTMPS_FILE begins at Wed Dec 31 17:59:59&lt;BR /&gt;&lt;BR /&gt;As JRF suggested, what timezone are you in?  CST6CDT?  This would equal (time_t)-1.</description>
      <pubDate>Sun, 13 Feb 2011 04:11:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-last-command-reverting-to-1969/m-p/4751283#M388256</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-02-13T04:11:52Z</dc:date>
    </item>
  </channel>
</rss>

