Compartilhar via


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

 

Aplica-se a: SharePoint Server 2010

Tópico modificado em: 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.

    Observação

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

Observação

Recomendamos que você use o Windows PowerShell ao executar tarefas administrativas de linha de comando. A ferramenta de linha de comando Stsadm está obsoleta, mas está incluída para oferecer suporte à compatibilidade com versões anteriores do produto.