Solved

how to troubleshoot log file or database corruption in exchange 2010

Posted on 2016-08-07
3
21 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 10

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

Suggested Solutions

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
In this video we show how to create a mailbox database 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 >> Data…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

803 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