MSExchange Mailbox Replication error 1006 (database doesn’t exist)

Abstract: During troubleshooting you found the event Error 1006 (The Microsoft Exchange Mailbox Replication service was unable to process jobs in a mailbox database) on your Exchange environment and wish to solve that.

Full error message:

Log Name:      Application
Source:        MSExchange Mailbox Replication
Date:          2016-10-04 09:06:31
Event ID:      1006
Task Category: Service
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      exch01.int.contoso.com
Description:
The Microsoft Exchange Mailbox Replication service was unable to process jobs in a mailbox database.
Database: Missing database (df16301a-89a5-4bce-bada-733a70c2ef90)
Error: Database 'df16301a-89a5-4bce-bada-733a70c2ef90' doesn't exist.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="MSExchange Mailbox Replication" />
    <EventID Qualifiers="32772">1006</EventID>
    <Level>3</Level>
    <Task>1</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2016-10-04T07:06:31.000000000Z" />
    <EventRecordID>4004119</EventRecordID>
    <Channel>Application</Channel>
    <Computer>exch01.int.contoso.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Missing database (df16301a-89a5-4bce-bada-733a70c2ef90)</Data>
    <Data>Database 'df16301a-89a5-4bce-bada-733a70c2ef90' doesn't exist.</Data>
  </EventData>
</Event>

This issue might happen if a mailDB was deleted in the past, but the server is still trying to proceed content in it. The solution as explained here is to restart the Microsoft Exchange Mailbox Replication service (which should not cause any outages).

Archives