訊息佇列服務因傳入序列檢查點檔案問題而無法啟動。

Microsoft.MSMQ.10.0.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.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>