6

The SharePoint timer service unexpectedly stopped, now I need to reset it to default state because there is a change in login account and password. This is the reason that might be causing this issue.

How can I reset the timer service in this case?

4
  • couple of things to check: make sure you have the config cache folder exist? how many server in the farm? did you update the password in sharepoint central admin or u change it from services
    – Waqas Sarwar MVP
    Commented Nov 10, 2015 at 13:48
  • I change password from my service..how can I changed from central admin? @WaqasSarwarMCSE Commented Dec 5, 2015 at 6:59
  • from central admin > security > configured managed account...over here update the farm admin account password.
    – Waqas Sarwar MVP
    Commented Dec 5, 2015 at 7:01
  • config cache folder is exist but it is different ID, then I create folder from copy Id from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\15.0\Secure\ConfigDB ID, and another thing I already update password through powershell command "stsadm -o updatefarmcredentials -userlogin domain\account -password password " this command but problem remain same @WaqasSarwarMCSE Commented Dec 5, 2015 at 11:32

4 Answers 4

3

Once you have changed the credentials, just restart the timer service. This will reset the credentials and apply the new ones.

Restating the service will not create any problems.

3
  • while I restart service, it not started Commented Nov 10, 2015 at 5:54
  • Please let me know what error does it throw so that I can help you. Commented Nov 10, 2015 at 5:59
  • When I started service, in event log error is "timer service stop unexpectedly" Event ID: 7031 Event ID: 7024 in every two minute error description: Description: The SharePoint 2010 Timer service terminated unexpectedly. It has done this 5969 time(s). The following corrective action will be taken in 30000 milliseconds: Restart the service. Commented Nov 10, 2015 at 5:59
3

You can go through the Url :

https://technet.microsoft.com/en-us/library/ee704549.aspx

or you can apply this:

$farm = Get-SPFarm
$farm.TimerService.Instances | foreach { $_.Stop(); $_.Start(); }
1
  • It start successfully but, after 2 min. again service stopped unexpectedly and in event viewer throw error mention in above commented answer by me, is there any service crash issue, and how to solve it..? @AsadRefai Commented Nov 10, 2015 at 8:33
2

You might want to try clearing the configuration cache.

The steps for doing this are posted on a few places on the web, here's a link to one: http://blogs.msdn.com/b/jamesway/archive/2011/05/23/sharepoint-2010-clearing-the-configuration-cache.aspx

The steps are formatted and it'll take too long to copy and paste and reformat here, but essentially -

  • Stop the timer service

  • Go to %SystemDrive%\ProgramData\Microsoft\SharePoint\Config\*GUID*

  • Back up Cache.ini

  • Delete all the .xml files

  • Open Cache.ini

  • Replace the contents with the number 1

  • Save the file

  • Start the timer service.

2
  • there is no cache.ini file in config folder @james-love Commented Dec 5, 2015 at 12:01
  • I also create folder in %SystemDrive%\ProgramData\Microsoft\SharePoint\Config*GUID* , for that copy Id from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\15.0\Secure\ConfigDB ID , but problem remain same @robert-lindgren Commented Dec 5, 2015 at 12:05
0

check may be this was happen for

I set my farm account and service account same, that is not suggested

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.