Event ID 5401 (Windows SharePoint Services health model)

Windows SharePoint Services 3.0

Applies To: Windows SharePoint Services 3.0

 

Topic Last Modified: 2008-04-27

Error

The Windows SharePoint Services Tracing (SPTrace) service is used by Windows SharePoint Services 3.0 to manage trace output of the call stack. When trace logging is enabled, administrators can specify the path used to store the trace logs. This log file is reused by many applications that are built on top of Windows SharePoint Services 3.0.

 

Product:

Windows SharePoint Services

ID:

5401

Source:

Windows SharePoint Services 3

Version:

12.0

Symbolic Name:

ULSEvtTag_5401

Message:

Tracing Service failed to create the trace log file at '%1'. Error %2: %3

Windows SharePoint Services 3.0 could not create, or write to, the trace log. This trace log contains information that is useful in troubleshooting issues.

This error might be caused by one of the following conditions:

  • The account that Windows SharePoint Services 3.0 is using does not have sufficient rights to the trace log.

  • The hard disk or partition does not have enough room.

To find the location of the log file folder
  1. In Central Administration, on the left navigation pane, click Operations.

  2. In the Logging and Reporting section, click Diagnostic Logging.

  3. On the Diagnostic Logging page, in the Trace Log section, the path to the log file is displayed in the Path box.

To check the permissions assigned to the log file folder
  1. If you do not know the location of the folder, see the "To find the location of the log file folder" procedure. By default, the location is "Program Files\Common Files\Microsoft Shared\web extensions\12\LOGS" but the location can be changed in Central Administration.

  2. Navigate to the folder, right-click the folder, and then click Properties.

  3. On the Security tab, the WSS_ADMIN_WPG Windows group should have Full Control and the WSS_WPG Windows group should have Read & Execute, List Folder Contents, and Read permissions or higher on the folder. If they do not, assign these permissions by using the procedure in the "Assign sufficient permissions" section.

To check the space on the disk or partition
  1. If you do not know the location of the folder, see the "To find the location of the log file folder" procedure. By default, the location is "Program Files\Common Files\Microsoft Shared\web extensions\12\LOGS" but the location can be changed in Central Administration.

  2. Navigate to the disk or partition, right-click it, and then click Properties.

  3. On the General tab, check the free space. The drive or partition should have at least 500 MB for the log files. Note: the space required for the log files depends upon the diagnostic logging settings. To see these settings, use the "To find the location of the log file folder" procedure.

To resolve this issue, use the resolution that corresponds to the cause you identified in the Diagnose section. After performing the resolution, see the "Verify" section to confirm that the feature is operating properly.

 

Cause Resolution

The account that Windows SharePoint Services 3.0 is using does not have sufficient rights to the trace log

Assign sufficient permissions to the trace log

The hard disk or partition does not have enough room

Free up disk space or relocate the trace log

Windows SharePoint Services 3.0 could not write to the trace log because the account that Windows SharePoint Services 3.0 is using does not have sufficient permissions to the trace log or its parent directory. This trace log contains information that is useful in troubleshooting issues.

Ensure that the WSS_ADMIN_WPG Windows group has Full Control and the WSS_WPG Windows group has Read & Execute, List Folder Contents, and Read permissions or higher on the folder containing the trace log. To perform this procedure, you must be a member of the Administrators group on the local computer.

Windows SharePoint Services 3.0 could not write to the trace log. This trace log contains information that is useful in troubleshooting issues.

You can free up space on the drive containing the trace log by removing unneeded files. To perform this procedure, you must be a member of the Administrators group on the local computer.

You can change the location of the trace log to a partition that has more drive space.

To change the location of the trace log file
  1. In Central Administration, on the left navigation pane, click Operations.

  2. On the Operations page, in the Logging and Reporting section, click Diagnostic logging.

  3. On the Diagnostic Logging page, in the Trace Log section, type the new location for the trace log file in the Path box.

  4. Click OK.

Ensure that Windows SharePoint Services 3.0 can create, and write to, the trace log file.

To check if Windows SharePoint Services 3.0 can create, and write to, the trace log file
  1. In the SharePoint Central Administration Web site, on the left navigation pane, click Operations.

  2. On the Operations page, in the Logging and Reporting section, click Diagnostic logging.

  3. On the Diagnostic Logging page, in the Trace Log section, copy the path to the trace log file from the Path box.

  4. In Windows Explorer, navigate to the trace log file by using the copied path and open the file in Notepad, or another text editor.

    You should see log entries in the log file for events after the time that logging failed.

Show: