Forum Discussion

James Begent's avatar
James Begent
Copper Contributor
May 30, 2018

Event ID 6398

I have two servers in an on-site SharePoint 2013 service.  I didn't set it up so I'm working my way through it trying to figure it all out.  I've managed to drastically reduce the number of errors in the Event Log but some are persistent.  One is Event ID 6398:

The Execute method of job definition Microsoft.Office.Server.UserProfiles.LMTRepopulationJob (ID bcd77247-d366-4f21-8b7e-f677980fcc03) 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.

I've done some reading and I can tell you that the Distributed Cache service is running, according to the Central Administration site.  There are no failed jobs in Job History.

 

I did notice that the AppFabricCachingService is only up on one server but I've read that this is normal.  In fact the second server doesn't seem to do much at all.

 

My research so far has got me to this point.  It appears I need to do this:

Remove-SPDistributedCacheServiceInstance

Add-SPDistributedCacheServiceInstance

 

Since I'm learning this as I go along what I'm trying to figure out is whether that's likely to break anything?

 

Any useful suggestions will be very welcome.

 

Thanks.

4 Replies

  • Have you verified Dist Cache is *really* running? Use:

    Use-CacheCluster
    Get-CacheHost

    It will report UP, DOWN, or UNKNOWN.
    • James Begent's avatar
      James Begent
      Copper Contributor
      HostName : CachePort            Service Name            Service Status Version Info
      --------------------            ------------            -------------- ------------
      SHARE1:22233 AppFabricCachingService UP             3 [3,3][1,3]
      SHARE2:22233 AppFabricCachingService DOWN           3 [3,3][1,3]

       

      • Trevor Seward's avatar
        Trevor Seward
        MVP

        Ok cool, so you've got something wrong with SHARE2.

         

        On SHARE2, you can remove it as a Dist Cache and re-add it. You should also check the Windows Firewall (or other host-based FW/network FW between SharePoint servers if applicable) to verify the ports are open for AppFabric. Out of the box, SharePoint will add the exception and you'll find it listed under AppFabric.

Resources