SharePoint 2010 – Search service is not able to connect to Administration component server

In this blog post, I would write about most generic issue in SharePoint 2010 search service application and I am sure many of you have already come across this:

In SharePoint 2010 – When you try to browse to a Search Service Application (SSA), it shows he below error:

“System Status:

Crawl: The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component c8519b74 status -<GUID> in search application Search Service Application is in a good state and try again.”

Additionally, you should see below errors in the Event logs:

“Description: The Execute method of job definition Microsoft.Office.Server.Search.Administration.CrawlReportJobDefinition (ID 6dd22d5b-45cb-4860-aa01-d7f7d227a2f6) threw an exception. More information is included below.

The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component ‘9eff6ca0-1e01-4bf4-9653-b26ea54d0e5f’ in search application ‘SP2010 – Search Service Application’ is in a good state and try again. “

If you run PowerShell command ‘Get-SPEnterpriseSearchServiceInstance’, it will show “{}” (NULL) in AdminComponents field.

To get rid of this, follow below steps:

Login to that server.

Run below PowerShell command:


$varInstance = Get-SPEnterpriseSearchServiceInstance -local   # (Assuming that you have only one SSA in farm)


If you type $varInstance and hit Enter key, you should see SharePoint Server Search instance details.

If you see it disabled then run another PS command


Start-SPEnterpriseSearchServiceInstance -Identity <servername>

Once above runs successfully, execute below:


$varSearchApp = get-spenterprisesearchserviceapplication

Now set search Admin component:


set-spenterprisesearchadministrationcomponent –searchapplication $varSearchApp –searchserviceinstance $varInstance

After it gets completed successfully, you need to wait for sometime, may be about 5-10 minutes. Admin component should be ready and you should be able to browse SSA.

Source SharePoint 2010 – Search service is not able to connect to Administration component server.

Tagged:

Comments

  1. Will Chung

    Wow. I spent quite a few hours trying to rebuild a multi server farm SSA where the admin component did not get initialized.

    One very important tip is this:

    When initially provisioning or deprovisioning your SPEnterpriseSearchServiceApplication, try minimizing your search instances to just one server to make the initial provisioning or deprovisioning faster.

    I initially attempted to run Start-SPEnterpriseSearchServiceInstance and Start-SPEnterpriseSearchQueryAndSiteSettingsServiceInstance on all my servers so that all servers were running search when provisioning. This led to the situation where the admin component didn’t get populated and even unprovisioning search hung or failed.

    I later ran Stop-SPEnterpriseSearchServiceInstance [servername] and Stop-SPEnterpriseSearchQueryAndSiteSettingsServiceInstance [servername] on all but one server and
    deprovisioned the ssa successfully with Remove-SPEnterpriseSearchServiceApplicationProxy and Remove-SPEnterpriseSearchServiceApplication commands.

    After that, I was able to reprovision, and that time the AdminComponent did get populated.

Leave a Reply

Your email address will not be published.