SMS 2003 依赖服务故障: Windows Management Instrumentation 在启动时挂起

SMS_2003_dependent_service_failure__Windows_Management_Instrumentation_hung_on_starting_6_Rule (Rule)

Knowledge Base article:

摘要

当 Windows 服务控制管理器生成事件 ID 7022 时,将触发此警报。该服务的上一条状态消息表明,该服务在指定的时间段内没有按进度运行。此消息并非 SMS 特有的。此问题无法自行解决,必须解决之后 SMS 才能恢复某些核心功能。

原因

这可能是由于该服务或它的某个依赖组件或服务出现严重问题。

解决方法

对于事件 ID 7023,如果该服务未重新启动,请依次单击“开始”、“控制面板”、“管理工具”和“服务”,然后手动启动该服务。如果问题依然存在,请查看 %Windir%\System32\wbem\logs 目录中的日志,以查找可能的原因。

外部支持

有关 WMI 的详细信息,请参阅有关 Microsoft Systems Management Server 的操作指南的附录 B“Windows Management Instrumentation”。该指南位于 Systems Management Server 2003 产品文档网页(该网页可能为英文)。

若要获取进一步的帮助,请参阅 SMS 网站的支持部分 针对 Systems Management Server 的支持所提供的其他支持选项。

其他信息

最好由 SMS 管理员来处理此警报。

示例事件

%1 服务在启动时挂起。

Element properties:

TargetMicrosoft.SMS.2003.Microsoft_SMS_2003_Servers_Installation
CategoryEventCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityLow
RemotableTrue
Alert MessageSMS_2003_dependent_service_failure__Windows_Management_Instrumentation_hung_on_starting_6_Rule.AllertMessageBackwardCompatibility
Event LogSystem
CommentMom2005ID='{729CB8E9-FE44-44DD-B74C-65EA7A680F22}';MOM2005ComputerGroupID={551F3751-72E1-4F62-B516-775D9ACBE7BD}

Member Modules:

ID Module Type TypeId RunAs 
_907D4578_146C_11D3_AB21_00A0C98620CE_ DataSource Microsoft.Windows.EventProvider Default
CollectEventData WriteAction Microsoft.SystemCenter.CollectEvent Default
CollectEventDataWarehouse WriteAction Microsoft.SystemCenter.DataWarehouse.PublishEventData Default
GenerateAlert WriteAction System.Mom.BackwardCompatibility.AlertResponse Default

Source Code:

<Rule ID="SMS_2003_dependent_service_failure__Windows_Management_Instrumentation_hung_on_starting_6_Rule" Target="Microsoft.SMS.2003.Microsoft_SMS_2003_Servers_Installation" Enabled="true" ConfirmDelivery="true" Comment="Mom2005ID='{729CB8E9-FE44-44DD-B74C-65EA7A680F22}';MOM2005ComputerGroupID={551F3751-72E1-4F62-B516-775D9ACBE7BD}">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="_907D4578_146C_11D3_AB21_00A0C98620CE_" Comment="{907D4578-146C-11D3-AB21-00A0C98620CE}" TypeID="WindowsLibrary!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="WindowsLibrary!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Service Control Manager</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Windows Management Instrumentation</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>7022</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="MomBackwardCompatibility!System.Mom.BackwardCompatibility.AlertResponse">
<AlertGeneration>
<GenerateAlert>true</GenerateAlert>
<Owner/>
<Description>
$Data/LoggingComputer$
- SMS 2003 dependent service failure: Windows Management Instrumentation hung on starting.

The Windows Management Instrumentation service running on
$Data/LoggingComputer$
was detected as stopped at
$Data/@time$
.</Description>
<AlertLevel>70</AlertLevel>
<ResolutionState/>
<Source>
$Data/PublisherName$
</Source>
<Name>SMS 2003 dependent service failure: Windows Management Instrumentation hung on starting</Name>
</AlertGeneration>
<InvokerType>0</InvokerType>
</WriteAction>
<WriteAction ID="CollectEventData" TypeID="SystemCenterLibrary!Microsoft.SystemCenter.CollectEvent"/>
<WriteAction ID="CollectEventDataWarehouse" TypeID="DataWarehouseLibrary!Microsoft.SystemCenter.DataWarehouse.PublishEventData"/>
</WriteActions>
</Rule>