Solved

how to troubleshoot log file or database corruption in exchange 2010

Posted on 2016-08-07
3
20 Views
1 Endorsement
Last Modified: 2016-08-10
Hello Experts,

Can you guys please give some helpfull suggestions as to what to do if one of the log files is corrupt or missing causing the database to be in an unmounted or unhealthy state? what if the database is corrupt, or is not mounting for whatever reason? any helpfull tips/ advise to go about troubleshooting these two issues will be really appreciated.
1
Comment
Question by:Newguy 123
3 Comments
 
LVL 33

Expert Comment

by:Busbar
ID: 41745973
move all the logs to a new location, and try to mound the DB.
0
 
LVL 5

Expert Comment

by:Manuel Flores
ID: 41745994
Try what Busbar suggest, just get rid of that logfiles.

If it doesn't mount, maybe you datastore is in a inconsistent state.  You can try the ESEUTIL command in repair mode.  Depends on the datastore size it could last several hours.

Make copies of everything before proceeding.

Some further reading about ESEUTIL;  https://blogs.technet.microsoft.com/exchange/2004/06/18/repairing-exchange-databases-with-eseutil-when-and-how/
0
 
LVL 9

Accepted Solution

by:
Kevin k earned 500 total points
ID: 41748547
Before attempting to repair a database, you must verify that it is dismounted and also verify that your Exchange 2010 database has been backed up before repairing.

1) dismount the database 2) shut down exchange services 3) run Eseutil /mh 4) run Eseutil /d 5) delete all of the transaction log files 6) restart exchange services 7) mount the database 8) run the backup jobs on the exchange store and server.

If the log file that's damaged is one that contains only committed transaction then it isn't needed to bring the database back to a consistent state after you dismount that database.
 
Assuming you have only one database in the storage group, if the "eseutil /mh" shows the dtabase to be in a consistent state you can move (don't copy) all the log files and the chk file to another directory and remount the database. That will start a new log file generation. Make a backup of the storage group as soon as you can. Once you're happy the backup is okay and things are running okay you can remove those old log and chk files.

To get in more detailed please refer to below informative resources:

Exchange Database Recovery – Using eseutil commands: http://msexchangeguru.com/2009/07/12/exchange-database-recovery-using-eseutil-commands/

Repairing a corrupt or dirty exchange database: https://community.spiceworks.com/how_to/2217-repairing-a-corrupt-or-dirty-exchange-database

Also check this earlier thread i.e. Exchange 2010 Logs corrupt: https://www.experts-exchange.com/questions/26696928/Exchange-2010-Logs-corrupt.html

Hope this helps!
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
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…
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…
This video discusses moving either the default database or any database to a new volume.

867 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

15 Experts available now in Live!

Get 1:1 Help Now