由于传入序列检查点文件问题导致消息队列服务无法启动。

Microsoft.MSMQ.6.3.Rule.Alert.Event2053 (Rule)

Knowledge Base article:

摘要

传入序列检查点文件初始化失败。Msmq\Storage 文件夹中的 MQInSeqs.lg1 或 MQInSeqs.lg2 文件损坏或缺失。

原因

检查点文件必须为可用,“消息队列”才能正常运行。要解决此问题,必须删除传入序列检查点文件,以及“消息队列”存储目录中的 QMLog 文件。该操作可能会导致复制一些消息。但是,这可以尽快开始运行服务,而且通常不会丢失数据。

解决方案

删除传入序列检查点文件

要执行这些过程,您必须拥有 Administrators 成员身份,或者您必须被委派了适当的权限。

重要提示:如果您担心数据丢失,请与 Microsoft 客户服务与支持部门 (CSS) 联系。有关如何联系 CSS 的信息,请参阅“企业支持”( http://go.microsoft.com/fwlink/?LinkId=52267)。

删除检查点文件

要删除检查点文件,请执行以下操作:

警告:注册表编辑不当可能会严重损坏您的系统。更改注册表之前,您应备份任何有价值的数据。

重新启动 MSMQ 服务

要重新启动 MSMQ 服务,请执行以下操作:

其他

如果您担心数据丢失,请与 Microsoft 客户服务与支持部门 (CSS) 联系。有关如何联系 CSS 的信息,请参阅“企业支持”( http://go.microsoft.com/fwlink/?LinkId=52267)。

有关详细信息,请参阅事件 2053(网址为 http://technet.microsoft.com/en-us/library/dd337465(WS.10).aspx

Element properties:

TargetMicrosoft.MSMQ.6.3.Servers
CategoryAvailabilityHealth
EnabledFalse
Event_ID2053
Event Source$Target/Property[Type="Microsoft.MSMQ.6.3.ServerRole"]/ServiceName$
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
由于传入序列检查点文件问题导致消息队列服务无法启动。
{0}
Event LogApplication

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
GenerateAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.MSMQ.6.3.Rule.Alert.Event2053" Enabled="false" Target="Microsoft.MSMQ.6.3.Servers" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>AvailabilityHealth</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>$Target/Property[Type="Microsoft.MSMQ.6.3.ServerRole"]/ServiceName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>2053</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.MSMQ.6.3.Rule.Alert.Event2053.AlertName"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/EventDisplayNumber$</SuppressionValue>
<SuppressionValue>$Data/LoggingComputer$</SuppressionValue>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>