<?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: corrupt MAIL.MAI in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/corrupt-mail-mai/m-p/4875032#M20375</link>
    <description>Thanks again everyone. &lt;BR /&gt;&lt;BR /&gt;Once I got my VMS hat back on properly, I got the disk replaced, and the mail.mai file restored from the full backup done a day previously, and all is now well ( with *that* system).&lt;BR /&gt;&lt;BR /&gt;It would be nice to satisfy my curiosity and explore the file convert and repair tools and techniques that were suggested, but didn't want to take the time.&lt;BR /&gt;&lt;BR /&gt;Onward to the next problem, 2 systems in a remote corner of the plant are unreachable this morning ( une VMS, one True-64)... probably a bad network device...&lt;BR /&gt;&lt;BR /&gt; - John</description>
    <pubDate>Mon, 13 Dec 2004 12:34:32 GMT</pubDate>
    <dc:creator>John Kittel</dc:creator>
    <dc:date>2004-12-13T12:34:32Z</dc:date>
    <item>
      <title>corrupt MAIL.MAI</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/corrupt-mail-mai/m-p/4875023#M20366</link>
      <description>VMS 6.2&lt;BR /&gt;&lt;BR /&gt;I have a corrupt MAIL.MAI file. What are my options? ( just restore mail.mai from latest backup? ) What are likely / possible causes of this?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;MAIL&amp;gt; dir&lt;BR /&gt;%MAIL-E-READERR, error reading DISK$USERS:[KITTEL.MAIL]MAIL.MAI&lt;BR /&gt;-RMS-F-CHK, bucket format check failed for VBN = 79093&lt;BR /&gt;%MAIL-E-NOMSGS, no messages&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;        First Data Bucket VBN: 4&lt;BR /&gt;***  VBN 82342:  Bucket check byte is out of phase.&lt;BR /&gt;***  VBN 82342:  Record at offset %X'03F5' has invalid data record compression.&lt;BR /&gt;***  VBN 80353:  Bucket check byte is out of phase.&lt;BR /&gt;***  VBN 79093:  Bucket check byte is out of phase.&lt;BR /&gt;***  VBN 79093:  Record at offset %X'01D7' has invalid data record compression.&lt;BR /&gt;***  VBN 79093:  Pointer size of 3 is invalid in data record.&lt;BR /&gt;Unrecoverable error encountered in structure of file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;John</description>
      <pubDate>Fri, 10 Dec 2004 12:53:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/corrupt-mail-mai/m-p/4875023#M20366</guid>
      <dc:creator>John Kittel</dc:creator>
      <dc:date>2004-12-10T12:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: corrupt MAIL.MAI</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/corrupt-mail-mai/m-p/4875024#M20367</link>
      <description>that second bit of output there in my original post was from ANA/RMS&lt;BR /&gt;&lt;BR /&gt; - John</description>
      <pubDate>Fri, 10 Dec 2004 12:55:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/corrupt-mail-mai/m-p/4875024#M20367</guid>
      <dc:creator>John Kittel</dc:creator>
      <dc:date>2004-12-10T12:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: corrupt MAIL.MAI</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/corrupt-mail-mai/m-p/4875025#M20368</link>
      <description>Hello John,&lt;BR /&gt;I haven't looked into any details, but I would first check if a simple&lt;BR /&gt;$ CONVERT MAIL.MAI MAIL.NEW&lt;BR /&gt;&lt;BR /&gt;is able to 'fix' any problems.</description>
      <pubDate>Fri, 10 Dec 2004 13:08:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/corrupt-mail-mai/m-p/4875025#M20368</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2004-12-10T13:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: corrupt MAIL.MAI</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/corrupt-mail-mai/m-p/4875026#M20369</link>
      <description>To begin with you should rename the corrupted file and allow VMSmail to create a new file for your new mail.&lt;BR /&gt;&lt;BR /&gt;It is not too hard to merge the newest mail with the older mail later.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;That older mail may have to come from backup, or from recovery efforts on the corrupted file.&lt;BR /&gt;&lt;BR /&gt;You do want to restore a recent backup for several reason.&lt;BR /&gt;1- to use it!&lt;BR /&gt;2- to learn whether perhaps is also corrupted but you did not notice.&lt;BR /&gt;3- as an example how the buckets might have looked like.&lt;BR /&gt;&lt;BR /&gt;I'm a little worried about the number of errors... yikes. Is the disk going bad? Multiply allocated block? ANAL/DISK?&lt;BR /&gt;&lt;BR /&gt;A straight convert, as suggested might just work, because the corruption would be in the secondary key, the 'SIDR' arrea. When you do a plain "DIR" mail will use RMS $GET to start at secondary key = "MAIL" and stop (RAB$V_LIM) when the end of that secondary key value is reached.&lt;BR /&gt;&lt;BR /&gt;You want to DUMP (with DUMP or ANA/RMS/INT) the reported bad buckets to just 'see' what they look like. All zeroes? a command file contents where structure should be?&lt;BR /&gt;&lt;BR /&gt;Check my RMS_TOOLS directory on the freeware.&lt;BR /&gt;The ZAP tool might come in handy, and the RMS_TUNING powerpoint has a section on recovery if you have the drive to go that route.&lt;BR /&gt;&lt;BR /&gt;Good luck!&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Y</description>
      <pubDate>Fri, 10 Dec 2004 13:27:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/corrupt-mail-mai/m-p/4875026#M20369</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2004-12-10T13:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: corrupt MAIL.MAI</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/corrupt-mail-mai/m-p/4875027#M20370</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;Oh.... 6.2 isn't that the version where I broke CONVERT/RECLAIM, which get's activated for a MAIL COMPRESS?&lt;BR /&gt;&lt;BR /&gt;Did you compress/purge your mail file recently?&lt;BR /&gt;It's been a while, but there was a known problem in that space, around that time.&lt;BR /&gt;Find patches,  upgrade VMS, or replace 'MAIL compress" with a plain CONVERT (faster, better).&lt;BR /&gt;&lt;BR /&gt;And finally, if you do a plain convert, &lt;BR /&gt;judging by the range of buckets mentioned I'd go for a specialized FDL and not accept the standard 5-block-bucket design.&lt;BR /&gt;Go big... you'r worth it! :-).&lt;BR /&gt;Sample FDL below.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;IDENT   " Hein "&lt;BR /&gt;&lt;BR /&gt;FILE&lt;BR /&gt;        FILE_MONITORING         yes&lt;BR /&gt;        GLOBAL_BUFFER_COUNT     42&lt;BR /&gt;        ORGANIZATION            indexed&lt;BR /&gt;        PROTECTION              (system:RW, owner:RW, group:, world:)&lt;BR /&gt;RECORD&lt;BR /&gt;        FORMAT                  variable&lt;BR /&gt;        SIZE                    2048&lt;BR /&gt;AREA 0&lt;BR /&gt;        ALLOCATION              48000&lt;BR /&gt;        BEST_TRY_CONTIGUOUS     yes&lt;BR /&gt;        BUCKET_SIZE             24&lt;BR /&gt;        EXTENSION               4800&lt;BR /&gt;&lt;BR /&gt;AREA 1&lt;BR /&gt;        ALLOCATION              120&lt;BR /&gt;        BEST_TRY_CONTIGUOUS     yes&lt;BR /&gt;        BUCKET_SIZE             24&lt;BR /&gt;        EXTENSION               120&lt;BR /&gt;&lt;BR /&gt;AREA 2&lt;BR /&gt;        ALLOCATION              1200&lt;BR /&gt;        BEST_TRY_CONTIGUOUS     yes&lt;BR /&gt;        BUCKET_SIZE             24&lt;BR /&gt;        EXTENSION               120&lt;BR /&gt;&lt;BR /&gt;KEY 0&lt;BR /&gt;        CHANGES                 no&lt;BR /&gt;        DATA_KEY_COMPRESSION    no&lt;BR /&gt;        DATA_RECORD_COMPRESSION yes&lt;BR /&gt;        DATA_AREA               0&lt;BR /&gt;        DATA_FILL               100&lt;BR /&gt;        DUPLICATES              no&lt;BR /&gt;        INDEX_AREA              1&lt;BR /&gt;        INDEX_COMPRESSION       no&lt;BR /&gt;        INDEX_FILL              100&lt;BR /&gt;        LEVEL1_INDEX_AREA       1&lt;BR /&gt;        NAME                    ""&lt;BR /&gt;        NULL_KEY                no&lt;BR /&gt;        PROLOG                  3&lt;BR /&gt;        SEG0_LENGTH             8&lt;BR /&gt;        SEG0_POSITION           0&lt;BR /&gt;        TYPE                    bin8&lt;BR /&gt;&lt;BR /&gt;KEY 1&lt;BR /&gt;        CHANGES                 yes&lt;BR /&gt;        DATA_KEY_COMPRESSION    yes&lt;BR /&gt;        DATA_AREA               2&lt;BR /&gt;        DATA_FILL               50&lt;BR /&gt;        DUPLICATES              yes&lt;BR /&gt;        INDEX_AREA              2&lt;BR /&gt;        INDEX_COMPRESSION       yes&lt;BR /&gt;        INDEX_FILL              100&lt;BR /&gt;        LEVEL1_INDEX_AREA       2&lt;BR /&gt;        NAME                    ""&lt;BR /&gt;        NULL_KEY                yes&lt;BR /&gt;        NULL_VALUE              0&lt;BR /&gt;        SEG0_LENGTH             39&lt;BR /&gt;        SEG0_POSITION           9&lt;BR /&gt;        TYPE                    string&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Dec 2004 13:35:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/corrupt-mail-mai/m-p/4875027#M20370</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2004-12-10T13:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: corrupt MAIL.MAI</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/corrupt-mail-mai/m-p/4875028#M20371</link>
      <description>Thanks Uwe and Hein.&lt;BR /&gt;&lt;BR /&gt;The CONVERT failed.&lt;BR /&gt;&lt;BR /&gt;The disk is going bad, 270 errors since this morning ( it was fine last night when checked by batch disk check job).&lt;BR /&gt;&lt;BR /&gt;I am going to replace disk and restore from backup.&lt;BR /&gt;&lt;BR /&gt; - John</description>
      <pubDate>Fri, 10 Dec 2004 13:42:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/corrupt-mail-mai/m-p/4875028#M20371</guid>
      <dc:creator>John Kittel</dc:creator>
      <dc:date>2004-12-10T13:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: corrupt MAIL.MAI</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/corrupt-mail-mai/m-p/4875029#M20372</link>
      <description>We've been at 6.2 forever ( little chance of changing that now)...   but I do compress the mail regularly ( not in the last month on this particular account), and it has not been a problem before.&lt;BR /&gt;&lt;BR /&gt; - John</description>
      <pubDate>Fri, 10 Dec 2004 13:46:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/corrupt-mail-mai/m-p/4875029#M20372</guid>
      <dc:creator>John Kittel</dc:creator>
      <dc:date>2004-12-10T13:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: corrupt MAIL.MAI</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/corrupt-mail-mai/m-p/4875030#M20373</link>
      <description>Hi John,&lt;BR /&gt;&lt;BR /&gt;There is a freeware utility for recovering the corrupt mail file.You may get success using this,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.tmk.com/ftp/vms-freeware/mathog/?C=S;O=A" target="_blank"&gt;http://www.tmk.com/ftp/vms-freeware/mathog/?C=S;O=A&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;the Name of the tool is mail_mai_tools.zip&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Himanshu</description>
      <pubDate>Mon, 13 Dec 2004 06:12:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/corrupt-mail-mai/m-p/4875030#M20373</guid>
      <dc:creator>Himanshu_3</dc:creator>
      <dc:date>2004-12-13T06:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: corrupt MAIL.MAI</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/corrupt-mail-mai/m-p/4875031#M20374</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;please visit &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=760811" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=760811&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;Jan</description>
      <pubDate>Mon, 13 Dec 2004 07:16:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/corrupt-mail-mai/m-p/4875031#M20374</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2004-12-13T07:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: corrupt MAIL.MAI</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/corrupt-mail-mai/m-p/4875032#M20375</link>
      <description>Thanks again everyone. &lt;BR /&gt;&lt;BR /&gt;Once I got my VMS hat back on properly, I got the disk replaced, and the mail.mai file restored from the full backup done a day previously, and all is now well ( with *that* system).&lt;BR /&gt;&lt;BR /&gt;It would be nice to satisfy my curiosity and explore the file convert and repair tools and techniques that were suggested, but didn't want to take the time.&lt;BR /&gt;&lt;BR /&gt;Onward to the next problem, 2 systems in a remote corner of the plant are unreachable this morning ( une VMS, one True-64)... probably a bad network device...&lt;BR /&gt;&lt;BR /&gt; - John</description>
      <pubDate>Mon, 13 Dec 2004 12:34:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/corrupt-mail-mai/m-p/4875032#M20375</guid>
      <dc:creator>John Kittel</dc:creator>
      <dc:date>2004-12-13T12:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: corrupt MAIL.MAI</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/corrupt-mail-mai/m-p/4875033#M20376</link>
      <description>That's all folks!</description>
      <pubDate>Mon, 13 Dec 2004 12:36:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/corrupt-mail-mai/m-p/4875033#M20376</guid>
      <dc:creator>John Kittel</dc:creator>
      <dc:date>2004-12-13T12:36:58Z</dc:date>
    </item>
  </channel>
</rss>

