Last Update: May 28, 2024 | Published: Jan 06, 2009
How can I use the ESEUTIL utility to detect file header damage in Exchange 2000/2003?
MS KB 825088 has more info:
Exchange 2000 and 2003 use a checksum procedure to confirm the data integrity of pages that are in the database. The ESEUTIL tool in Exchange 2000/2003 includes a /K switch that you can use to verify the page-level integrity of the information store databases.
Note: The integrity check does not run a database recovery. If a database is inconsistent or is in a “dirty shutdown” state, Microsoft recommends that you perform a recovery operation to make sure that the database operations are completed correctly. After you perform the recovery operation, you can use the ESEUTIL tool to perform the integrity check.
To detect damage to file headers, follow these steps:
eseutil /k "c:\program files\exchsrvr\mdbdata\pub1.edb"
The following information is a sample output file that appears after you run the previous command:
eseutil /k "c:\program files\exchsrvr\mdbdata\priv1.edb"
The following information is a sample output file that appears after you run the previous command:
eseutil /k "C:\Program Files\Exchsrvr\mdbdata\e00.log"
The following information is a sample output file that appears after you run the previous command to verify the checksum integrity of the transaction logs:
Note: The database you wish to check must be taken offline (i.e. dismounted) before attempting to perform the integrity checking operation. When you run ESEUTIL against a Microsoft Exchange computer where it’s database is still mounted you will receive the following error message:
Error: Access to source database ‘c:\program files\exchsrvr\mdbdata\pub1.edb’ failed with Jet error -1032.
Operation terminated with error -1032 (JET_errFileAccessDenied, Cannot access file, the file is locked or in use) after 30.83 seconds.
If the database is still mounted, use the following steps to dismount the database, and then run ESEUTIL:
If you wish to use the ESEUTIL /k option on log files you’ll need to stop the Microsoft Exchange Information Store service. To do so follow these steps:
After the integrity check is over you must start the Microsoft Exchange Information Store service. To do so follow these steps:
How To: Use the Eseutil Utility to Detect File Header Damage in Exchange 2003 – 825088