当 Windows 服务控制管理器生成 Windows 事件 ID 7023、7024、7031 或 7034 时,将触发此警报。这些事件 ID 并非 SMS 特有的。由于此服务未设置为自动启动,因此,服务控制管理器不会尝试重新启动此服务。
查找出现此警报的原因:
依次单击“开始”和“控制面板”,然后依次双击“管理工具”和“事件查看器”。
在控制台树中,单击“系统”日志。
在详细信息窗格中,定位相应的事件 ID,并双击查看描述。
这可能是由于该服务或它的某个依赖组件或服务出现严重问题。
对于事件 ID 7023,此消息指明了服务控制管理器遇到的错误。
对于事件 ID 7024,此消息包括特定于服务的错误代码。若要转换此消息中的错误代码,请在命令提示符后键入 net helpmsg [错误代码]。
对于事件 ID 7031,Windows 事件消息列出了服务控制管理器要采取的纠正措施。请记录该事件发生的次数和将采取的纠正措施。检查该服务是否因采取纠正措施而恢复。
查看 SMSbkup.log 文件。如果备份过程未成功完成,则您不会获得有效的备份快照。确认计划的下一次备份服务是否能成功运行。如果仍然存在此问题,则您将无法恢复站点。
如果 SMS_SITE_BACKUP 未能完成备份任务,则它可能未重新启动在 SMSbkup.ctl 文件的 [Stop] 部分列出的任何服务。SMS 站点组件管理器应在下一个服务间隔尝试重新启动这些服务。确认下列服务是否已重新启动:
SMS_SITE_COMPONENT_MANAGER
SMS_EXECUTIVE
SMS_SQL_MONITOR
若要获取进一步的帮助,请参阅 SMS 网站的支持部分 针对 Systems Management Server 的支持所提供的其他支持选项。
如果打开 Sms\Logs\smsbkup.log,会看到以下条目:
Starting the SMS site backup service
Logging of the date and time the backup process started
Stopping of SMS services
Copying portions of the SMS installation directory to the backup export path
Backing up the various SMS Registry values
Backing up the SMS site database in SQL Server
Starting the SMS Site Component Manager service (which will automatically start the remaining SMS server services)
Logging of the date and time the backup process completed
最好由 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_Primary_Site_Servers_Installation |
Category | EventCollection |
Enabled | True |
Alert Generate | True |
Alert Severity | Error |
Alert Priority | Low |
Remotable | True |
Alert Message | SMS_2003_service_failure__SMS_SITE_BACKUP_terminated_unexpectedly_8_Rule.AllertMessageBackwardCompatibility |
Event Log | System |
Comment | Mom2005ID='{8C19A6F2-0EF0-4F4E-8CEA-C5E729A306BA}';MOM2005ComputerGroupID={5BCC9E15-4EC1-49AB-AABC-E63CFC1D0F31} |
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_SITE_BACKUP_terminated_unexpectedly_8_Rule" Target="Microsoft.SMS.2003.Microsoft_SMS_2003_Primary_Site_Servers_Installation" Enabled="true" ConfirmDelivery="true" Comment="Mom2005ID='{8C19A6F2-0EF0-4F4E-8CEA-C5E729A306BA}';MOM2005ComputerGroupID={5BCC9E15-4EC1-49AB-AABC-E63CFC1D0F31}">
<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_SITE_BACKUP</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_SITE_BACKUP terminated unexpectedly.
The SMS_SITE_BACKUP 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_SITE_BACKUP 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>