How to Fix – “Content Index State Failed and Suspended” Error

Summary: The content index state is failed and suspended” is an error that appears in the Exchange Server DAG setup that can prevent the DAG from switchover or failover to another server if a disaster strikes or the primary server stops working. This can impact the users as they won't be able to connect or access their mailboxes. In this blog, we have shared some solutions that you may follow to try to fix the error and restore client-server connectivity.

You might encounter an unusual error on the Exchange Server database index saying, “The content index state is failed and suspended.” The error does not impact the accessibility to the databases as the users will still be able to access, read, send, and receive the emails. However, this will impact any user who is trying to connect via Outlook Web Access (OWA) and trying to search in the mailbox.

The functionality impact of the error on the Exchange Server infrastructure is that if you have a Database Availability Group (DAG) setup, it can cause issues when doing a switchover or failover to another server. Although it is not critical to the users, you will not want any issues with your server. If something occurs on the server and it fails to do a failover, it will leave your users without access to their mailboxes.

Reasons for Content Index “failed” and “suspended”

  1. This issue might occur during a migration from an older version of Exchange Server or due to a problem of storage space.
  2. Issues might occur post an installation of the latest Cumulative Update (CU) either to a bad update or wrongfully installed an incompatible version.
  3. The server ended with no disk space where the database is stored and ended up with a failure on the index.
  4. Antivirus software which is not compatible with the Exchange Server installed or wrongly configured, can lock the Exchange Server files, and stop the indexing from working successfully. It’s important to not have an aggressive configuration as this might disrupt the system.
  5. Another thing is to ensure that the replication is working fine in a Database Availability Group (DAG) as this would also affect the indexing and of course the data in case of a failover.

If the issue has been reported by the users that they cannot search on their mailboxes, the only way to identify the issue is by checking the mailbox database copy status.

For this, you can use the PowerShell cmdlet Get-MailboxDatabaseCopyStatus in the Exchange Management Shell (EMS).

Get-MailboxDatabaseCopyStatus * | sort name | Select name,status,contentindexstate

This will show the status of the databases and the content index state. If the state shows FailedAndSuspended, then you need to intervene to resolve the problem.

Resolve ‘Content Index State Failed’ on Single Exchange Server

When your Exchange Server is a standalone server and is not part of a Database Availability Group (DAG), you can rebuild the content index by following the below procedure.

Note: Although this is a simple procedure, you might end up with performance degradation on the server as it is very resource-hungry on the CPU utilization. It is strongly suggested to run this process during a maintenance window or at night or on a weekend.

Stop-Service MSExchangeFastSearch 
Stop-Service HostControllerService
Get-MailboxDatabase <database name> | select EdbFilePath
Start-Service MSExchangeFastSearch 
Start-Service HostControllerService

Fix ‘Content Index State Failed’ in DAG Exchange Setup

Update-MailboxDatabaseCopy <database name>\<source server name> -CatalogOnly -BeginSeed

If still issue is not fixed then you can follow these steps-

You can also check this blog if content index state status is unknown.

To Conclude

While the above-given procedure resolves the issue, this does not mean that it will work every time. If the issue occurs on a regular basis, it indicates corruption in the database. If this is the case, you can use the Exchange server native tools, such as ESEUtil, to run a database recovery process. However, to do so, the database must be offline.

Alternatively, you can use Stellar Repair for Exchange to repair and export all mailboxes to PST and other formats, while being able to browse the whole database, mailboxes, contacts, calendar, tasks, and journal of each mailbox. By using the Exchange recovery software, you can also export all mailboxes directly to a live Exchange database or an Office 365 tenant, matching the mailboxes and other features.

FAQ

Related Post

Stellar Data Recovery

Trial Download is for Desktop or Laptop. Put your email id to receive the download link




Exit mobile version