Friday, March 6, 2015

Search Host Controller Service in "Starting" state

I saw Search Host Controller Service in "Starting" state in my newly installed SharePoint 2013 servers. and I cant even start it manually. after goggling i saw so many blogs was posting few difference power-shell commands to solve that issue as bellow. But make sure you have to do few steps.


1. Make sure that start these three services. If you cant see the those service installed, make sure run prerequisites again. (In my case, I saw that I haven't done complete Prerequisites steps.)


2. Run this powershell command after you complete step one

$SA = Get-SPServiceInstance | Where {$_.Status -like “Provisioning”}
$SA.Unprovision()

$SA.Provision()

Or



$inst = Get-SPServiceInstance | ? {$_.TypeName -eq "Search Host Controller Service" } | ? { $_.PrimaryHostController -eq $true }
$sh = Get-SPServiceInstance | ? {$_.SearchServiceInstanceId -eq $inst.SearchServiceInstanceId.ToString()}
$sh.Status
$sh.Unprovision()
$sh.Status
$sh.Provision()
$sh.Status





No comments:

Post a Comment