当 Windows 服务控制管理器生成 Windows 事件 ID 7023、7024、7031 或 7034 时,将触发此警报。这些事件 ID 并非 SMS 特有的。服务控制管理器可能会尝试重新启动此服务。SMS 站点组件管理器也有可能会尝试重新启动此服务。如果此服务重新启动失败,则该计算机上的 SMS 功能将受到影响。
查找出现此警报的原因:
依次单击“开始”和“控制面板”,然后依次双击“管理工具”和“事件查看器”。
在控制台树中,单击“系统”日志。
在详细信息窗格中,定位相应的事件 ID,并双击查看描述。
这可能是由于该服务或它的某个依赖组件或服务出现严重问题。
对于事件 ID 7023,此消息指明了服务控制管理器遇到的错误。
对于事件 ID 7024,此消息包括特定于服务的错误代码。若要转换此消息中的错误代码,请在命令提示符后键入 net helpmsg [错误代码]。
对于事件 ID 7031,Windows 事件消息列出了服务控制管理器要采取的纠正措施。请记录该事件发生的次数和将采取的纠正措施。检查该服务是否因采取纠正措施而恢复。
需要采取的措施取决于原因。您可能不需要采取任何措施。
如果该服务未重新启动,请依次单击“开始”、“控制面板”、“管理工具”和“服务”,然后手动启动该服务。如果问题依然存在,请查看 SMS\Logs\SMSdbmon.log,以查找可能的原因。
若要获取进一步的帮助,请参阅 SMS 网站的支持部分 针对 Systems Management Server 的支持所提供的其他支持选项。
最好由 SMS 管理员来处理此警报。
示例事件
7023 %1 服务因下列错误而停止:%n%2。\r\n
7024 %1 服务因服务性错误 %2 而停止。\r\n
7031 %1 服务意外地终止,这种情况已经出现了 %2 次。以下的修正操作将在 %3 毫秒内运行: %5。\r\n
7034 %1 服务意外地终止,这种情况已经出现了 %2 次。
Target | Microsoft.SMS.2003.Microsoft_SMS_2003_Site_Database_Servers_Installation |
Category | EventCollection |
Enabled | True |
Alert Generate | True |
Alert Severity | Error |
Alert Priority | Low |
Remotable | True |
Alert Message | SMS_2003_service_failure__SMS_SQL_MONITOR_terminated_unexpectedly_9_Rule.AllertMessageBackwardCompatibility |
Event Log | System |
Comment | Mom2005ID='{AC4F06E4-C3E5-47F7-8F08-019413F450BD}';MOM2005ComputerGroupID={6E07E901-5EEF-4D43-ABC9-5A73BC9B072D} |
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 |
<Rule ID="SMS_2003_service_failure__SMS_SQL_MONITOR_terminated_unexpectedly_9_Rule" Target="Microsoft.SMS.2003.Microsoft_SMS_2003_Site_Database_Servers_Installation" Enabled="true" ConfirmDelivery="true" Comment="Mom2005ID='{AC4F06E4-C3E5-47F7-8F08-019413F450BD}';MOM2005ComputerGroupID={6E07E901-5EEF-4D43-ABC9-5A73BC9B072D}">
<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>MatchesMOM2005BooleanRegularExpression</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_SQL_MONITOR</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 service failure: SMS_SQL_MONITOR terminated unexpectedly.
The SMS_SQL_MONITOR service running on
$Data/LoggingComputer$
was detected as stopped at
$Data/@time$
.</Description>
<AlertLevel>70</AlertLevel>
<ResolutionState/>
<Source>
$Data/PublisherName$
</Source>
<Name>SMS 2003 service failure: SMS_SQL_MONITOR 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>