Disable the Exchange system attendant services. Which will dismount the database.

Create a backup copy of the MDBDATA folder.

 

  

1. Use the Eseutil.exe command-line tool to check  the consistency of the information store databases.

 

                         c:\ProgramFiles\exchsrvr\bin>eseutil /mh "c:\ProgramFiles\exchsrvr\mdbdata\priv1.edb"                 

                         c:\ ProgramFiles\exchsrvr\bin>eseutil /mh "c:\ProgramFiles\exchsrvr\mdbdata\pub1.edb"

 

 

If the state says dirty shutdown that means the database are corrupted.

 

2.Then run these commands to perform the hard Recovery.

  

                          c:\ ProgramFiles\exchsrvr\bin >eseutil /p ..\mdbdata\priv1.edb

                          c:\ ProgramFiles\exchsrvr\bin >eseutil /p ..\mdbdata\pub1.edb

 

 

3.After that Please Run these ones:

 

                          c:\ ProgramFiles\exchsrvr\bin >eseutil /g ..\mdbdata\priv1.edb

                          c:\ ProgramFiles\exchsrvr\bin >eseutil /g ..\mdbdata\pub1.edb

 

4.. Delete all .log and .chk files in the ExchSrvr\Mdbdata folder on the server. Additionally, if the Temp.edb file exists in the ExchSrvr\Mdbdata folder, delete it.

 

 

5. Defragment the databases that you just repaired.  To do so:

 

    Type the following command at the command prompt:              

 

                        c:\ProgramFiles\exchsrvr\bin>eseutil /d ..\mdbdata\priv1.edb                   

                        c:\ ProgramFiles\exchsrvr\bin>eseutil /d ..\mdbdata\pub1.edb

 

Note If the private and the public information store databases are large, this step may take some time.                    

 

If you receive an error message that indicates that there is not sufficient  hard disk space to run the command, copy the ExchSrvr\Bin folder to a drive with more space, and then run the command from that location.

 

6. Mount the Stores and then dismount them.

 

7.Use the Isinteg.exe command-line tool to repair  Pub1.edb and Priv1.edb:

 

            c:\ ProgramFiles\exchsrvr\bin >isinteg -s  <ServerName> -fix -test alltests

 

 

 

PLEASE IGNORE THESE SYMBOLS ("<" and ">") in the command lines mentioned above.

 

 

 

If there are any warnings, errors, or fixes, run the command again. Repeat this step until there are no warnings, errors, or fixes.

 

 

 

8. Mount the information store databases.