Showing posts with label Exchange 2013. Show all posts
Showing posts with label Exchange 2013. Show all posts

Thursday, 13 March 2014

Windows 2012 R2 & Exchange 2013 SP1 CU3 - DB Corrupted

Problem:
Exchange 2013 mailbox store will not mount after Windows 2012 R2 Upgrade.

Environment:
Windows 2012 Server, upgraded to Windows 2012 R2 Server

NOTE: If your doing a new install make sure to install Windows 2012 R2 Server then exchange. Do not install Windows 2012 server, then install Exchange 2013. After testing you install R2 Update, this will break your exchange. 

Can not mount the database, get the following error:

Log Name:      Application
Source:        ESE
Date:          3/13/2014 1:17:09 PM
Event ID:      613
Task Category: Table/Column/Index Definition
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:     
Description:
Information Store - Mailbox Database 0710374762 (7916) Mailbox Database 0710374762: Database 'C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\Mailbox Database 0710374762\Mailbox Database 0710374762.edb': The primary index 'GlobalsPK' of table 'Globals' may be corrupt. If there is no later event showing the index being rebuilt, then please defragment the database to rebuild the index.


Resolution:

1. Run CMD or command line as Administrator
2. Stop the Microsoft Exchange Information Store Service
    run: net stop MSExchangeIS

3. Execute the database repair:
  c:\Program Files\Microsoft\Exchange Server\V15\Bin>eseutil /p "C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\Mailbox Database 0710374762\Mailbox Database 0710374762.edb"

4. Execute database defragment:
c:\Program Files\Microsoft\Exchange Server\V15\Bin>eseutil /d "C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\Mailbox Database 0710374762\Mailbox Database 0710374762.edb"

5. Start the Microsoft Exchange Information Store Service
    run: net start MSExchangeIS

If your store does not mount you might need to fix your logs.