Event ID 6398 sharepoint

Tevon2.0 1,106 Reputation points
2023-01-27T14:47:34.96+00:00

Currently seeing this error on my server manager.

The Execute method of job definition Microsoft.SharePoint.Help.HelpCollectionInstallerJob (ID 7d408e24-0871-4b6d-894a-24d1ed414523) threw an exception. More information is included below.

<nativehr>0x80070005</nativehr><nativestack></nativestack>Access denied.. (Correlation=8a5d90a0-59ae-4036-fd6a-97aba154af7c)

Seeing this on the ULS Viewer

Exception stack trace:

at Microsoft.Office.Server.UserProfiles.FeedCacheServiceClient.ExecuteOnChannel(String operationName, CodeBlock codeBlock)

at Microsoft.Office.Server.UserProfiles.FeedCacheServiceClient.IsRepopulationNeeded(Guid callerID)

at Microsoft.Office.Server.UserProfiles.LMTRepopulationJob.IsRepopulationNeeded(UserProfileApplicationProxy proxy, SPPersistedObject parent)

at Microsoft.Office.Server.UserProfiles.FeedCacheRepopulationJob.ShouldRunJob()

at Microsoft.Office.Server.UserProfiles.FeedCacheRepopulationJob.Execute()

at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition jd, Guid targetInstanceId, Boolean isTimerService, Int32& result)

The Execute method of job definition Microsoft.Office.Server.UserProfiles.FeedCacheRepopulationJob (ID 11bb7180-c5f5-4c3c-a09e-d5d42b29be72) threw an exception. More information is included below. Unexpected exception in FeedCacheService.IsRepopulationNeeded: Communications with the cache cluster has experienced a delay past the timeout value,please increase the RequestTimeout of the client... (Correlation=035d90a0-7933-4036-fd6a-9bcb44b294c3)

Microsoft 365 and Office | SharePoint Server | For business
Microsoft 365 and Office | SharePoint Server | Development
{count} votes

1 answer

Sort by: Most helpful
  1. AllenXu-MSFT 24,941 Reputation points Moderator
    2023-01-30T02:17:04.6766667+00:00

    Hi @Tevon2.0 ,

    Please try below for troubleshooting Event ID 6398 and "The Execute method of job definition Microsoft.Office.Server. UserProfiles .FeedCacheRepopulationJob threw an exception" issue.

    • Go to Central Administration->Application Management->Manage services on server->select your search server in Server section located in the top-right corner. Check if there is Distributed cache service, if so, stop it.
    • Try to increase the timeout for the LMTCache and DistributedActivityFeedCache using PowerShell command below:
       $lmtcache = Get-SPDistributedCacheClientSetting -ContainerType DistributedActivityFeedLMTCache  $lmtcache.RequestTimeout="10000" 
       Set-SPDistributedCacheClientSetting -ContainerType DistributedActivityFeedLMTCache $lmtcache  
       $feedcache = get-SPDistributedCacheClientSetting -containertype DistributedActivityFeedCache  $feedcache.RequestTimeout="10000"  
       Set-SPDistributedCacheClientSetting -ContainerType DistributedActivityFeedCache $feedcache
    

    Then use the following command to populate the cache quickly:

       Update-SPRepopulateMicroblogLMTCache -ProfileServiceApplicationProxy <SPServiceApplicationProxyPipeBind> [-AssignmentCollection <SPAssignmentCollection>]
       
       Update-SPRepopulateMicroblogFeedCache -[AccountName <AccountName>] -ProfileServiceApplicationProxy <SPServiceApplicationProxyPipeBind> [-AssignmentCollection <SPAssignmentCollection>] [-SiteSubscription <SPSiteSubscriptionPipeBind>]-[SiteUrl <SiteURL>]
    

    Reference: User Profile Server Application - Jobs fail

       Stop-SPDistributedCacheServiceInstance
       Remove-SPDistributedCacheServiceInstance
       Add-SPDistributedCacheServiceInstance
    

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.