無法啟動 Service Broker 啟用管理員

Microsoft.SQLServer.2012.Cannot_start_service_broker_activation_manager_5_Rule (Rule)

Knowledge Base article:

摘要

Service Broker 的啟用會協助應用程式進行動態調整以因應訊息流量。一般而言,如果服務的傳輸不可預測地改變,或者如果服務必須動態擴充以符合服務接收的傳輸,應用程式會使用啟用。

Service Broker 啟用程序包含以下兩個步驟。首先,Service Broker 會判定是否需要啟用。其次,Service Broker 會判定啟用是否成功。雖然內部啟用與外部啟用的實際程序不盡相同,然而這兩種策略的整體相關概念是一樣的。

在此情形中,Service Broker 啟用管理員判定的結果為必須啟用,但嘗試啟動 Service Broker 應用程式失敗。

原因

此錯誤在 Windows 應用程式記錄檔中記錄為 MSSQLSERVER 事件識別碼 9701。這可能是在伺服器啟動期間因記憶體不足所造成。原因可能是連線到電腦的一個或多個發生問題的軟體或硬體所致。

解決方式

請調查 Windows 應用程式記錄來找出其他問題所導致的錯誤。

請依照診斷記憶體不足狀況的方式診斷此問題。移除較不重要的應用程式或新增虛擬或實體記憶體來增加可用記憶體。

請考慮以下解決方案來增加可用的記憶體:

Element properties:

TargetMicrosoft.SQLServer.2012.DBEngine
CategoryEventCollection
EnabledTrue
Event_ID9701
Event Source$Target/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/ServiceName$
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
無法啟動 Service Broker 啟用管理員
{0}
Event LogApplication
CommentMom2012ID='{679F7701-5328-45B1-A617-B88F211E4E77}';MOM2012GroupID={467ECC75-C5DA-42BD-955C-A73BBB51AF74}

Member Modules:

ID Module Type TypeId RunAs 
_F6DA1507_12AF_11D3_AB21_00A0C98620CE_ DataSource Microsoft.Windows.EventProvider Microsoft.SQLServer.SQLDefaultAccount
GenerateAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.SQLServer.2012.Cannot_start_service_broker_activation_manager_5_Rule" Target="SQL2012Core!Microsoft.SQLServer.2012.DBEngine" Enabled="true" ConfirmDelivery="true" Remotable="true" Comment="Mom2012ID='{679F7701-5328-45B1-A617-B88F211E4E77}';MOM2012GroupID={467ECC75-C5DA-42BD-955C-A73BBB51AF74}">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="_F6DA1507_12AF_11D3_AB21_00A0C98620CE_" Comment="{F6DA1507-12AF-11D3-AB21-00A0C98620CE}" TypeID="Windows!Microsoft.Windows.EventProvider" RunAs="SQL!Microsoft.SQLServer.SQLDefaultAccount">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>9701</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>$Target/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/ServiceName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.SQLServer.2012.Cannot_start_service_broker_activation_manager_5_Rule.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>