
I was running both a SharePoint 2013 and a SharePoint 2016 standard edition installation with stock, out of the box setups. Seemingly randomly, and on the same day, both started generating Critical Event 6398 Errors once every hour that looked like the error below:
By the way, also check out part #2 of this solution to check out what to do next after this.
The Execute method of job definition Microsoft.Office.Server.UserProfiles.LMTRepopulationJob (ID ...) threw an exception. More information is included below. Unexpected exception in FeedCacheService.IsRepopulationNeeded: Connection to the server terminated,check if the cache host(s) is running .. (Correlation=...)
I was able to resolve these using the steps below. To summarize, what I did was first to:
- check that the Distributed Cache was in fact fine
- then to remove and re-instantiate the Distributed Cache
Step #1: Check that your Distributed Cache is up and running:
First open up your SharePoint Management Shell (don’t forget to right-click to run this as an administrator)
Once the command shell prompt appears, you can query the cache to make sure it is actually up and running. To do so, first enter:
Use-cachecluster
Get-cachehost
Get-CacheAllowedClientAccounts
WSS_ADMIN_WPG WSS_WPG
Step #2: Remove and Re-Add the Distributed Cache Service Instance
Remove-SPDistributedCacheServiceInstance
Add-SPDistributedCacheServiceInstance
1 thought on “SharePoint: Addressing Seemingly Random Critical Error Event 6398”