<?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: wtmp error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/wtmp-error/m-p/4316306#M340122</link>
    <description>Hi Dennis,&lt;BR /&gt;&lt;BR /&gt;It is really worth as much time as I can have to troubleshoot it. Not that I would want to but with an auditor rushing down my neck you think I have a choice?</description>
    <pubDate>Tue, 02 Dec 2008 12:52:59 GMT</pubDate>
    <dc:creator>ahlan</dc:creator>
    <dc:date>2008-12-02T12:52:59Z</dc:date>
    <item>
      <title>wtmp error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wtmp-error/m-p/4316302#M340118</link>
      <description>My last command only shows details of logins from last month.&lt;BR /&gt;&lt;BR /&gt;Check on the timestamp shows that the wtmp file was just edited as I login to the server. I tried wtmpfix and got an error. How do I proceed from here?&lt;BR /&gt; &lt;BR /&gt;#wtmpfix &amp;lt; /var/adm/wtmp&lt;BR /&gt;Bad file at offset 1712100&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Dec 2008 09:29:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wtmp-error/m-p/4316302#M340118</guid>
      <dc:creator>ahlan</dc:creator>
      <dc:date>2008-12-02T09:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: wtmp error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wtmp-error/m-p/4316303#M340119</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;Check whether the wtmp has been flushed before one month ?&lt;BR /&gt;&lt;BR /&gt;Also chec this &lt;BR /&gt;&lt;BR /&gt;# strings  wtmp | more  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Prasu&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Dec 2008 09:38:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wtmp-error/m-p/4316303#M340119</guid>
      <dc:creator>Prasu</dc:creator>
      <dc:date>2008-12-02T09:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: wtmp error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wtmp-error/m-p/4316304#M340120</link>
      <description>Hi Prasu,&lt;BR /&gt;&lt;BR /&gt;wtmp was not flushed. &lt;BR /&gt;I get records from Feb till Nov 23rd. I tried logging in and out and the file size increases and time stamp changes.&lt;BR /&gt;&lt;BR /&gt;But when I did a last the latest record was only on 23rd Nov.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Dec 2008 09:42:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wtmp-error/m-p/4316304#M340120</guid>
      <dc:creator>ahlan</dc:creator>
      <dc:date>2008-12-02T09:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: wtmp error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wtmp-error/m-p/4316305#M340121</link>
      <description>&amp;gt;My last(1) command only shows details of logins from last month.&lt;BR /&gt;&lt;BR /&gt;So how much time are you willing to spend to fix it?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Check on the timestamp shows that the wtmp file was just edited as I login to the server. I tried wtmpfix and got an error. How do I proceed from here?&lt;BR /&gt;&lt;BR /&gt;How much is this worth, compared to fiddling with it?&lt;BR /&gt;Why not toss it and use the backup wtmp?&lt;BR /&gt;$ who /var/adm/wtmp&lt;BR /&gt;$ last -f /var/adm/wtmp&lt;BR /&gt;$ /usr/sbin/acct/fwtmp -X &amp;lt; /var/adm/wtmps&lt;BR /&gt;$ /usr/sbin/acct/fwtmp &amp;lt; /var/adm/wtmp</description>
      <pubDate>Tue, 02 Dec 2008 10:31:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wtmp-error/m-p/4316305#M340121</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-12-02T10:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: wtmp error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wtmp-error/m-p/4316306#M340122</link>
      <description>Hi Dennis,&lt;BR /&gt;&lt;BR /&gt;It is really worth as much time as I can have to troubleshoot it. Not that I would want to but with an auditor rushing down my neck you think I have a choice?</description>
      <pubDate>Tue, 02 Dec 2008 12:52:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wtmp-error/m-p/4316306#M340122</guid>
      <dc:creator>ahlan</dc:creator>
      <dc:date>2008-12-02T12:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: wtmp error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wtmp-error/m-p/4316307#M340123</link>
      <description>&amp;gt;It is really worth as much time as I can have to troubleshoot it.&lt;BR /&gt;&lt;BR /&gt;Have you tried any of my 4 suggestions?&lt;BR /&gt;Also what OS version are you using?  11.11 doesn't have wtmps.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Not that I would want to but with an auditor rushing down my neck you think I have a choice?&lt;BR /&gt;&lt;BR /&gt;I was wondering if it is worth paying something like a data recovery service for bad disks?&lt;BR /&gt;&lt;BR /&gt;Not that fixing your wtmp files is that hard.&lt;BR /&gt;&lt;BR /&gt;Are you saying you are missing from Nov 23 to today?</description>
      <pubDate>Wed, 03 Dec 2008 05:40:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wtmp-error/m-p/4316307#M340123</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-12-03T05:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: wtmp error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wtmp-error/m-p/4316308#M340124</link>
      <description>Hi Dennis,&lt;BR /&gt;&lt;BR /&gt;I am running 11.11 and yes I can't see and logins from Nov 23 till today.&lt;BR /&gt;&lt;BR /&gt;below are the outputs I got from you commands. &lt;BR /&gt;&lt;BR /&gt;$ who /var/adm/wtmp (last line)&lt;BR /&gt;oracle92   ftpd17498    Nov 23 20:01&lt;BR /&gt;&lt;BR /&gt;$ last -f /var/adm/wtmp (first line)&lt;BR /&gt;oracle92 ftp          Sun Nov 23 20:01 - 20:01  (00:00)&lt;BR /&gt;&lt;BR /&gt;$ /usr/sbin/acct/fwtmp &amp;lt; /var/adm/wtmp (last few lines)&lt;BR /&gt;031 0.8.0.0 pts/tc&lt;BR /&gt;                               0 28530 60543 66145 805306368 Jul 10 00:12:48 1995 0.8.0.0 pts/0&lt;BR /&gt;                               0 28530 60543 66145 1718906880 Jun 21 02:08:00 2024 0.7.0.0 ftpd15442&lt;BR /&gt;         nagi os               0  0 0000 0000 1718906880 Jun 21 02:08:00 2024 0.8.0.0 ftpd15442&lt;BR /&gt;                               0 19535 43511 47000 1952645120 Nov 17 09:25:20 2031 0.6.0.0 pts/tc&lt;BR /&gt;         nagi os           174338829 24932 71151 60556 1952645120 Nov 17 09:25:20 2031 0.7.0.0 pts/tc&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Dec 2008 06:14:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wtmp-error/m-p/4316308#M340124</guid>
      <dc:creator>ahlan</dc:creator>
      <dc:date>2008-12-03T06:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: wtmp error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wtmp-error/m-p/4316309#M340125</link>
      <description>&amp;gt;below are the outputs I got from your commands.&lt;BR /&gt;&lt;BR /&gt;Both who(1) and last(1) stop when they get to the file corruption.&lt;BR /&gt;&lt;BR /&gt;The fwtmp output seems to be bad.  Did it increment smoothly until Nov 23, then repeat bad dates where it has July, then June?&lt;BR /&gt;&lt;BR /&gt;It appears there is a problem in the file, probably at offset 1712100?&lt;BR /&gt;&lt;BR /&gt;You would have to get a hex/ascii dump of the  file and analyze the pattern.  Do you know any C programming?</description>
      <pubDate>Wed, 03 Dec 2008 10:44:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wtmp-error/m-p/4316309#M340125</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-12-03T10:44:24Z</dc:date>
    </item>
  </channel>
</rss>

