AutoSPInstaller icon indicating copy to clipboard operation
AutoSPInstaller copied to clipboard

Search Topology can't activate

Open staehelir opened this issue 5 years ago • 5 comments

For several customers on different environments, we have the problem that the initial installation of SharePoint 2019 does not activate the Search Service Application. We install SharePoint 2019 with AutoSPInstaller and use a separate service account for the Search Service Application. Here is the error:

Exception : System.Management.Automation.MethodInvocationException: Exception calling "Activate" with "0" argument(s): "Topology activation job died prematurely, the topology already is in Activating state." ---> Microsoft.Office.Server.Search.Administration.Topology.SearchTopologyActivationException: Topology activation job died prematurely, the topology already is in Activating state. at Microsoft.Office.Server.Search.Administration.Topology.SearchTopology.ActivateSilently() at CallSite.Target(Closure , CallSite , Object )

The problem can only be solved if the Search Service Application is created under the Farm account. Are you aware of this problem and is there a solution that activates the Search Service Application under the Search Service Account?

staehelir avatar Apr 23 '19 07:04 staehelir

I'm not aware of this problem - but if I have time I'll try to reproduce it ASAP, thanks!

brianlala avatar Apr 25 '19 14:04 brianlala

any updates on this? i ran into this same issue.

fmeloSP avatar Aug 28 '19 21:08 fmeloSP

@staehelir @brianlala I have been looking around, but can't make it work, did you find a solution?

luisnjuarez avatar Apr 12 '20 16:04 luisnjuarez

What happens if you delete the search service application including dbs, re run the script and let the ssa create. Try to run the script from the index server if possible. I had the same issue few days ago but was able to resolve by recreating. I build these environment often and use autosp a lot.

Sent from Outlook Mobilehttps://aka.ms/blhgte


From: Luis Juarez Guzman [email protected] Sent: Sunday, April 12, 2020 12:46:48 PM To: brianlala/AutoSPInstaller [email protected] Cc: Subscribed [email protected] Subject: Re: [brianlala/AutoSPInstaller] Search Topology can't activate (#41)

@staehelirhttps://github.com/staehelir @brianlalahttps://github.com/brianlala I have been looking around, but can't make it work, did you find a solution?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/brianlala/AutoSPInstaller/issues/41#issuecomment-612643844, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHLKYY3LRGC35ZDVLMBTXQDRMHV7RANCNFSM4HHVKO6Q.

UmrG avatar Apr 12 '20 21:04 UmrG

There were a few issues in my case, as after too many attempts, It was so messy

  • The service application did not have access
  • I could not make AutoSPInstaller work for Search Topology with multi components in a medium farm
  • So I created my own script
  • in SharePoint 2019, I had to add an inbound role to the firewall for WCF Comms via port 808
  • I had to manually deleted all Search Serv App Pools
  • Delete SSA and recreate from scratch

luisnjuarez avatar Apr 12 '20 21:04 luisnjuarez