Exchange 2013 – Microsoft Exchange Replication Service restarting

Scenario: Exchange 2013 multiple databases. Replication service starts and stops constantly after reboot.

After a reboot to a non-response Exchange 2013 Server, when running the Get-MailboxDatabaseCopyStatus command was run, all DB’s showed with a Service Down status, after a few seconds, the status changed to initializing and then back to Service Down.

Exchange_Replication

The following events were logged:

Event ID 106 and 4138. It was reporting about 1 database that couldn’t mount.

Exchange_Replication1

Next, Navigate to Applications and Services Logs -> Microsoft -> Exchange -> MailboxDatabaseFailureItems -> Operational.

Here it will give you the name of the DB that cannot replay logs. The next step is to suspend that database.

You can do so by running the following command:

  • Suspend-MailboxDatabaseCopy -Identity “DBName”

After a few seconds, all the databases should mount and that one will show as “failed and suspended”.

You can now update the database copy, in this case it was easier to use theĀ -DeleteExistingFiles switch:

  • Update-MailboxDatabaseCopy -Identity “DBName” -DeleteExistingFiles

Depending on the DB size this can take a while but all should be healthy after this.

Hope it helps.

One comment

Leave a Reply

Your email address will not be published. Required fields are marked *