<?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: core dump in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump/m-p/2553635#M917859</link>
    <description>Hi Ade:&lt;BR /&gt;&lt;BR /&gt;/var/adm/wtmp is probably corrupt.  Either null it or repair it:&lt;BR /&gt;&lt;BR /&gt;To null it entirely and start anew:&lt;BR /&gt;&lt;BR /&gt;# cat /dev/null &amp;gt; /var/adm/wtmp&lt;BR /&gt;&lt;BR /&gt;To attempt to repair it, retaining data, do:&lt;BR /&gt;&lt;BR /&gt;# /usr/sbin/acct/fwtmp &amp;lt; /var/adm/wtmp &amp;gt; /tmp/wtmp &lt;BR /&gt;&lt;BR /&gt;At this point, you may edit the /tmp/wtmp file, since it is a ASCII file. &lt;BR /&gt;&lt;BR /&gt;# /usr/sbin/acct/fwtmp -ic &amp;lt; /tmp/wtmp &amp;gt; /var/adm/wtmp &lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Tue, 17 Jul 2001 10:28:25 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2001-07-17T10:28:25Z</dc:date>
    <item>
      <title>core dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump/m-p/2553634#M917858</link>
      <description>I get a Memory fault(coredump) when I try to run /etc.last</description>
      <pubDate>Tue, 17 Jul 2001 10:20:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump/m-p/2553634#M917858</guid>
      <dc:creator>Ade Falusi_1</dc:creator>
      <dc:date>2001-07-17T10:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: core dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump/m-p/2553635#M917859</link>
      <description>Hi Ade:&lt;BR /&gt;&lt;BR /&gt;/var/adm/wtmp is probably corrupt.  Either null it or repair it:&lt;BR /&gt;&lt;BR /&gt;To null it entirely and start anew:&lt;BR /&gt;&lt;BR /&gt;# cat /dev/null &amp;gt; /var/adm/wtmp&lt;BR /&gt;&lt;BR /&gt;To attempt to repair it, retaining data, do:&lt;BR /&gt;&lt;BR /&gt;# /usr/sbin/acct/fwtmp &amp;lt; /var/adm/wtmp &amp;gt; /tmp/wtmp &lt;BR /&gt;&lt;BR /&gt;At this point, you may edit the /tmp/wtmp file, since it is a ASCII file. &lt;BR /&gt;&lt;BR /&gt;# /usr/sbin/acct/fwtmp -ic &amp;lt; /tmp/wtmp &amp;gt; /var/adm/wtmp &lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 17 Jul 2001 10:28:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump/m-p/2553635#M917859</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-07-17T10:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: core dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump/m-p/2553636#M917860</link>
      <description>to read wtmp file do like this: &lt;BR /&gt;&lt;BR /&gt;the following will convert it to ASCII file &lt;BR /&gt;#/usr/sbin/acct/fwtmp &amp;lt; /var/adm/wtmp &amp;gt; /tmp/file &lt;BR /&gt;then you can either edit the file or read it. &lt;BR /&gt;&lt;BR /&gt;Then you can convert it back to binary form: &lt;BR /&gt;##/usr/sbin/acct/fwtmp -ic &amp;lt; /tmp/file &amp;gt; /var/adm/wtmp &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Bye &lt;BR /&gt;federico &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Jul 2001 10:50:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump/m-p/2553636#M917860</guid>
      <dc:creator>federico_3</dc:creator>
      <dc:date>2001-07-17T10:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: core dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump/m-p/2553637#M917861</link>
      <description>Hi,&lt;BR /&gt;the wtmp file is corrupted( i feel)&lt;BR /&gt;#mv /var/adm/wtmp /var/adm/wtmp.old&lt;BR /&gt;#touch /var/adm/wtmp&lt;BR /&gt;#mv /var/adm/wtmp.old /var/adm/wtmp&lt;BR /&gt;&lt;BR /&gt;this could solve your problem</description>
      <pubDate>Tue, 17 Jul 2001 10:52:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump/m-p/2553637#M917861</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2001-07-17T10:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: core dump</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump/m-p/2553638#M917862</link>
      <description>&lt;BR /&gt;  Hi&lt;BR /&gt;&lt;BR /&gt;  Here are only two possibilties. One is ur /etc/last command is corrupted. Or ur /var/adm/wtmp file is not OK. For solving this first U go to /var/adm directory and do this&lt;BR /&gt;&lt;BR /&gt;#cd /var/adm&lt;BR /&gt;#cat /dev/null &amp;gt; wtmp&lt;BR /&gt; Now try last command. Mostly ur problem will  get solved here. If still exists copy /usr/bin/last from some other machine (which should be same version). &lt;BR /&gt;&lt;BR /&gt;I hope now ur problem will be OK.&lt;BR /&gt;&lt;BR /&gt;Best of luck &lt;BR /&gt;&lt;BR /&gt;Shahul</description>
      <pubDate>Tue, 17 Jul 2001 11:03:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump/m-p/2553638#M917862</guid>
      <dc:creator>Shahul</dc:creator>
      <dc:date>2001-07-17T11:03:43Z</dc:date>
    </item>
  </channel>
</rss>

