The replay queue length on passive copies of mailbox databases in Database Availability Group continues to increase in an Exchange Server 2010 environment

Article translations Article translations
Article ID: 2322161 - View products that this article applies to.
Expand all | Collapse all

Symptoms

In a Microsoft Exchange Server 2010 environment, the replay queue length on passive copies of mailbox databases in Database Availability Group (DAG) may continue to increase. The log files are copied to the passive copies of the mailbox databases successfully. However, the log files are not replayed into the mailbox databases. Additionally, when the Microsoft Exchange Replication service starts, the following event is logged in the Application log:


Log Name: Application
Source: ExchangeStoreDB
Event ID: 142
Task Category: Database recovery
Level: Error
Keywords: Classic
Description:
At <Date/Time> the Microsoft Exchange Information Store Database <Database Name> copy on this server encountered an error during the attempt to replay logs. Consult the event log on the server for other "ExchangeStoreDb" or "msexchangerepl" events for more specific information about the failure. The operation will be retried automatically.

Cause

This issue occurs when the mailbox databases have the "Don't mount this database at startup" check box selected. In this situation, Extensible Storage Engine cannot attach to the databases to replay the logs. 

Resolution

To resolve this issue, install the following update rollup:
2425179 Description of Update Rollup 2 for Exchange Server 2010 Service Pack 1

Workaround

To work around this issue, clear the "Don't mount this database at startup" check box from the databases properties. To do this, use one of the following methods.
  • Method 1: To perform this operation in the Exchange Management Console, follow these steps:
    1. In the Exchange Management Console, expand Organization Configuration and then expand Mailbox.
    2. Select and then right-click the database.
    3. Click Properties and then click the Maintenance tab.
    4. Clear the "Don't mount this database at startup" check box.
    5. Click Apply and then click OK.
    6. Restart the Microsoft Exchange Replication service.

  • Method 2: To perform this operation in the Exchange Management Shell, follow these steps:
    1. Run the following command in the Exchange Management Shell:
      Set-MailboxDatabase -identity "<Mailbox Database Name>" -MountAtStartup $True
    2. Restart the Microsoft Exchange Replication service.

More information

To find which databases have the "Don't mount this database at startup" check box set, use the following command in the Exchange Management Shell:
Get-Mailboxdatabase | where { $_.mountatstartup -like "False" }
To clear this check box for all these databases, use the following command in the Exchange Management Shell:
Get-Mailboxdatabase | where { $_.mountatstartup -like "False" } | Set-MailboxDatabase -MountAtStartup $True

Properties

Article ID: 2322161 - Last Review: February 3, 2014 - Revision: 5.0
Applies to
  • Microsoft Exchange Server 2010 Service Pack 1, when used with:
    • Microsoft Exchange Server 2010 Enterprise
    • Microsoft Exchange Server 2010 Standard
Keywords: 
kbsurveynew kbhotfixrollup kbqfe kbfix kbexpertiseinter KB2322161

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com