ConfigMgr 2007 服務失敗: SMS Agent Host 意外終止

SMSv4_service_failure__SMS_Agent_Host_terminated_unexpectedly_17_Rule (Rule)

Knowledge Base article:

摘要

當 Windows 服務控制管理員產生 Windows 事件識別碼 7023、7024、7031 或 7034 時,即會觸發此警示。這些事件識別碼並非專門針對 Configuration Manager。服務控制管理員可能會嘗試重新啟動此服務。Configuration Manager Site Component Manager 亦可能會嘗試重新啟動此服務。如果這個服務無法成功重新啟動,將可能造成此電腦的 Configuration Manager 功能受損。

若要調查此警示:

1.依序按一下 [開始] 及 [控制台],按兩下 [系統管理工具],然後按兩下 [事件檢視器]。

2.在主控台樹狀目錄中,按一下 [系統] 記錄。

3.在詳細資料窗格中,找到事件識別碼 (可有多個) 並按兩下,檢視其說明。

原因

.

解決方法

其他

7023 %1 服務因下列錯誤而終止:%n%2\r\n。

7024 %1 服務因服務特有的錯誤 %2 而終止。\r\n。

7031 %1 服務未預期地終止。這已發生過 %2 次。將於 %3 毫秒之後採取下列修正動作:%5。\r\n。

7034 %1 服務未預期地終止。這已發生過 %2 次。

此警示最好交由 Configuration Manager 系統管理員處理。

外部

如需更多協助,請參閱 Configuration Manager 2007 支援網站 (英文) 上,Configuration Manager 網站支援區段中的其他支援選項清單。

Element properties:

TargetMicrosoft.SystemCenter.ConfigurationManager.2007.Microsoft_SMSv4_Management_Point_Servers_Installation
CategoryEventCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityLow
RemotableTrue
Alert MessageSMSv4_service_failure__SMS_Agent_Host_terminated_unexpectedly_17_Rule.AllertMessageBackwardCompatibility
Event LogSystem
CommentMom2005ID='{F79A9B6F-3F72-47C2-9D96-53076057EC50}';MOM2005ComputerGroupID={C24B3F30-443C-4824-98CE-683950E4939B}

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="SMSv4_service_failure__SMS_Agent_Host_terminated_unexpectedly_17_Rule" Target="Microsoft.SystemCenter.ConfigurationManager.2007.Microsoft_SMSv4_Management_Point_Servers_Installation" Enabled="true" ConfirmDelivery="true" Comment="Mom2005ID='{F79A9B6F-3F72-47C2-9D96-53076057EC50}';MOM2005ComputerGroupID={C24B3F30-443C-4824-98CE-683950E4939B}">
<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>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="Integer">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesMOM2005RegularExpression</Operator>
<Pattern>^(7031|7034|7023|7024)$</Pattern>
</RegExExpression>
</Expression>
<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>SMS Agent Host</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$
- ConfigMgr 2007 service failure: SMS Agent Host terminated unexpectedly.

The SMS Agent Host service running on
$Data/LoggingComputer$
was detected as stopped at
$Data/@time$
.</Description>
<AlertLevel>70</AlertLevel>
<ResolutionState/>
<Source>
$Data/PublisherName$
</Source>
<Name>ConfigMgr 2007 service failure: SMS Agent Host terminated unexpectedly</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>