locked
Missing Timer Job Definition that's running RRS feed

  • Question

  • There was a server that was deleted from the farm. 3 Timer Job Statuses are linked to the old server, and 1 of those is "Initialized". It's trying to find a dead server that is not coming back. Timer Job Definitions for the old server doesn't exist (great), but the problem lies that a Timer Job is Initialized and I can't get it to stop, and it's running up errors in the event log. The Job id cannot be edited. The event viewer shows the job id, but I don't want to delete it if its running (not sure if thats safe). If I try http://server/_admin/JobEdit.aspx?JobId= + "old server job guid from event viewer" it kicks me back to http://server/_admin/ServiceJobDefinitions.aspx. How can I fix this mess?

    I've read around and saw a couple articles about "stsadm -o deleteconfigurationobject -id <id>" Is that safe for a Timer Job whose status is "Initialized"?

    Can I see what server that job is linked to before I delete it or what it's doing?

    Thursday, June 2, 2011 4:15 PM

Answers

  • clear the file system cache on all servers in the server farm on which the Windows SharePoint Services Timer service is running. To do this, follow these steps:
    1. Stop the Timer service. To do this, follow these steps:
      1. Click Start, point to Administrative Tools, and then click Services.
      2. Right-click Windows SharePoint Services Timer, and then click Stop.
      3. Close the Services console.
    2. On the computer that is running Microsoft Office SharePoint Server 2007 and on which the Central Administration site is hosted, click Start, click Run, type explorer, and then press ENTER.
    3. In Windows Explorer, locate and then double-click the following folder:
      <var>Drive</var>:\Documents and Settings\All Users\Application Data\Microsoft\SharePoint\Config\<var>GUID</var>
      Notes
      • The <var>Drive</var> placeholder specifies the letter of the drive on which Windows is installed. By default, Windows is installed on drive C.
      • The <var>GUID</var> placeholder specifies the GUID folder.
      • The Application Data folder may be hidden. To view the hidden folder, follow these steps:
        1. On the Tools menu, click Folder Options.
        2. Click the View tab.
        3. In the Advanced settings list, click Show hidden files and folders under Hidden files and folders, and then click OK.
      • In Windows Server 2008, the configuration cache is in the following location:
        <var>Drive</var>:\ProgramData\Microsoft\SharePoint\Config\<var>GUID</var>
    4. Back up the Cache.ini file.
    5. Delete all the XML configuration files in the GUID folder. Do this so that you can verify that the GUID folder is replaced by new XML configuration files when the cache is rebuilt.

      Note When you empty the configuration cache in the GUID folder, make sure that you do not delete the GUID folder and the Cache.ini file that is located in the GUID folder.
    6. Double-click the Cache.ini file.
    7. On the Edit menu, click Select All.
    8. On the Edit menu, click Delete.
    9. Type 1, and then click Save on the File menu.
    10. On the File menu, click Exit.
    11. Start the Timer service. To do this, follow these steps:
      1. Click Start, point to Administrative Tools, and then click Services.
      2. Right-click Windows SharePoint Services Timer, and then click Start.
      3. Close the Services console.
      Note The file system cache is re-created after you perform this procedure. Make sure that you perform this procedure on all servers in the server farm.
    12. Make sure that the Cache.ini file in the GUID folder now contains its previous value. For example, make sure that the value of the Cache.ini file is not 1.
    13. Click Start, point to Programs, point to Administrative Tools, and then click SharePoint 3.0 Central Administration.
    14. Click the Operations tab, and then click Timer job status under Global Configuration.
    15. In the list of timer jobs, verify that the status of the Config Refresh entry is Succeeded.
    16. On the File menu, click Close.
    • Marked as answer by David HM Thursday, June 9, 2011 9:17 AM
    Friday, June 3, 2011 9:38 AM