我们目前正在使用Exchange版本14.3(Build 123.4)。
似乎每天当我进来的用户都抱怨说,search不在Outlook中工作(在我的机器上确认)。 用户正在使用各种Outlook版本,但大多数是在2010年或2013年。他们都没有在caching模式下使用它。
我不知道什么是实际上再次进行,但我一直在尝试以下几点:
重新启动以下服务:“Microsoftsearch(Exchange)”和“Microsoft Exchange Active Directory拓扑”(以及所有需要它们的服务)。 两者之间似乎涵盖了相当数量的交换服务。
第一天search开始后不久我开始工作。 所有其他的,我最终从shell中执行“。\ ResetSearchIndex.ps1 -force -all”。 当然,重置指数后可能需要一些时间才能重新build立起来,并且工作 – 如果甚至完全解决的话。 也许就在我花时间去完成这些任务的时候,正在解决这个问题。
看来ResetSearchIndex.ps1不是必需的 – 但是其中一个使用“Microsoft Exchange Active Directory拓扑”重新启动的服务(尽pipe不是那些用“Microsoft Search(Exchange)”重新启动的服务)。
运行Test-ExchangeSearch -Identity <username> -Verbose会在消息被切断控制台窗口之前产生一个MapiExecption“Unable to SetSear”,并且:
VERBOSE: [14:36:32.975 GMT] Test-ExchangeSearch : Initializing Active Directory server settings for the remote Windows PowerShell session. VERBOSE: [14:36:33.162 GMT] Test-ExchangeSearch : Active Directory session settings for 'Test-ExchangeSearch' are: View Entire Forest: 'False', Default Scope: 'domain.com', Configuration Domain Controller: 'gc.domain.com', Preferred Global Catalog: 'gc.domain.com', Preferred Domain Controllers: '{ gc.domain.com }' VERBOSE: [14:36:33.162 GMT] Test-ExchangeSearch : Runspace context: Executing user: domain.com/Users/ExchangeSearchAdmin, Executing user organization: , Current organization: , RBAC-enabled: Enabled. VERBOSE: [14:36:33.162 GMT] Test-ExchangeSearch : Beginning processing & VERBOSE: [14:36:33.381 GMT] Test-ExchangeSearch : Instantiating handler with index 0 for cmdlet extension agent "Admin Audit Log Agent". VERBOSE: [14:36:33.537 GMT] Test-ExchangeSearch : Current ScopeSet is: { Recipient Read Scope: {{, }}, Recipient Write Scopes: {{, }}, Configuration Read Scope: {{, }}, Configuration Write Scope(s): {{, }, }, Exclusive Recipient Scope(s): {}, Exclusive Configuration Scope(s): {} } VERBOSE: [14:36:33.599 GMT] Test-ExchangeSearch : Searching objects "user" of type "ADUser" under the root "$null". VERBOSE: [14:36:34.192 GMT] Test-ExchangeSearch : Previous operation run on domain controller 'gc.domain.com'. VERBOSE: [14:36:34.207 GMT] Test-ExchangeSearch : Processing object "domain.com/Org Name/Users/User Name". VERBOSE: [14:36:34.738 GMT] Test-ExchangeSearch : Searching objects "Mailbox Database" of type "MailboxDatabase" under the root "$null". VERBOSE: [14:36:34.785 GMT] Test-ExchangeSearch : Previous operation run on domain controller 'gc.domain.com'. VERBOSE: [14:36:34.831 GMT] Test-ExchangeSearch : Admin Audit Log: Entered Handler:Validate. VERBOSE: [14:36:34.847 GMT] Test-ExchangeSearch : Admin Audit Log: Entered ClassFactory:InitializeConfig. VERBOSE: [14:36:34.925 GMT] Test-ExchangeSearch : Admin Audit Log: Exited ClassFactory:InitializeConfig. VERBOSE: Testing Exchange Search. VERBOSE: [14:36:35.206 GMT] Test-ExchangeSearch : Resolved current organization: . VERBOSE: [14:38:36.061 GMT] Test-ExchangeSearch : Getting catalog state for Mailbox Database "Mailbox Database"... VERBOSE: [14:38:36.124 GMT] Test-ExchangeSearch : Catalog state: Notifications. VERBOSE: [14:38:36.139 GMT] Test-ExchangeSearch : Getting the indexing state for mailbox "User Name" ... VERBOSE: [14:38:36.155 GMT] Test-ExchangeSearch : Mailbox state: Done, Crawl start time: 2015-03-30T13:32:00. VERBOSE: [14:38:36.748 GMT] Test-ExchangeSearch : Getting the message indexing state... VERBOSE: [14:38:37.653 GMT] Test-ExchangeSearch : Document state: Queued, state = 0. VERBOSE: [14:38:37.668 GMT] Test-ExchangeSearch : TimeSinceLastNotificationWasIndexed for MDB Mailbox Database is 337 seconds. Database Server Mailbox ResultFound SearchTime Error InSeconds -------- ------ ------- ----------- ---------- ----- Mailbox D... SERVER-NAME User Name... False -1 Time out for test thread. VERBOSE: [14:38:37.777 GMT] Test-ExchangeSearch : Admin Audit Log: Entered Handler:OnComplete. VERBOSE: [14:38:37.840 GMT] Test-ExchangeSearch : Ending processing &
我们结束了联系第三方,以帮助我们的问题,因为我的研究无处可去。
技术人员开始重试问题中提到的所有内容,以及评论。
原来,构build信息并不是100%准确的,因为我从错误的来源中获取信息。 实际构build信息显示我们在Rollup 8上。
技术人员build议安装Rollup 9(最新版本)。 我星期六就这样做了。 星期一,search没有像原来的问题那样给出错误,但是也没有给出正确的结果。 所以我再次运行ResetSearchIndex.ps1来重buildsearch索引。
自从指数重build以来,它一直运行良好(现在3天),问题每天都在发生。 看起来像汇总9固定我们有什么问题。
在安装更新汇总之后(耗时的操作)完成索引的重build之前,可以尝试修复索引引擎:
转到程序和function(或启动appwiz.cpl)并在Exchange服务器上select“用于Exchange的Microsoft全文索引引擎”,然后select修复。
给它几分钟,function将再次开始工作。
如果这样做不成功,请继续进行索引重build – 从Exchangepipe理控制台运行ResetSearchIndex.ps1。