Today I bring a problema that I faced in one of our customer farms. Central Administration shows that Distributed Cache service was stuck in starting. If I use the Get-SPServiceInstance cmdlet then I can see that it is still provisioning:
Get-SPServiceInstance | ? {($_.service.tostring()) -eq "SPDistributedCacheService Name=AppFabricCachingService"} | select Server, Status
I tried to fix this by removing the service instance and adding it again, but that didn’t work. However, I found that it did work after installing the latest cumulative update for AppFabric 1.1 – here are the steps:
#Gracefully stop the Distributed Cache Service instance: Stop-SPDistributedCacheServiceInstance – Graceful #Remove the Distributed Cache Service instance: Remove-SPDistributedCacheServiceInstance #Install Cumulative Update 5 for AppFabric 1.1 on all servers in the farm Create the new instance: Add-SPDistributedCacheServiceInstance #Start the new service in Central Administration