Error:
An attempt to start/stop instance of service Distributed Cache on server did not succeed. Re-run the action via UI or command line on the specified server. Additional information is below.
cacheHostInfo is null
Reason:
If you are trying to activate the Distributed cache service in Central admin, you will get the "cacheHostInfo is null" error. This is because the Distributed cache is not able to map with the configured "Cache" location.
Solution:
1. Go to "Caonfig Appfabric" window through "Start" menu
2. Check the server name which is configured in the window as I depicted in the below screenshot
3. Get the server name and replace the server name in the below script
$DC = Get-SPServiceInstance | where {$_.TypeName -eq “Distributed Cache”}
$DC
$DC[0].Provision(“\\Servername“)
4. Execute the script in the SharePoint 2013 Powershell window
Note:
If you are having more than one distributed cache service, you need to replace the above array value for the disabled distributed cache. In my case, i have only one cache service.
That's it...
An attempt to start/stop instance of service Distributed Cache on server
cacheHostInfo is null
Reason:
If you are trying to activate the Distributed cache service in Central admin, you will get the "cacheHostInfo is null" error. This is because the Distributed cache is not able to map with the configured "Cache" location.
Solution:
1. Go to "Caonfig Appfabric" window through "Start" menu
2. Check the server name which is configured in the window as I depicted in the below screenshot
3. Get the server name and replace the server name in the below script
$DC = Get-SPServiceInstance | where {$_.TypeName -eq “Distributed Cache”}
$DC
$DC[0].Provision(“\\Servername“)
4. Execute the script in the SharePoint 2013 Powershell window
Note:
If you are having more than one distributed cache service, you need to replace the above array value for the disabled distributed cache. In my case, i have only one cache service.
That's it...
Great...you save me!!!
ReplyDeletethanks