Sharepoint: Search service is not running

Minh Nguyễn Đức 1 Reputation point
2021-12-30T03:53:43.34+00:00

Hi, i change database server by following this move-sharepoint-databases-to-new-sql-server.html .
My old database hostname MyDB01, my new database is HA (MyDB01, MyDB02, VIP 172.17.82.6)
Here is my alias config:

161362-aliasdmz.png

Its working fine except the search service application.
I get this error:

161371-searchserviceerror.png

Please give me advice!

Microsoft 365 and Office SharePoint Server For business
Microsoft 365 and Office SharePoint Server Development
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. CaseyYang-MSFT 10,461 Reputation points
    2021-12-30T08:36:02.64+00:00

    Hi @Minh Nguyễn Đức ,

    1.Please check your search service instance status: Get-SPEnterpriseSearchServiceInstance -Local.
    And you could start the instance by PowerShell if it is not Online:

    $hostA = Get-SPEnterpriseSearchServiceInstance -Identity "server-name"  
     Start-SPEnterpriseSearchServiceInstance -Identity $hostA  
    

    2.You could simply change the application pool to use SharePoint Web Services System for search service applications and check.

    3.Enable the timer job and do IIS reset: Enable-SPTimerJob job-application-server-admin-service

    4.Ensure the account has full control permissions on the Search service application and IIS account used by this service application
    Central Admin > Security > Configure service accounts > Select the search service application > For "select account for this component" Select a account which has full permission

    5.You could try to run Products Configuration Wizard.

    For Reference: SharePoint Server: "The search service is not able to connect to the machine that hosts the administration component"


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.