Wednesday, October 2, 2013

Exchange 2010, An Active Manager operation failed, content index catalog files in the following state: 'Failed'.

Running “Move-ActiveMailboxDatabase  fails with fallowing errors”

$Sname1 = E1
$Sname1 = E2
Get-mailboxdatabase -server $Sname1 -status | where {$_.mounted -eq $true} | Move-ActiveMailboxDatabase -ActivateOnServer $Sname2 -Confirm:$False

 

An Active Manager operation failed. Error The database action failed. Error: An error occurred while trying to validate the specified database copy for possible activat
on. Error: Database copy 'db01' on server 'E1.ZtekZone.com' has content index catalog files in the following state: 'Failed'.. [Database: db01, Server: E1.ZtekZone.com]
    + CategoryInfo          : InvalidOperation: (db01:ADObjectId) [Move-ActiveMailboxDatabase], AmDbActionWrapperException
    + FullyQualifiedErrorId : 52C54005,Microsoft.Exchange.Management.SystemConfigurationTasks.MoveActiveMailboxDatabase

 

image

image

Solution

Get-MailboxDatabaseCopyStatus | fl name, ContentIndexState

Or





$DBstatus = Get-MailboxDatabaseCopyStatus
$DBstatus | fl name,*Content*


image


Now if we are dealing with single Database this would work





Update-MailboxDatabaseCopy "db60ssc\E1" -CatalogOnly

image


Now if we have many Databases





Get-MailboxDatabaseCopyStatus * | where {$_.ContentIndexState -eq "Failed"}

image


To fix all





$DBstatus = Get-MailboxDatabaseCopyStatus
$DBstatus | where {$_.ContentIndexState -eq "Failed"}

image


Now we will use Fallowing Command and append it to above command to fix content index issues








Update-MailboxDatabaseCopy –CatalogOnly

To Update all





Get-MailboxDatabaseCopyStatus * | where {$_.ContentIndexState -eq "Failed"} | Update-MailboxDatabaseCopy –CatalogOnly

 


Reseed the Search Catalog
http://technet.microsoft.com/en-us/library/ee633475.aspx


Enjoy !!

Respectfully,

Oz Casey, Dedeal

( Exchange Server North America MVP)


MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +
http://smtp25.blogspot.com/ (Blog)
http://telnet25.wordpress.com/ (Blog)

4 comments:

Unknown said...

Well, It also happen to me sometimes. Most of the code I run becomes failed.





UPS BATTERIES

smith said...
This comment has been removed by the author.
Unknown said...
This comment has been removed by the author.
Unknown said...
This comment has been removed by the author.