码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2015-02-27 14:51:00      阅读:152      评论:0      收藏:0      [点我收藏+]

标签:

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 " 

 

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

标签:

原文地址:http://www.cnblogs.com/OceanEyes/p/fix-sharepoint-service-status-hang-up.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!