SharePoint 2013 Service 状态无法启动,显示“启动中(Starting)”

2018-01-11 14:31:44 浏览数 (1)

Problem

在SharePoint 2013 Central Administration中启动 SharePoint Service(也称为:Service Machine Instance)时,有时会出现"卡住"这种情况,直接的体现就是某个SharePoint Service一直停留在Starting状态,如下图所示:

Resolution

当SharePoint Service的状态为Starting时,不管经过多少时间,仍然没有被启动,就仿佛被"卡住了"那样。不幸的是,无法通过Central Administration来重启此SharePoint Service 。所以只能通过PowerShell来解决这个问题。

  • Option 1
代码语言:javascript复制
Add-PSSnapin Microsoft.SharePoint.PowerShell

$instance=Get-SPServiceInstance | Where {$_.Status -like "Provisioning"}

$instance.Unprovision()

$instance.Provision()
  • Option 2
代码语言:javascript复制
Add-PSSnapin Microsoft.SharePoint.PowerShell

$instance=Get-SPServiceInstance | Where {$_.TypeName -eq "Search Host Controller Service"}

Stop-SPServiceInstance -Identity "SharePoint Service Instance Id" //换为实际Farm中Service Instance Id,为GUID

Start-SPServiceInstance -Identity "SharePoint Service Instance Id " 

0 人点赞