This article describes how to use the Microsoft Exchange Server 2003 Eseutil tool (Eseutil.exe)
How to Recover a Corrupt Exchange Database
- Be sure there are no hardware issues and that the File System is intact (run chkdsk /r and repeat until it doesn’t return errors), restore from backup is preferable if possible.
- Add the Exchange bin to the “path” statement
- Start -> Right click my computer -> properties -> advanced Tab -> environment variables (scroll down if you have to)
- In the bottom pane double click “path”
- Go to the end of the line enter a semi-colon and enter the path to the exchange bin directory
- Verify that there is twice as much free space as the size of the database,
i.e if the database is 10 gb you need to have at least 20 gb free - Open command prompt
- Change to the directory where the database is (usually C:\program files\exchsrv\mdbdata, if you cant find the database search for *.edb)
- Type eseutil /mh <database name> (usually priv1.edb)
- Look for the shutdown state (may have to scroll up) , if its in clean shutdown then you should be able to mount the database, but chances are if your reading this its in a dirty shutdown and you need to continue on
- Type eseutil /k <database name> (usually priv1.edb) look for “Bad Checksums” if you have any, your repair possibility will be slim (just make a note of it)
- Type eseutil /ml e00 we are looking for any missing logs (if none missing go on to step 9)
- if there are any we have to move all subsequent logs. and the e00 log to another location, rename the last log to e00.log
- Example we have logs E00021-E00035 and E00033 is missing, remove E00, E00034 and E00035
- Re-name the .chk file to .oldchk
- Type eseutil /r E00
- Wait for that to complete, if it completes successfully move on to 11 otherwise run “P”
- P. eseutil /p <database name> this will force the database into a clean shutdown and will rip out any incomplete pages, this should only be done as a last resort
- Wait for that to complete, if it completes successfully move on to 11 otherwise run “P”
- Start information store service, verify that the store is mounted in Exchange System Manager (ESM), if its not mounted right click and mount
- Start -> All Programs -> Microsoft Exchange -> System Manager
- Expand Administrative Group -> Administrative group -> Servers -> {Server name} -> {Storage Group}
- Right Click Mailbox store -> mount
- Dismount the store in ESM
- Go back to the command window
- type isinteg –s <servername> -fix –test alltests
- When prompted select the store that you repaired
- If any fixes are reported re-run until none are reported (just like chkdsk)
- Type eseutil /d <database name> (usually priv1.edb)
- Remount the database and should now be able to send receive mail
Command Description Eseutil is a Jet database repair utilityREFERENCES
Switch Action
/D Defragments the database
/R Soft recovery of the database
/G Integrity Check
/K Checksum
/P Hard Repair
/ML Log File dump
/MH Database file dump
/Y Copy
/C Restore
Isinteg is a integrity checker much like the windows chkdsk for NTFS
ESM Exchange System Manager is the GUI Management tool for exchange
Exchange 2007 changed the name to EMC Exchange Management Console
For more information about Exchange 2003, visit the following Microsoft Web site:
http://technet.microsoft.com/en-us/library/bb123872.aspx
http://technet.microsoft.com/en-us/library/bb123872.aspx
Use the Eseutil Utility to Detect File Header Damage in Exchange 2003
http://support.microsoft.com/kb/825088
http://support.microsoft.com/kb/825088
How to defragment with the Eseutil utility (Eseutil.exe)
http://support.microsoft.com/kb/192185
http://support.microsoft.com/kb/192185
Description of the Isinteg utility
http://support.microsoft.com/kb/182081
http://support.microsoft.com/kb/182081
Though the built-in utilities and command line parameters are very helpful to perform database recovery in case of corruption, but there are some limitations of these tools. These utility remove the corrupt database pages permanently and sometimes user have to face the data loss situations.
ResponderEliminarTo recover Exchange database completely, you may use Exchange server recovery software. This software effectively handles database corruption problems and recover all data. The tool is compatible with all versions of MS Exchange Server.