none
Exchange is corrupt error -1206 (JET_errDatabaseCorrupted RRS feed

  • Question

  • Need some command line help and some suggestions on fixing exchange after a system state restore. (Sbs 2003)

    I am trying to fix exchange and I am having trouble with the correct syntax.

    I want to run eseutil /r e00 
    Exchange DB and logs are located  on drive S:\program files\exchsrvr\mdbdata

    Here is my command

    S:\Program Files\Exchsrvr\bin>eseutil /r e00 "s:\program files\exchsrvr\mdbdata\pub1.edb"

    output 

    Usage Error: Invalid argument 's:\program files\exchsrvr\mdbdata\pub1.edb'. Options must be preceded
     by '-' or '/'.

    If I run eseutil /mh is sees the correct info.  

    output

    S:\Program Files\Exchsrvr\bin>eseutil /mh "s:\program files\exchsrvr\mdbdata\pub1.edb"

    Microsoft(R) Exchange Server Database Utilities
    Version 6.5
    Copyright (C) Microsoft Corporation. All Rights Reserved.

    Initiating FILE DUMP mode...
             Database: s:\program files\exchsrvr\mdbdata\pub1.edb

            File Type: Database
       Format ulMagic: 0x89abcdef
       Engine ulMagic: 0x89abcdef
     Format ulVersion: 0x620,11
     Engine ulVersion: 0x620,11
    Created ulVersion: 0x620,9
         DB Signature: Create time:07/11/2011 17:07:50 Rand:7929158 Computer:
             cbDbPage: 4096
               dbtime: 1713936 (0x1a2710)
    State: Dirty Shutdown
         Log Required: 286-287 (0x11e-0x11f)
       Streaming File: Yes
             Shadowed: Yes
           Last Objid: 4298
         Scrub Dbtime: 0 (0x0)
           Scrub Date: 00/00/1900 00:00:00
         Repair Count: 0
          Repair Date: 00/00/1900 00:00:00
     Old Repair Count: 0
      Last Consistent: (0xCD,FDA,1BE)  03/20/2012 16:33:42
          Last Attach: (0xCD,FDC,14B)  03/20/2012 16:40:21
          Last Detach: (0x0,0,0)  00/00/1900 00:00:00
                 Dbid: 2
        Log Signature: Create time:07/11/2011 17:07:44 Rand:7935370 Computer:
           OS Version: (5.2.3790 SP 2)

    Previous Full Backup:
            Log Gen: 286-286 (0x11e-0x11e)
               Mark: (0x11E,8FD,46)
               Mark: 06/19/2012 01:33:44

    Previous Incremental Backup:
            Log Gen: 0-0 (0x0-0x0)
               Mark: (0x0,0,0)
               Mark: 00/00/1900 00:00:00

    Current Full Backup:
            Log Gen: 0-0 (0x0-0x0)
               Mark: (0x0,0,0)
               Mark: 00/00/1900 00:00:00

    Current Shadow copy backup:
            Log Gen: 0-0 (0x0-0x0)
               Mark: (0x0,0,0)
               Mark: 00/00/1900 00:00:00

         cpgUpgrade55Format: 0
        cpgUpgradeFreePages: 0
    cpgUpgradeSpaceMapPages: 0

           ECC Fix Success Count: none
       Old ECC Fix Success Count: none
             ECC Fix Error Count: none
         Old ECC Fix Error Count: none
        Bad Checksum Error Count: none
    Old bad Checksum Error Count: none

    Operation completed successfully in 3.0 seconds.

    ---------------------------------------------------------------------------------------

    Here are commands that I have used in various troubleshooting

    C:\Program Files\Exchsrvr\bin>eseutil /g "s:\program files\exchsrvr\mdbdata\priv
    1.edb"

    output

    Microsoft(R) Exchange Server Database Utilities
    Version 6.5
    Copyright (C) Microsoft Corporation. All Rights Reserved.
    Initiating INTEGRITY mode...
            Database: s:\program files\exchsrvr\mdbdata\priv1.edb
      Streaming File: s:\program files\exchsrvr\mdbdata\priv1.STM
      Temp. Database: TEMPINTEG3920.EDB
    Checking database integrity.
    The database is not up-to-date. This operation may find that
    this database is corrupt because data from the log files has
    yet to be placed in the database.
    To ensure the database is up-to-date please use the 'Recovery' operation.
                         Scanning Status (% complete)
              0    10   20   30   40   50   60   70   80   90  100
              |----|----|----|----|----|----|----|----|----|----|
              ...................................................
    Integrity check completed.
    Database is CORRUPTED, the last full backup of this database was on 06/19/2012 0
    1:33:44
    Operation terminated with error -1206 (JET_errDatabaseCorrupted, Non database fi
    le or corrupted db) after 11.15 seconds.
    ---------------------------------------------------------------------------------------

    Still trying to troubleshoot exchange because it is in a dirty shutdown status.  

    The problem started yesterday morning with a call in the AM that the server is not booting.  On of the 4 dives in a RAID 5 setup went bad and was preventing the system from booting.  Replaced the drive and let the rebuild process complete.
    After the reboot I was getting a Lsass.exe error 
    "securityaccess manager can not start error status: 0x00002e1
    I booted into directory restore mode and ran a restore on the system state only.
    After the system state restore the server allowed me to log on and workstations to log on and access file shares.  I noticed that exchange was not working.  

    Thank you for viewing and or helping with my issues.

                 

    Staple Bench Computers

    Thursday, June 21, 2012 10:18 PM

Answers

  • I got it all fixed.  

    copied the needed tool from C:\Program Files\Exchsrvr\bin to S:\Program Files\Exchsrvr\bin

    eseutil worked at that point and I was able to get databases in a clean state and error free.


    Staple Bench Computers

    • Marked as answer by StapleBench Wednesday, June 27, 2012 6:52 AM
    Wednesday, June 27, 2012 6:52 AM

All replies

  • A: Sounds like your PUB.EDB is OK now, correct?

    B: The Priv1.EDB appears to be your problem and it may or may not be recoverable, but hear is what I would suggest

    1. Make darn sure all your Disk and Subsystem issues are resolved first before continuing, else you are bound to repeat this unpleasant process
    2. If your users Outlook is configured in CACHED mode, then before you do anything; A: go to each of machine, open outlook and when it tells you that it cannot connect to the server and ask if you want to work in OFFLINE Mode say yes. B: Once open export everything to PST since this will give you the most up to date backup of the data available.
    3. OK now you have a FEW options available but BEFORE you do that copy the EDB and STM from s:\program files\exchsrvr\mdbdata\ to an alternate location so that you have a MASTER COPY of the raw files which you will never run any commands against, you will only use this to make additional copies from.  Once that is done consider the following;

    A: Recover the priv1 mailbox database from the last known backup and upon completion your users can connect and recover any missing items from PST

    B: if you have no backup or it s questionable or quite old then you may want to dial tone the database i.e. after making an offline copy of the EDB/STM files and backing up the OST to PST so the following

    1. delete the priv1.EDB and priv1.STM from s:\program files\exchsrvr\mdbdata
    2. Now in the Exchange Management Console mount the database and Exchange will warn you that it cannot find the database files and if you continue you will create new blank databases.
    3. Say yes and new database will be created
    4. The users may now send/receive new email
    5. To obtain the historical email do one of the following

         A: recover data from each of the PST files made in the steps above from the Offline CACHE OST files

         B: Run ESEutil /P against a COPY of the MASTER COPY you created (Remember don't do anything against the MASTER COPY) and once that's done run ESEutil  /D  against the DB and when done mount it in the Recovery Storage Group and Merge the data http://support.microsoft.com/kb/824126

         C: The other option is to check out Lucid8's DigiScope http://www.lucid8.com/product/digiscope.asp which will allow you to repair the database and then open it via an intuitive GUI where you can Browse, Search, Export mailboxes, Folders and Individual Items to PST & MSG or Recover directly from an offline database into ANY Production Exchange Server, even an alternate version i.e. 2003 --> 2007 --> 2010 etc


    Troy Werelius
    www.Lucid8.com
    Search, Recover, & Extract Mailboxes, Folders, & Email Items from Offline EDB's and Live Exchange Servers with Lucid8's DigiScope

    Friday, June 22, 2012 2:49 AM
  • I got it all fixed.  

    copied the needed tool from C:\Program Files\Exchsrvr\bin to S:\Program Files\Exchsrvr\bin

    eseutil worked at that point and I was able to get databases in a clean state and error free.


    Staple Bench Computers

    • Marked as answer by StapleBench Wednesday, June 27, 2012 6:52 AM
    Wednesday, June 27, 2012 6:52 AM
  • SO you had two different implementations of  Program Files\Exchsrvr\bin ?

    Troy Werelius
    www.Lucid8.com
    Search, Recover, & Extract Mailboxes, Folders, & Email Items from Offline EDB's and Live Exchange Servers with Lucid8's DigiScope

    Wednesday, June 27, 2012 12:03 PM
  • Yes.  S:\Program Files\Exchsrvr\MDBDATA is where all my edb's are at.

    C:\Program Files\Exchsrvr\ is where everything else seems to be, e.g. servername.log,  res,

    During the SBS setup the second partition was chosen for the location of exchange store.  I thought it was common practice to put exchange on its own partition or drive. 


    Staple Bench Computers

    Wednesday, June 27, 2012 9:18 PM
  • Well the \Program Files\Exchsrvr\MDBDATA is common but there is only or should ONLY be on /BIN directory and usually that signifies that someone reinstalled the EMC or Exchange itself on another drive.  Anyway good to know you got it fixed. 

    Troy Werelius
    www.Lucid8.com
    Search, Recover, & Extract Mailboxes, Folders, & Email Items from Offline EDB's and Live Exchange Servers with Lucid8's DigiScope

    Wednesday, June 27, 2012 9:54 PM