Solved

error 550 Jet_errDatabaseDirtyShutdown

Posted on 2011-03-25
2
2,098 Views
1 Endorsement
Last Modified: 2012-05-11
Two things happened last night.  After initiating a reboot the system hung on restart for two hours.

The system was powered off.  Upon powering on the system disk errors were reported on the hard disk and check disk was suggested.  We let the countdown for the message expire and the system immediately reboot.

This process happened two more time.  We then we ran the chkdsk on the hard drive.  This ran for about 1.5 hours.  It completed and the system boot.  Everything appeared to be in operation.

In the morning the exchange store was offline.  

When you try to mount it you get the following error:
ID no: c1041724
Exchange System Manager

We followed the suggested action from MS http://support.microsoft.com/kb/294318

Upon running the Eseutil these are the results:

(Side Note the Exchange store is 64GB and the drive it's on only had 69GB free.  We've since moved data to another server to free up approx. 130GB)

-======================================================-
C:\Program Files\Exchsrvr\bin>eseutil /mh "c:\Store\priv1.edb"

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

Initiating FILE DUMP mode...
         Database: c:\Store\priv1.edb

        File Type: Database
   Format ulMagic: 0x89abcdef
   Engine ulMagic: 0x89abcdef
 Format ulVersion: 0x620,11
 Engine ulVersion: 0x620,11
Created ulVersion: 0x620,11
     DB Signature: Create time:11/19/2010 18:22:20 Rand:3542738 Computer:
         cbDbPage: 4096
           dbtime: 196686639 (0xbb9332f)
            State: Dirty Shutdown
     Log Required: 85908-85908 (0x14f94-0x14f94)
   Streaming File: Yes
         Shadowed: Yes
       Last Objid: 57640
     Scrub Dbtime: 0 (0x0)
       Scrub Date: 00/00/1900 00:00:00
     Repair Count: 2
      Repair Date: 03/11/2008 17:38:49
 Old Repair Count: 2
  Last Consistent: (0x14082,FBD,2C)  02/28/2011 19:39:31
      Last Attach: (0x14082,FC4,1DC)  02/28/2011 19:47:42
      Last Detach: (0x0,0,0)  00/00/1900 00:00:00
             Dbid: 2
    Log Signature: Create time:03/11/2008 20:44:04 Rand:8317673 Computer:
       OS Version: (5.2.3790 SP 2)

Previous Full Backup:
        Log Gen: 84018-84018 (0x14832-0x14832)
           Mark: (0x14832,1471,1C4)
           Mark: 03/11/2011 22:02:16

Previous Incremental Backup:
        Log Gen: 84802-85230 (0x14b42-0x14cee)
           Mark: (0x14CEF,8,16)
           Mark: 03/21/2011 22:03:13

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.15 seconds.
-======================================================-

Followed by:

-======================================================-
C:\Program Files\Exchsrvr\bin>eseutil /ml "c:\Store\priv1.edb"

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

Initiating FILE DUMP mode...

      Base name: pri
      Log file: c:\Store\priv1.edb
                ERROR: Cannot read log file header. Error -514.

Operation terminated with error -514 (JET_errBadLogVersion, Version of log file
is not compatible with Jet version) after 1.0 seconds.
-======================================================-

Followed by:

-======================================================-
C:\Program Files\Exchsrvr\bin>eseutil /r "c:\Store\priv1.edb"

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

Initiating RECOVERY mode...
    Logfile base name: c:\Store\priv1.edb
            Log files: <current directory>
         System files: <current directory>

Operation terminated with error -1003 (JET_errInvalidParameter, Invalid API para
meter) after 0.0 seconds.
-======================================================-

The next step was to do a restore from tape.  According to our tape backup the most recent version of the database being backed up was on the 3/21/11, the backup on 3/21/11 failed.

Should the next steps be to run:
1.  C:\Program Files\Exchsrvr\bin>eseutil /p "c:\store\priv1.edb" /t"c:\temp\priv1.edb"
2.  C:\Program Files\Exchsrvr\bin>eseutil /d "c:\store\priv1.edb" /t"c:\Temp\priv1.edb"
3.  then run the integrity check

OR

Should we restore the database from 3/21/11 first?
1
Comment
Question by:breynolds01
2 Comments
 
LVL 1

Accepted Solution

by:
sameershaikh earned 500 total points
ID: 35221567
Since that Exchange database is in Dirty Shutdown State and also last backup is failed (i.e.  21/03/2011)
As I know it not recommended to go with Failed Backup.
First go for soft recovery if not work not than Perform Hard recovery.
1) First perform Soft recovery using following command and try to Mount your exchange database.

- ESEUTIL /r enn /L [path to log files] /s [path to checkpoint file] /d[path to database file] /i
For example, at a command line, type:
ESEUTIL /r e01 /L"f:\mdbdata" /s"c:\exchsrvr\mdbdata" /d"g:\mdbdata" /i

If Not than go for
2) Hard repair using following command.
Eseutil /p "[path to database file]"    
Eseutil /d "[path to database file]”    
isinteg -s servername -fix -test alltests

Note:- Before Performing Hard repair make sure you have taken backup of your exchange database(.priv1.edb/stm) and  Disk Space required for offline defragmentation - 110% of the size of exchange database from where you perform Hard recovery.
0
 
LVL 2

Author Closing Comment

by:breynolds01
ID: 36004810
Thanks!
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now