Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search Hangs 1

Status
Not open for further replies.

Borvik

Programmer
Jan 2, 2002
1,392
US
Hello all,

We are currently using Exchange version 14.3 (Build 123.4).

It seems that every day when I come in users are complaining that search is not working in Outlook (confirmed on my machine). Users are using a variety of Outlook versions, but most are on 2010 or 2013. None of them are using it in cached mode.

I'm not sure what is actually getting it going again, but I've been trying the following:

Restarting the following services: "Microsoft Search (Exchange)", and "Microsoft Exchange Active Directory Topology" (plus all the services that require them). Between the two it seems to cover a fair amount of the exchange services.

The first day searches started working sometime shortly after I did that. All the others, I ended up doing ".\ResetSearchIndex.ps1 -force -all" from the shell. Granted it can take some time after resetting the index for it to build up again and work - if that is even fixing it at all. Perhaps just the time it is taking me to do those tasks is fixing the problem.

Any idea what might be going on?

Thanks!
 
Code:
Test-ExchangeSearch -Identity <username>
Running the above code reveals the following:
[pre]
Database Server Mailbox ResultFound SearchTime Error
InSeconds
---------------- ----------------------- --------------- ----------------- ---------------- --------
Mailbox D... SERVERNAME UserName False -1 Time out for test thread.[/pre]

While it was running I noticed an exception: "Unable to SetSear" before it got cut off from the side of the window.
 
I'd say that you need to update the search.
Update Exchange to the current service pack and rollup.
Update the search filter packs to the current version.
Then for each database delete and recreate the search catalog on the active copy of the database then update the passive with a -catalogonly to update their search indexes too.
 
Thanks Zelandakh!

I'm currently in the process of installing Rollup 9 (though 8 was already installed - I found that build information above to be inaccurate, apparently a known problem but supposedly not a bug).

I haven't heard about the search filter packs before - what is this?

Based on a conversation I had with someone else, ResetSearchIndex supposedly does delete the search catalog and rebuild it (i don't know about the -catalogonly option). Is the delete and recreate something different?
 
Office filter pack - Reset-SearchIndex yes, it deletes and recreates. I'd still suggest the updating the database copies afterwards with catalogonly using example 4 in
Those version numbers aren't a bug, to get the current rollup you need a specific command otherwise you'll get the installed version not the build version.
 
Thanks for those links and information!

Turns out we already have "Service Pack 2 for Microsoft Office 2010 Filter Pack (KB2687447) 64-Bit Edition" installed.

I have apparently tried the catalogonly command before (just didn't recognize it). I get an error: Database "Mailbox Database\servername" has only one copy. This task is supported only for databases that have more than one copy.
 
We ended up contacting a 3rd party to help with our problem as my research was getting nowhere (before Zelandakh had posted the first response).

The technician started off retrying everything that was mentioned in the question, and the running a few additional counters/checks.

The technician suggested we install Rollup 9 (the latest). I did this on Saturday. On Monday, the search wasn't giving errors like the original problem, but it wasn't giving proper results either. So I ran ResetSearchIndex.ps1 again to rebuild the search index.

Ever since the index was rebuilt, it has been running fine (3 days now), where the problem used to happen daily. Looks like Rollup 9 fixed whatever issue we were having.

Thanks Zelandakh, looks like you and the other tech both came up with the solution.
 
I would expect resetting the index did it as there isn't anything in ru9 about search.

You may find something in the app logs about an issue but either way you got it resolved.
 
I KNOW that just resetting the index didn't do it - as it had been tried twice prior to the rollup.

Perhaps ru9 didn't really have anything about search, but whatever occurred during the installation of it DID help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top