Wednesday, April 9, 2014

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:
...

Troubleshooting
  1. Action: Opened browser and navigated to URL provided in error message.
    1. Results: Confirmed error message: experienced This page can't be displayed error.
  2. Action: Checked CA Health Reports.
    1. Results: no issue clearly related to user profile synchronization appeared.
  3. Action: Searched for error text.
    1. Results: found potentially relevant reference [1].
  4. Action: in CA, checked services on server.
    1. Results: User Profile services are configured to run on batch server only.  Both User profile Service and User Profile Synchronization Service are started.
  5. Action: in CA, checked service applications.
    1. Results: Both User Profile Service Application and User Profile Service Application Proxy are started.
  6. Action: On server, checked services.
    1. Results: All "SharePoint" services running, except for SharePoint User Code Host and SharePoint VSS Writer.  FIM not running. FIMS is running.
  7. Action: searched further for error text.
    1. Results: found another potentially relevant reference [2].
  8. Action: On Server, using Services, started FIM.
    1. Results: Started and remained started even after several minutes.
  9. Action: in CA, checked User Profile Service page
    1. Results: Profile Synchronization Status indicated Synchronizing.  Few minutes later, status changed to Idle.
  10. Action: on Server, checked Application event log.
    1. Results: event no longer repeats.  Checked again at several minute intervals: no new occurrences.  After ten minutes, still no new occurrences.
  11. Action: Opened browser and navigated to URL provided in error message.
    1. Results: now message displayed changed to: The webpage cannot be found.
  12. Action: started full user profile sychronization.
    1. Results: full sychronization began.  Completed after about 10 minutes.
  13. Action: checked status report (click Idle).
    1. Results: sychronization completed successfully.
Solution
  • Start FIM from the Services msc on the server.
References
  1. 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.
  2. 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.

No comments: