lundi 2 mars 2009

Event ID 1 From WSH is Logged Indicating an Issue with WMI Providers

Symptoms

The following events are found in the Event Viewer.

Event Type: Error
Event Source: WSH
Event Category: None
Event ID: 1
Description:
Citrix Monitoring Script Event 2
Citrix MetaFrame Session In Down State:
WMI error checking sessions:
Received error: 0x80041013: Provider load failure

Event Type: Error
Event Source: WSH
Event Category: None
Event ID: 1
Description:
Citrix Monitoring Script Event 2
Citrix MetaFrame Session Idle Too Long:
WMI error checking session:
Received error: 0x80041013: Provider load failure

Cause

Suite Monitoring and Alerting (SMA) is an Enterprise licensed feature that uses scripts to monitor predefined problems that can occur in a Presentation Server environment. The scripts in this case are called “Citrix MetaFrame Session Idle Too Long” and “Citrix MetaFrame Session In Down State.” The Citrix SMA Service monitors the event log and checks for WMI events and will send an alert to the Access Suite Console through IMA communication when a problem occurs.

The Citrix SMA Service relies on DCOM and the Citrix WMI Service. Problems with the DCOM configuration or problems with the Citrix WMI Service can cause WSH to log these events in the Event Viewer.

Resolution 1

“Provider load failure” usually means that there is a problem starting the Citrix WMI Service. Verify that the Citrix WMI Service is able to acquire an Enterprise license and that the Citrix WMI Service can be started manually.

Note: Disabling the SMA alert in the Access Suite Console does not prevent the script from running, so you will still get the event log entries.

Resolution 2

1. Disable the Windows Management Instrumentation Service.

2. Stop the Windows Management Instrumentation Service.

3. Delete the M:\WINDOWS\system32\wbem\Repository directory.

4. Re-enable the Windows Management Instrumentation Service.

5. Start the Windows Management Instrumentation Service.

6. Re-install Citrix WMI Providers by going into Add or Remove Programs > Citrix Presentation Server > Change.

7. Restart the server after the installation completes.

8. Open M:\Program Files\Citrix\System32\Citrix\WMI and edit the *.mof files in this location (there should be 4). Edit with notepad.exe and add the following tag at the end of the files:

#pragma autorecover

9. Recompile the mof files by opening a command prompt, changing the directory to \Program Files\Citrix\System32\Citrix\WMI, and running this command:

for /f %s in ('dir /b *.mof *.mfl')do mofcomp %s

Aucun commentaire:

Enregistrer un commentaire