Recent Blogs‎ > ‎

Fixing a “FailedAndSuspended” content index for an Exchange

posted Oct 14, 2009, 11:11 PM by Karthik Karuppasamy   [ updated Jun 8, 2018, 4:39 AM ]
This post provides the solution for "FailedAndSuspended" status of Exchange Database after rebooting Server if the administrator has single copy of the DB alone. Below are steps to reproduce the issue with Exchange Server 2013 (SP1).
1. Setup Exchange Server "TESTEXCHANGE" and create New Database named "testdb". Note: Exchange server will have default database also. In our case that db name is "Mailbox Database 203053209"
[PS] C:\Windows\system32>get-mailboxdatabasecopystatus
 Name Status CopyQueue ReplayQueue LastInspectedLogTime ContentIndex Length Length State ---- ------ --------- ----------- -------------------- ------------ Mailbox Database 2030532095\TESTEXCHANGE Mounted 0 0 Healthy testdb\TESTEXCHANGE Mounted 0 0 Healthy
2. Restart the server and check the status for DB using following command.
[PS] C:\Windows\system32>get-mailboxdatabasecopystatus | fl name, ContentIndexState Name : Mailbox Database 2030532095\TESTEXCHANGE ContentIndexState : Healthy Name : testdb\TESTEXCHANGE ContentIndexState : FailedAndSuspended
3. Since “ContentIndexState “ was “FailedAndSuspended”, we couldn’t use that DB to recover mail.

Solution to recover Mailbox DB from Failed state:

1. Stop the following exchange services
[PS] C:\Windows\system32>stop-Service MSExchangeFastSearch
WARNING: Waiting for service 'Microsoft Exchange Search (MSExchangeFastSearch)' to stop... WARNING: Waiting for service 'Microsoft Exchange Search (MSExchangeFastSearch)' to stop... 
[PS] C:\Windows\system32>Stop-Service HostControllerService 
WARNING: Waiting for service 'Microsoft Exchange Search Host Controller (HostControllerService)' to stop... [PS] C:\Windows\system32>
2. Delete Index folders for both Mailbox Database 2030532095\TESTEXCHANGE, testdb\TESTEXCHANGE
Default DB index folder path: C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\ In that path check for the folder having very long name and having three sub folders. This is folder where the index is stored. Delete this folder along with sub folders. Make sure you deleted the index folder for default DB and the DB created by yourself.
3. start the following exchange services and check status again
[PS] C:\Windows\system32>Start-Service HostControllerService
[PS] C:\Windows\system32>start-Service MSExchangeFastSearch 
[PS] C:\Windows\system32>get-mailboxdatabasecopystatus | fl name, ContentIndexState Name : Mailbox Database 2030532095\TESTEXCHANGE ContentIndexState : Healthy Name : testdb\TESTEXCHANGE ContentIndexState : Healthy
NOTE: Index folder creation may take some time based on the size. In my setup, it is created within ~4 minutes. Based on the size of the DB it will take some time to become healthy Status.
Comments