I'm trying to troubleshoot why App Fabric Caching Service is DOWN on SharePoint 2013. I'm new to the installation so unsure of history.
The following line gives an ONLINE status
Get-SPServiceInstance | ? {($_.service.tostring()) -eq "SPDistributedCacheService Name=AppFabricCachingService"} | select Server, Status
Then tried
Use-CacheCluster
Get-CacheHost
and get :
xx.domain.x.x.x AppFabricCachingService DOWN
Windows Services show AppFabric Caching Service as not Running and set on Automatic. Tried manually starting but stops, is this normal behaviour?
Thanks
UPDATE on actions performed:
PS C:\Windows\system32> $instanceName =”SPDistributedCacheService Name=AppFabricCachingService”
$serviceInstance = Get-SPServiceInstance | ? {($_.service.tostring()) -eq $instanceName -and ($_.server.name) -eq $env:computername}
If($serviceInstance -ne $null){ $serviceInstance.Delete()}
PS C:\Windows\system32> Get-SPServiceInstance | ? {($_.service.tostring()) -eq "SPDistributedCacheService Name=AppFabricCachingService"} | select Server, Status
PS C:\Windows\system32> Use-CacheCluster
Get-CacheHost
HostName : CachePort Service Name Service Status Version Info
-------------------- ------------ -------------- ------------
xxx.xxx.xxx.xxx.uk:22233 AppFabricCachingService DOWN 3 [3,3][1,3]
PS C:\Windows\system32>
ERROR In Events log Faulting application name: DistributedCacheService.exe, version: 1.0.4632.0, time stamp: 0x4eafeccf Faulting module name: KERNELBASE.dll, version: 6.3.9600.18340, time stamp: 0x57366075 Exception code: 0xe0434352 Fault offset: 0x0000000000008a5c Faulting process id: 0x1b44 Faulting application start time: 0x01d2da401b0fad47 Faulting application path: c:\Program Files\AppFabric 1.1 for Windows Server\DistributedCacheService.exe Faulting module path: C:\Windows\system32\KERNELBASE.dll Report Id: 5c8b5bac-4633-11e7-8160-005056850f1f Faulting package full name: Faulting package-relative application ID: