2014年3月10日 星期一

Exchange Server 2010 MSExchange AuditLogSearch 4002 錯誤訊息

當你將 DB 刪除,Mount 一個空的 DB 時,Event Log 每 30 分鐘就會出現以下錯誤訊息

記錄檔名稱:         Application
來源:            MSExchange AuditLogSearch
日期:            2014/3/10 上午 08:55:44
事件識別碼:         4002
工作類別:          General
等級:            錯誤
關鍵字:           傳統
使用者:           不適用
電腦:            ex1.grandsi.com
描述:
A runtime exception occurred in AuditLogSearchServicelet's worker while processing a request. Exception:
Microsoft.Exchange.Data.Storage.ObjectNotFoundException: 提供的儲存區識別碼不是項目的識別碼。 ---> Microsoft.Mapi.MapiExceptionInvalidEntryId: MapiExceptionInvalidEntryId: Unable to open entry ID. (hr=0x80040107, ec=-2147221241)
Diagnostic context:
    Lid: 22318 
    Lid: 19246   StoreEc: 0x80040107
    Lid: 28014 
    Lid: 24942   StoreEc: 0x80040107

   Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, SafeExInterfaceHandle iUnknown, Exception innerException)
   Microsoft.Mapi.MapiStore.OpenEntry(Byte[] entryID, OpenEntryFlags flags)
   Microsoft.Exchange.Data.Storage.StoreSession.GetMapiProp(StoreObjectId id, OpenEntryFlags flags)

   --- 內部例外狀況堆疊追蹤的結尾 ---
 
解決方式:
只要將 Microsoft Exchange Service Host 服務重起就可以囉~~^^
 

2014年2月24日 星期一

Exchange Server 2010 Failed 狀態的內容索引類別目錄


首先使用以下指令來查看狀態
Get-MailboxDatabaseCopyStatus | fl name, contentindexstate

Name              : TCEX02-MDB02\TCEX02
ContentIndexState : Healthy

Name              : TCEX03-MDB02\TCEX02
ContentIndexState : Healthy

Name              : TCEX04-MDB02\TCEX02
ContentIndexState : Failed


使用以下指令修復 Index
Update-MailboxDatabaseCopy "TCEX04-MDB02\TCEX02" -CatalogOnly