A Complete Solution for Exchange Server Database Corruption and Dirty Shutdown

Views: 2204
Comments: 6
Like/Unlike: 0
Posted On: 26-Aug-2017 05:44 

Share:   fb twitter linkedin
Rahul M...
4918 Points
28 Posts

Introduction

When the exchange server starts up, it is being checked whether the database is being excluded from the transaction log.  So during this operation, it isn’t surprising for a normal database process to terminate abruptly. Transaction log files play a very vital role in effortless working of the exchange database. And, if the databases have some incompatibility in them, it results in the exchange to function unexpectedly or the start-up is at odds. Thus, an unexpected termination may lead to lose access to a backend storage, corrupting the file systems or server-wide power loss.

Details

Exchange transaction logs traces every changes that can be done in the database. The updating of data in user mailboxes is registered at the beginning in the log files and is then written to the databases. Once the size of the log files is full, then accordingly, a new one is created with the next sequence number.

Many Exchange support problems involve corrupt databases which will not mount.This restricts the users from accessing their mailbox data. The following pointers can prevent an exchange database from mounting:

  • Inefficient start-up of the Microsoft Exchange Information Store Service
  • Disappearance of Exchange database files.
  • Database is in “Dirty Shutdown “State.
  • Lack of free disk space or log files volume.
  • Denial of access to underlying storage.
  • While database is in clean or perfect shutdown state, significant logical corruption exists resulting in the dismountation of the database when the approach is done to read or access the data.

In situations where the Information Store Service fails to start, the most common or familiar issues include communications between Exchange and the anti-virus software. The event viewer is being recommended for verifying Active Directory communications as well as there is no service dependencies met. All exclusions have been properly configured by anti-virus software. Commonly, it can be discovered that an anti-virus product either locks the database or restricts the necessary RPC communications. Anti-virus is also a common reason for the corruption of database files as a result of a no. of processes attempted to access the files simultaneously. Commonly it is seen that an anti-virus product insulates database files or logs, a step that may break the sequence of the log stream, making recovery from backup challenging and possibly breaking DAG replication.

Dirty Shutdown

The words “Dirty Shutdown” are quite self-illustrative; either the database is down or in an unhealthy state. This can still cause trouble for Exchange Administrators who recall spending a lot of time while madly attempting to get a database to mount and restore functionality. Following through a lot of study over a hundred Dirty Shutdown Support cases it signifies that a lot of experience is not requires troubleshooting a Dirty Shutdown event accurately, since the perfect course of actions can easily fit or get into a decision tree. The below diagram shows a high level flow chart that shows the common scenarios where a database will not mount.

In a Dirty Shutdown, when exchange dismounts a database, the Information store ensures that all dirty database pages in cache are committed to the database (.edb) file. When  this allowance is done , the databases is stated to be in “ Clean Shutdown” state and needed no transaction logs to mount because all transactions have already been shown into the database. The below diagram shows the ESEUTIL utility ensures that a database is in Clean Shutdown state.

However, if something causes the database to terminate abnormally, it is expected to result in a Dirty Shutdown state.  Whether a Dirty Shutdown happens and the required transaction logs required for the recovery of the database is dependent fully upon the transactions which were being processed at the time of failure. Below diagram shows a database in Dirty Shutdown requiring log 3 (E0000000003.log) to mount.

It is noted that, there is an easy way to get a database into a Dirty Shutdown (for testing in lab purposes only) is to use Task Manager to kill the Store.exe (Exchange 2000-2010) or the Microsoft.Exchange.Store.Service.exe (Exchange 2013-2016)process. It is strictly recommended that before setting the Microsoft Exchange Service to be in the “Disable” state but not stopping it. This prevents the service itself to restart automatically and the attempt done to mount the database during inspection. The DB1 database which is being showed in the above diagram requires transaction log E0000000003.log because all the transactions which are contained inside this were either partially committed to the .edb file or are simply required to bring the database to a smooth state. Hardly, it is said that why certain logs are required without a deep programmatic understanding of JET Databases, but certainly the log is required and must be available before the database can be counted.

The other alternative is to leverage Stellar Phoenix Mailbox Exchange Recovery software.

Stellar Phoenix Mailbox Exchange Recovery accurately repairs corrupt Exchange Database (EDB) files and saves as MS Outlook PST file. It is capable of handling highly corrupt EDB files and restoring mailbox contents like emails, attachments, contacts, calendars, tasks, deleted items etc.

In Summation:

You are now aware of both the manual as well as the automated method of repair. While the manual methods call for precision and technical know-how, the automated method i.e. using Stellar Phoenix Mailbox Exchange Recovery software becomes a more viable option!

References:

https://www.stellarinfo.com/edb-exchange-server-recovery.htm
https://it.toolbox.com/blogs/recover-outlook/top-5-best-exchange-server-database-edb-recovery-software-for-it-administrators-76911

6 Comments
To repair corrupt or damaged EDB files using an effective tool RecoveryFix for Exchange Server Recovery Tool. With the help of this tool quickly recovers all email items such as emails, attachments, contacts, calendars, tasks, etc. from corrupt EDB files. It supports all versions of MS Exchange server and all updated Windows OS versions. Visit here - http://www.edbtopstutility.net

john phlip
25-Sep-2017 at 00:09
Use Exchange Server Recovery features user-friendly and highly interactive user interfaces, with which you can easily recover your Exchange database files, with the help of extremely efficient scanning algorithm. With this software, mailboxes are recovered and can be imported directly and used as PST file in MS Outlook. Company offer Free Trial version of Exchange Server Recovery tool, it is full featured rather than to save mailbox : http://www.pcrecoveryutility.com/exchange-server-recovery.html

Jeffervarner
13-Oct-2017 at 00:20
You can also check one another effective Exchange EDB Recovery tool from Bitdataconversion. It is one of the best solutions to recover corrupted EDB files as multiple formats without any complexity.
More Information: http://www.bitdataconversion.com/exchange-edb-recovery.html

Robin thapa
04-Jan-2019 at 04:12
Make the recovery of lost or accidentally deleted items of Exchange Server from the EDB file with the help of the best EDB to PST Converter Software of eSoftTools. It can simply recover and migrate all of the Exchange mailbox items such as- emails, contacts, chats, tasks, notes, journals, appointments, etc from the EDB file to other working file formats like- PST, EML, EMLX, MSG, and HTML.

Get More Info:- https://www.esofttools.com/exchange-edb-to-pst-converter.html

Jan Smith
30-Dec-2019 at 05:55
Follow this article:- https://www.recoveryfix.com/blog/fix-exchange-database-dirty-shutdown-error/ and know complete solution for this type of problem.

Richard James
28-Jan-2020 at 05:55
By using this SysInspire EDB to PST Converter software you can easily repair the damaged EDB file and convert the EDB file into PST, EMLX, EML, MSG and HTML formats. The functioning of this software is simple technical or non-technical person both can easily run this software and can repair, convert their EDB file. You can use the free demo version of the software from the given link.

For More Info:- https://www.sysinspire.com/edb-to-pst-converter/

LarryChadbourne
15-Oct-2020 at 05:24
 Log In to Chat