6398 ERRORS Cache cluster is down, restart the cache cluster and Retry.  Collection was modified; enumeration operation may not execute.

Recently started getting these 6398 errors with SharePoint 2013 Single Farm and haven't been able to fix with any google results.  Everything seems to run fine.  They usually appear overnight.  Average 5-9 daily event logs.  See Errors below.

Get-CacheHost always reports UP

Have already tried: 

-  Upgrading to AppFabric CU5

-  Restart-Service AppFabricCachingService

-  Clear Configuration Cache

- habaneroconsulting Distributed Cache Bug

- nobadthing Unexpected exception in feedcacheservice

- mmman itgroove fixing the appfabric cache cluster

- Microsoft unable to start appfabriccachingservice

- dhasalprashantsharepoint lets-troubleshoot-sharepoint

...and many other readings.  (sorry I cant post links even though I verified my account 100 times)

Errors:

The Execute method of job definition Microsoft.Office.Server.UserProfiles.LMTRepopulationJob (ID 414cbbe9-cdb1-4f7a-beed-85fbfd8a10c7) threw an exception. More information is included below.

Unexpected exception in FeedCacheService.IsRepopulationNeeded: Cache cluster is down, restart the cache cluster and Retry.

------------------------------------------------------------------------------------------------------------------

The Execute method of job definition Microsoft.Office.Server.UserProfiles.LMTRepopulationJob (ID 414cbbe9-cdb1-4f7a-beed-85fbfd8a10c7) 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 .

------------------------------------------------------------------------------------------------------------------

The Execute method of job definition Microsoft.SharePoint.Administration.SPProductVersionJobDefinition (ID 95aee52d-88a1-4355-b6b6-9d43d753414e) threw an exception. More information is included below.

Collection was modified; enumeration operation may not execute.


  • Edited by aoneil Friday, March 27, 2015 9:15 PM
March 27th, 2015 9:14pm

Hi,

Please firstly go to Central Administration > Application Management > Manage Services on server, make sure the Distributed Cache service has been started on all servers.

If you execute Get-CacheHost and Get-Cache in SharePoint 2013 Management Shell, is it return the expected information? If it returns the red error message, please refer to the article below to remove SPDistributedCacheServiceInstance and add SPDistributedCacheServiceInstance.:

http://blogs.technet.com/b/saantil/archive/2013/03/31/distributed-cache-in-sharepoint-2013-quot-unexpected-exception-in-feedcacheservice-isrepopulationneeded-cache-cluster-is-down-restart-the-cache-cluster-and-retry-quot.aspx

Regards,

Free Windows Admin Tool Kit Click here and download it now
March 30th, 2015 2:53am

Hi.

Test Restart-CacheCluster and see if its working.
I'm currently having the same problem in my test environment, and hope this might solve it.

Also, did you patch AppFabric this way?

Simon

March 30th, 2015 8:54am

Distributed Cache service is started.  We only have one server.

Get-CacheHost always reports UP

Get-Cache doesn't bring up anything obviously wrong.

I have seen that blog and the script does not work.  The comments say the same.

Free Windows Admin Tool Kit Click here and download it now
March 30th, 2015 5:33pm

Thanks Simon!  I haven't come across that yet..just gave it a shot. I will let you know how it goes.

I did happen to use that article and one other one for the AppFabric update.   It was very helpful.   I had these issues before the AppFabric patch, but after the latest Service Pack update.  Now..I can't remember if it was exactly after so it could be just a coincidence.

Only 2 errors in the log today. 

11:15pm Cache cluster is down, restart the cache cluster and Retry

12:52am Collection was modified; enumeration operation may not execute.

March 30th, 2015 5:39pm

Restart-CacheCluster did not solve the issue :(
Free Windows Admin Tool Kit Click here and download it now
March 31st, 2015 4:46pm

Hi,

If the issue persists, please try to reprovision the Distributed Cache Service per these steps:

1.Run the PowerShell command to stop Distributed Cache Service on all the SharePoint servers one by one.
Stop-SPDistributedCacheServiceInstance -Graceful
2.Remove the Distributed Cache Service instance from all the SharePoint  servers one by one.
Remove-SPDistributedCacheServiceInstance
3.Run the PSCONFIG wizard on all the SharePoint servers
4.Add the Distributed Cache Service instance back to the SharePoint servers
Add-SPDistributedCacheServiceInstance

Regards,

April 1st, 2015 1:47am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics