The State Service Delete Expired Sessions timer job is not enabled (SharePoint Server 2010)

 

Si applica a: SharePoint Server 2010

Ultima modifica dell'argomento: 2010-06-23

Rule Name:   The State Service Delete Expired Sessions timer job is not enabled

Summary:   The State Service uses a timer job to delete data for expired sessions from the State Service databases. If this timer job is not enabled, the server that hosts the State Service database will run out of disk space and the SharePoint farm will cease to function

Cause:   The State Service Delete Expired Sessions timer job is not enabled.

Resolution:   Enable the timer job by using Central Administration

  1. Verify that the user account that is performing this procedure is a member of the Farm Administrators group.

    Nota

    The timer job settings are farm-wide and cannot be set for individual servers in the farm.

  2. In Central Administration, on the Home page, click Monitoring.

  3. On the Monitoring page, in the Timer Jobs section, click Review job definitions.

  4. On the Job Definitions page, click the State Service Delete Expired Sessions timer job.

  5. On the Edit Timer Job page, specify the schedule that you want, and then click Enable.

Resolution:   Enable the timer job by using Windows PowerShell

  1. Verify that you meet the following minimum requirements: vedere Add-SPShellAdmin.

  2. On the Start menu, click All Programs.

  3. Click Microsoft SharePoint 2010 Products.

  4. Click SharePoint 2010 Management Shell.

  5. At the Windows PowerShell command prompt, type the following command:

    Enable-SPTimerJob StateServiceExpiredSessionJobDefinition
    

For more information, see Enable-SPTimerJob.

Nota

Per l'esecuzione di attività amministrative dalla riga di comando è consigliabile utilizzare Windows PowerShell. Lo strumento da riga di comando Stsadm è deprecato, ma è stato incluso per garantire la compatibilità con le versioni precedenti del prodotto.