Question

I've tried several steps from other questions. After removing the service instance and running the command Add-SPDistributedCacheServiceInstace I receive the error:

Add-SPDistributedCacheServiceInstance : ErrorCode:SubStatus:No such host is known

The AppFabric Caching Service is running and the service will show up under services after running the command, but cannot be started.

Running the command Get-CacheHost gives:

HostName: ServerName

CachePort: 22233

ServiceName: AppFabricCachingService

Service Status: UNKNOWN

Version Info: 0 [0,0][0,0]

This is a staging environment with one sharepoint server and one sql server

Was it helpful?

Solution

Another server was originally setup as the cache host for the farm. It had since been removed, but the cache host was never reconfigured. I unregistered the cache host and registered it using the correct server credentials.

Once this change was made, running the Add-SPDistributedCacheServiceInstance cmdlet resolved my issue. Thank you Amal Hashim for pointing me in the right direction.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top