Question

New MinRole SharePoint 2019 farm, new SSA created with Central Admin or Powershell (tried both ways and got the same error described in this question). Using Powershell, I created a clone of the active topology and after I created all its components and running $clone.Activate() I get the following error:

Exception calling "Activate" with "0" argument(s): "Topology activation job died prematurely, the topology already is in Activating state." At line:1 char:1 $clone.Activate() + CategoryInfo : NotSpecified: (:) [], MethodInvocationException + FullyQualifiedErrorId : SearchTopologyActivationException

I am logged as the farm account on the Server with MinRole: Application with Search and running Powershell ISE as Admin. I already recreated from scratch a new SSA created with Central Admin and this one I created it with Powershell, but getting the same error. $clone.State = Activating and has been stuck in that state since yesterday.

noderunner.exe is located at D:\Microsoft Office Servers\16.0\Search\Runtime\1.0

Any ideas about how can I resolve this error?

Was it helpful?

Solution

Using Central Administration, logged as the farm account I deleted SSA and recreated it and then I was able to get the topology working thanks to this link being noderunner.exe the issue due to Log on as account used for Windows services SharePoint Search Host Controller and SharePoint Server Search 16 not being an admin account.
Summary of steps performed:

  1. Installed Procmon.exe on the Search Server and using the "Process Tree" view I confirmed that there were several "noderunner.exe" processes under hostcontrollerservice.exe (more than the amount of topology components that I have) that were started but ended immediately.
  2. In Central Admin>Security>Configure Service Accounts, changed the account for the 2 following Window services:

    • Search Host Controller Service - changed it from services account to farm account
    • SharePoint Server Search - changed it from crawl account to farm account
  3. Using Powershell created a new search topology, added the search components to it and activated it. Deleted the default topology that was showing Inactive and verified that there were only one topology active after that (the new one)

  4. Went to Search Administration and then saw all topology components listed with a green check showing they were all working properly.

  5. Changed the service account for both services back to the non-admin account one by going to Central Administration>Security>Configure Service Accounts

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top