#SharePoint 2013 Search – The gatherer service cannot be initialized

19 Mar 2013
March 19, 2013

I installed SharePoint 2013 on a test system yesterday and was faced with the problem that the search, after successfully provisioning it – did not work. Boo!

Symptoms

There are several noticeable Symptoms

The crawl log shows 1 Top Level Error and 1 Error:

image

Crawl log with 1 Top Level Error and 1 Error

The Eventlog shows some warnings and an error

Error_2

Eventlog with the error “The gatherer service cannot be initialized”

with the following text – not the best error description (again):

Solution

In my case the solution was quite simple. The Temp folder is not the %WINDIR%\Temp or C:\Temp folder – it’s the location of the search index. I installed SP2013 with AutoSPInstaller (<= highly recommended!) with default values, then the index is located in C:\Program Files\Microsoft Office Servers\14.0\Data\Office Server\Applications

If you provisioned the Search Service with my powershell script – then you can customized the Index Location with the $IndexLocation variable in the settings region.

I can’t tell yet if that problem is related to my installation –. I tried to get more information about this problem and it seems like this could happen if you relocated your index, too.

Now to fix the problem, modify the permissions of the Applications folder or the parent folder of your search location.

Grant the local WSS_WPG group at least modify permissions on the folder – in my screenshot I granted full control, it’s just a test system…

Then restart the Search Service, easiest with PowerShell:

Permissions

Altered permissions to fix the issue

Did it work for you?

If (not) – would love to hear your feedback!

Max Melcher
Follow me!

Max Melcher

Maximilian Melcher (MCSE, MCPD) is a Principal Consultant working at Alegri International Services in Munich, Germany. Max is a specialist in SharePoint technologies focused on search, social computing, web content management and collaboration. Max has led SharePoint implementations for Dax 30 companies since 2009.
Max’s free time is spent on twitter (@maxmelcher) mostly with a good coffee in his hands.
Max Melcher
Follow me!
Tags: , ,
2 replies
  1. Marco Schmucker (Alegri) says:

    This really saved my day. Exactly same problem with the AutoSPInstaller script!
    Thanks, Max!

    Reply

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close