Answered by:
SharePoint Timer Sevice is restarting automatically

Question
-
Hi,
We are having SharePoint 2013 servers and SharePoint Timer Service is restarting automatically (stopped then starts) everyday.
Chcked event viewer to find error:
"The Execute method of job definition Microsoft.Office.Server.UserProfiles.UserProfileImportJob (ID 9c55b177-5003-4a24-ac01-70348b1f0629) threw an exception. More information is included below.
Operation is not valid due to the current state of the object."Please suggest how to stop this automatic restart of timer service.
Regards,
Manish
Wednesday, August 12, 2015 12:36 PM
Answers
-
Hi Manish,
For this issue, I recommend to set the FIM service start up mod to Automatic (Delayed Start).
And grant the Network Service account basic “Read & Execute/List folder contents/Read” permissions to “%ProgramFiles%\Microsoft Office Servers\15.0” for SharePoint 2013.
Perform IISREST and then restart the synchronization service to see how it works.
Here are some similar cases for your references:
Best regards,
Victoria
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.- Proposed as answer by Wendy DZMicrosoft contingent staff Sunday, August 23, 2015 9:26 AM
- Marked as answer by Wendy DZMicrosoft contingent staff Wednesday, September 2, 2015 2:40 AM
Thursday, August 13, 2015 11:55 AM
All replies
-
The timer is restarting because of User Profile Service Application. Check if you UPA is correctly configured.
Also check the ULS logs when the timer job is restarting in order to obtain additional information.
MCITP|MCTS SharePoint| SharePoint Performance blog
Wednesday, August 12, 2015 12:39 PM -
Hi manish,this could be because of many reasons,please check the event logs to find the cause of the issue.check the link below that explains more on the issue.
http://expertsharepoint.blogspot.com/2014/06/sharepoint-20102013-timer-service-keeps.html
Anil Avula[Partner,MCP,MCSE,MCSA,MCTS,MCITP,MCSM] See Me At: http://expertsharepoint.blogspot.de/
Thursday, August 13, 2015 8:18 AM -
Hi ,
In my case I have checked the event viewer logs and got the following error:
"The Execute method of job definition Microsoft.Office.Server.UserProfiles.UserProfileImportJob (ID 9c55b177-5003-4a24-ac01-70348b1f0629) threw an exception. More information is included below.
Operation is not valid due to the current state of the object."Also, User Profile Synchronization service is in stopped state and when I try to start it its stuck on Starting only.
It does not get started. I tried to start it forcefully using powershell commands but no luck FIM service also disabled.
Please suggest.
Thanks!
Manish
Thursday, August 13, 2015 11:08 AM -
Hi Manish,
For this issue, I recommend to set the FIM service start up mod to Automatic (Delayed Start).
And grant the Network Service account basic “Read & Execute/List folder contents/Read” permissions to “%ProgramFiles%\Microsoft Office Servers\15.0” for SharePoint 2013.
Perform IISREST and then restart the synchronization service to see how it works.
Here are some similar cases for your references:
Best regards,
Victoria
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.- Proposed as answer by Wendy DZMicrosoft contingent staff Sunday, August 23, 2015 9:26 AM
- Marked as answer by Wendy DZMicrosoft contingent staff Wednesday, September 2, 2015 2:40 AM
Thursday, August 13, 2015 11:55 AM -
Hi Manish,
Try
Go to Central Administration --> Security --> Configure Service accounts
You will be taken to Credential management. Select the first dropdown. in that select User Profile syncronisation.
Click on Register new managed account.
Specify the username and password(default administrator account). and click OK.
-------------------------------------------------------------------------------------------
If the above is not working then follow the below.
1. Check for FIM services running
2. Stop and start the User profile service
3. If still the issue is continued, request you to delete your service application without deleting the DB and try running the powershell scripts provided in the below link
http://sharepointbjorn.com/2014/06/25/user-profile-synchronization-autofixer/
- Edited by krishna21e Thursday, August 13, 2015 12:21 PM
Thursday, August 13, 2015 12:12 PM