Problem
在SharePoint 2013 Central Administration中启动 SharePoint Service(也称为:Service Machine Instance)时,有时会出现"卡住"这种情况,直接的体现就是某个SharePoint Service一直停留在Starting状态,如下图所示:
Resolution
当SharePoint Service的状态为Starting时,不管经过多少时间,仍然没有被启动,就仿佛被"卡住了"那样。不幸的是,无法通过Central Administration来重启此SharePoint Service 。所以只能通过PowerShell来解决这个问题。
- Option 1
Add-PSSnapin Microsoft.SharePoint.PowerShell $instance=Get-SPServiceInstance | Where {$_.Status -like "Provisioning"} $instance.Unprovision() $instance.Provision()
- Option 2
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 "
时间: 2024-10-01 02:26:24