Exchange server Database offline – Unable to mount EDB file

Error code: An Active Manager operation failed. Error: The database action failed. Error: Operation failed with message: MapiExceptionDatabaseError: Unable to mount database. (hr=0x80004005, ec=1108) Diagnostic context:    Lid: 65256      Lid: 10722   StoreEc: 0x454         Lid: 1494    —- Remote Context Beg —-    Lid: 45120   dwParam: 0x569817    Lid: 57728   dwParam: 0x56995F    Lid: 46144   dwParam: 0x569A97    Lid: 34880   dwParam: 0x569A97    Lid: 34760   StoreEc: 0xFFFFFE0B    Lid: 46144   dwParam: 0x56A13F    Lid: 34880   dwParam: 0x56A13F    Lid: 54472   StoreEc: 0x1388        Lid: 42184   StoreEc: 0x454         Lid: 1750    —- Remote Context End —-    Lid: 1047    StoreEc: 0x454      [Database: Mailbox Database 2093613246, Server: R-FS1.webrooster.local].

man-icon

Quick Solution

EdbMails for EDB to PST Converter is an free tool to convert online & offline corrupt and healthy EDB Files to PST, Live Exchange and Office 365. EDB Download Button

To resolve the above error use Eseutil command with switch.

To Repair EDB file Run Eseutil Commands

Exchange Server is also known as ESE – Extensible Storage Engine and ESEUTIL tool. This tool repairs the Exchange files .edb  files and .stm files. ESEUTIL tool is very well known among administrators using an Exchange server. Administrators are confused about using this tool.

The below information will clear your doubts and can provide complete understanding “How and when to run ESEUTIL commands for Exchange EDB file”.

ESEUTIL Utility with modes

Whenever there is an issue with Exchange server, the administrator is instructed to use built-in tool “ESEUTIL” to run maintenance on the database. Microsoft provides this tool with the Exchange Server pack. Normally the location of the tools is “C:\Program Files\Exchangeserver\Bin”.

List of ESEUTIL tools modes and the respective switch type.

Eseutil Commands Description
/d Defragment the EDB & STM files
/p Repair corrupt EDB file
/mh Display database files headers, logs or checkpoint files
/r Restore your EDB file
/g Check database integrity
/k Verify checksums in the database
/y Copy database files and log files in a more effective way
/cc Perform hard recovery of a database

It is highly recommended to have a copy of the database file, before run the above commands on the database file.

Also, the time take to fix the database file is dependent on the level of file corruption and its current condition. If it is highly corrupted Exchange database will lead to the loss of data.

Exchange Defragmentation Mode

Command: Eseutil /d < edb_file_path >

This command is for Defragmentation. Rearrange the data stored in the hard disk and also reduces the disk space. The performance will be increased in the speed for accessing and retrieval of data from the database.

Exchange Repair Mode

Command: ESEUTIL /P database_filename.edb

This command /p is used to repair data at page and ESE table level instead of application level. It will replace the corruption in the database with the white-space which can be removed with the help of eseutil/d mode.

Exchange File Dump Mode

ESEUTIL /MH {filename.edb | filename.stm | filename.pat}

Header checkpoint of a file can be accessed:
ESEUTIL /MK filename.chk

View the header transaction files:
ESEUTIL /ML filename.log

/M switch is often used to provide you information about the state of the database files. The process of repairing the database using eseutil /r tool can be determined by using /M switch. Also, this tool is helpful for the dumping of header files, checkpoints file, and log files.

If you find the below error codes

1- Error Code – 550 JET error database dirty shutdown state
2- Error Code – 528 Exchange unable to mount data
3- Exchange dirty shutdown state is found

Before you Begin using ESEUTIL

1- Make a backup of the entire database
2- Before implementing ESEUTIL utility must ensure its working process.
3- Dismount database before use

To identify the current Exchange database state user can use ESEUTIL /MH command that will tell about the last shutdown was dirty or clean. It is very important to give the right path of the database to examine Exchange database dirty shutdown state.

Run ESEUTIL /MH <path to database> usually priv1.edb file is used to recover.

Exchange Recovery Mode

Command: ESEUTIL /r < edb_file_path >

This command is used to recover the Exchange database EDB files when the server experiences a Dirty Shutdown state. This will replay your offline database file backup for soft recovery of data.

Exchange database file Integrity Mode

Command: ESEUTIL /g < edb_file_path >

/G key is used to check the logical integrity of the database file in reading – only mode. At ESE level, the command checks for any type of inconsistency for maintaining the integrity of the data.

Eseutil /K Checksum Mode

Command: Eseutil /k [option]

  1. ESEUTIL /K priv1.edb /E (checksums stm file only)
  2. ESEUTIL /K priv1.stm /I (checksums EDB file only)
  3. ESEUTIL /K priv1.stm  (checksums stm header pages only)

Eseutil /k tool in Exchange server is used to check the page level integrity. Also it is used to check the file header damage i.e any corruption in log files, database files or checkpoint files. Checksum integrity of transaction log is also verified in case of database dismount.

Exchange Copy File Mode

Command: ESEUTIL /Y [option]

Eseutil /Y inbuilt utility helps in a copy of the large exchange database files like transaction files, streaming files with great speed. Copying of files also dependent on the disk and the network quality. Also, this tool can be used along with other eseutil switches easily with the help of space between them.
Example: eseutil /y /d

This technique is better than the standard copying of files.

After using the Exchange command mode, if you are not able to move the log files then stop the MS Exchange Information Store and MS Exchange DAG Management Services.   If you do not stop these two services, the E0*.chk and E0*.log files keep on creating new log entries.

After this try mounting the EDB file.

 

ESEUTIL is a very old tool for recovering exchange database files, is still been the more preferred tool by administrators. The different command-line operations help in fixing the database but may cause loss of data. To overcome this disadvantage we recommend you to use EdbMails EDB to PST Converter Offline recovery tool to repair of complete database and extraction.

man-icon

Quick Solution

EdbMails for EDB to PST Converter is an free tool to convert online & offline corrupt and healthy EDB Files to PST, Live Exchange and Office 365. EDB Download Button

Buy Now and avail Upto 75% plus off along with an Edb to PST, Edb to Office 365, Edb to Live Exchange Migrator license from EdbMails! Visit www.edbmails.com for further details.

Leave A Reply

Your email address will not be published.