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

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

Knowledge Base article:

摘要

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

原因

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

解决方法

删除传入序列检查点文件

要执行这些过程,必须拥有“管理员”成员身份,或者已向你委派了适当的权限。

重要提示:如果担心数据丢失,请与 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/zh-cn/library/dd337465(WS.10).aspx)

Element properties:

TargetMicrosoft.MSMQ.10.0.Servers
CategoryAvailabilityHealth
EnabledFalse
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.10.0.Rule.Alert.Event2053" Enabled="false" Target="Microsoft.MSMQ.10.0.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>EventSourceName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>$Target/Property[Type="Microsoft.MSMQ.10.0.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.10.0.Rule.Alert.Event2053.AlertName"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/EventDisplayNumber$</SuppressionValue>
<SuppressionValue>$Data/LoggingComputer$</SuppressionValue>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>