SharePoint 2013: Event 6398: The Execute method of job definition Microsoft.Office.Server.UserProfiles. UserProfileImportJob threw an exception
Problem
You review a SharePoint 2013 server's Application log and see the following event occur at approximately one (1) minute intervals:
Log Name: Application
Source: Microsoft-SharePoint Products-SharePoint Foundation
Date: [date/time]
Event ID: 6398
Task Category: Timer
Level: Critical
Keywords:
User: [FarmServiceAccount]
Computer: [ServerName]
Description:
The Execute method of job definition
Microsoft.Office.Server.UserProfiles.UserProfileImportJob
(ID deabe75d-3701-43c1-9968-920febb91024) threw an exception. More information is
included below.
There was no endpoint listening at
http://[ServerName]:5725/ResourceManagementService/MEX
that could accept the message. This is often caused by an incorrect address or
SOAP action. See InnerException, if present, for more details.
Event Xml:
...
Eventvwr issue description:
The Execute method of job definition Microsoft.Office.Server.UserProfiles.LMTRepopulationJob
(ID 527cfd8b-d67e-4dba-9dde-6426acc18c42) threw an exception. More information is
included below.
Unexpected exception in FeedCacheService.IsRepopulationNeeded: Cache cluster is down, restart the cache cluster and Retry.
Troubleshooting
- Action: Opened browser and navigated to URL provided in error message.
- Results: Confirmed error message: experienced This page can't be displayed error.
- Action: Checked CA Health Reports.
- Results: no issue clearly related to user profile synchronization appeared.
- Action: Searched for error text.
- Results: found potentially relevant reference [1].
- Action: in CA, checked services on server.
- Results: User Profile services are configured to run on batch server only. Both User profile Service and User Profile Synchronization Service are started.
- Action: in CA, checked service applications.
- Results: Both User Profile Service Application and User Profile Service Application Proxy are started.
- Action: On server, checked services.
- Results: All "SharePoint" services running, except for SharePoint User Code Host and SharePoint VSS Writer. FIM not running. FIMS is running.
- Action: searched further for error text.
- Results: found another potentially relevant reference [2].
- Action: On Server, using Services, started FIM.
- Results: Started and remained started even after several minutes.
- Action: in CA, checked User Profile Service page
- Results: Profile Synchronization Status indicated Synchronizing. Few minutes later, status changed to Idle.
- Action: on Server, checked Application event log.
- Results: event no longer repeats. Checked again at several minute intervals: no new occurrences. After ten minutes, still no new occurrences.
- Action: Opened browser and navigated to URL provided in error message.
- Results: now message displayed changed to: The webpage cannot be found.
- Action: started full user profile sychronization.
- Results: full sychronization began. Completed after about 10 minutes.
- Action: checked status report (click Idle).
- Results: sychronization completed successfully.
Solution
- Start FIM from the Services.msc on the server.
References
- The Execute method of job definition Microsoft.Office.Server.UserProfiles.UserProfileImportJob (ID d644d54c-4e78-41a7-86d8-87a8cc8efcaa) threw an exception. More information is included below.
- There was no endpoint listening at [URL] ResourceManagementService/MEX that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.