This article was previously published under Q147244
This article has been archived. It is offered "as is" and will no longer be updated.
In Microsoft Exchange Server the information store may become corrupted and may not start. The corruption may be caused by such things as sudden loss of power to a running Microsoft Exchange Server computeror faulty hardware that has written information to disk incorrectly. Thisarticle outlines steps to recover from an information store that doesnot start.
The steps outlined in this article are most effective if circularlogging is turned off and the customer has some type of regular backupprocedure in place. If circular logging is turned on (which is the setup default) thensteps 1, 2, and 6 through 9 are valid (circular logging automatically writes overtransaction logs files after the data they contain has been committed tothe database). If a backup is NOT available then steps 1, 2, 8, and 9 arevalid. For information and strategies on backup and restoration procedures, pleasesee chapter 15 of the Microsoft Exchange Server Administrator's Guide.
To recover aninformation store that does not start, perform the following steps strictly in order. If you follow these steps in order, you preserve, in descending order, as much data as possible.
Check the Windows NT Event Viewer application event log for EDB, MSExchangeIS, MSExchangePriv, MSExchangePub messages. These error messages may give a clear reason for the problems with the information store. Two of the most common error messages that are reported to the application event log are "out of disk space" or an error message that states that the isinteg -patch command needs to be run. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
149238 Information store fails to start with 1011 error
Shut down all of the Exchange Server services, and restart the Exchange Server computer. When the information store restarts it automatically tries to recover and return the database to a consistent state.
Make a full offline backup (stop all of the Exchange Server services) of the information store. This should include all .edb and .log files
IMPORTANT: The .edb and .log files may be stored on different physical drives. To determine where they are located, look in the registry under the HKEY_LOCAL_MACHINE subtree, under the following subkey:
and look at the DB Log Path parameter. Making a full offline backup is a precautionary measure to capture the existing state of the Exchange Server computer before you perform the following steps. This step is necessary if you reach step 8 or 9 of this procedure.
Restore the last full online backup, and make sure that you do NOT click to select the Start Services after Restore check box. Restore any incremental (from the time of the last full online backup through the day before the information store startup problem) online backups of the information store. Only click to select the Start Service after Restore check box when you restore the LAST incremental backup.
IMPORTANT: Do NOT click to select the Erase all existing data check box.
When the information store starts it rolls forward through all of the existing database logs and places the data in the restored information store. This brings the information store back to the point of at which it stopped responding. If this step is successful, there is no loss of data.
IMPORTANT: If you perform step 5 on, you will lose data.
If step 4 does not start the information store, then go into the Event Viewer application event log and review the logged messages for the source EDB; there is one message for each log file that it replayed during the restoration in step 4. If one of these EDB messages reports a problem replaying a particular log file, open the Mdbdata folder and remove the corrupted log file and all of the log files that are greater in number. After these log files are moved, try to restart the information store.
For example, if the application event log says that the Edb00012.log file could not be processed or was corrupted and the log files in the Mdbdata folder range in number from Edb000001.log through Edb000025.log, remove from Edb000012.log through Edb0000025.log, and than try to restart the information store. If this step is successful you will only lose the data stored in the removed log files.
If step 5 does not work, restore the last full online backup of the information store. Click to select the Start Service After Restore check box. Click to select the Erase all existing data check box. This restores the information store to the point in time that the online backup was taken. Then start the Exchange Server Administrator program and run the DS/IS consistency adjuster on the Advanced tab of the server object properties.
If step 6 does not work, repeat step 6 with the next most recent version of either a full offline or full online backup.
If step 7 does not work, delete all of the .edb and .log files from the Mdbdata folder and restore a copy of the Priv.edb and Pub.edb databases from the backup of the database when the problem started (step 3). Open the Exchsrvr\bin folder and run Edbutil /d /r /ispriv followed by Edbutil /d /r /ispub. This utility defragments the private and public information stores and tries to fix any database errors that it encounters. After Edbutil.exe has finished running successfully, try to restart the information store. If the information store starts, Microsoft highly recommends that you run the isinteg -fix command against both the private and public information stores to clean up any inconsistencies that may have arisen as a result of the Edbutil utility.
For additional information about the Edbutil and Isinteg utilities, please refer to the Troubleshooting section in Volume 2 of the Microsoft Exchange Server Administrator's Guide or click the article number below to view the article in the Microsoft Knowledge Base:
143233 XSRV Adm: Command Line Parameters for Edbutil.exe
If all of the above steps do not work, the information store can be wiped as a last resort. To determine if the problem exists in either the public or private information store, you must wipe them one at a time, starting with the public information store. This process irrevocably deletes all of the user e-mail messages, user folders (wiping the private store, Priv.edb), and public folders (wiping the public store, Pub.edb). To wipe the public information store, perform the following steps:
Either ensure that you have completed step 3 (full backup) or copy the Exchsrvr\Mdbdata folder to another location on the hard disk drive.
In the Exchsrvr\Mdbdata folder, delete all of the Edb*.log files, all of the Res*.log files, the Edb.chk file, and the Pub.edb file.
Now restart the Information Store service. If it starts, you have lost all of the public folder information (new Pub.edb, Res*.log and Edb.chk files are created automatically) and all of the information in the log files. However, you retain all of the user e-mail messages and folders that were stored in the private information store (Priv.edb).
If wiping the public information store does not work, perform the following steps:
Remove all of the information that exists in the Mdbdata folder.
Bring back a copy of the Pub.edb database from tape or alternate location.
Try to restart the information store. If the service starts, the public folder information is intact. However, all of the user e-mail messages, folders, and information in the logs is lost. The users' mailboxes are recreated the next time that they log on.
If all of the steps above do not work, remove all of the information from theExchsrvr\Mdbdata folder and then restart the Information Store service. This returns the information store to the installation defaults.
You can use the DS/IS consistency adjuster (on the Advanced tab of the server object) to clear up any directory or information store inconsistencies.
The Exchange Server information store was designed to be arecoverable system. It relies on a daily backup procedure and transactionlogs to ensure this recoverability. Microsoft HIGHLY recommends that you have a DAILYbackup procedure in place and that these backups are verified regularly.