SMS 2003 依存服務失敗: MSSQLSERVER 啟動時無反應

SMS_2003_dependent_service_failure__MSSQLSERVER_hung_on_starting_9_Rule (Rule)

Knowledge Base article:

摘要

當 Windows 服務控制管理員產生事件 ID 7022 時,即會觸發此警示。此服務無法表示其前次狀態訊息中所指出的時段內是否有進度。 此訊息並非專門針對 SMS。 此狀況不會自行修復,必須先加以解決,SMS 才可繼續其核心功能。

原因

這是服務或其相依元件或服務之一發生重大問題所致。

解決方法

服務若未重新啟動,請依序按一下 [開始]、[控制台]、[系統管理工具] 與 [服務],然後再手動啟動服務。 若問題持續發生,請查看 SQL Server 錯誤記錄檔,從中找出可能的原因。

外部

如需更多的協助,可利用 Systems Management Server 支援 (英文) 之 SMS 網站支援區段中所提供的其他支援選項清單。

其他

此警示最好交由 SMS 系統管理員處理。

範例事件

%1 服務於啟動時停止回應。

Element properties:

TargetMicrosoft.SMS.2003.Microsoft_SMS_2003_Site_Database_Servers_Installation
CategoryEventCollection
EnabledFalse
Alert GenerateTrue
Alert SeverityError
Alert PriorityLow
RemotableTrue
Alert MessageSMS_2003_dependent_service_failure__MSSQLSERVER_hung_on_starting_9_Rule.AllertMessageBackwardCompatibility
Event LogSystem
CommentMom2005ID='{5C96905D-21E4-45D8-A388-53D3537D3CD4}';MOM2005ComputerGroupID={6E07E901-5EEF-4D43-ABC9-5A73BC9B072D}

Member Modules:

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

Source Code:

<Rule ID="SMS_2003_dependent_service_failure__MSSQLSERVER_hung_on_starting_9_Rule" Target="Microsoft.SMS.2003.Microsoft_SMS_2003_Site_Database_Servers_Installation" Enabled="false" ConfirmDelivery="true" Comment="Mom2005ID='{5C96905D-21E4-45D8-A388-53D3537D3CD4}';MOM2005ComputerGroupID={6E07E901-5EEF-4D43-ABC9-5A73BC9B072D}">
<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>
<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>MSSQLSERVER</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>7022</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 dependent service failure: MSSQLSERVER hung on starting.

The MSSQLSERVER service running on
$Data/LoggingComputer$
was detected as stopped at
$Data/@time$
.</Description>
<AlertLevel>70</AlertLevel>
<ResolutionState/>
<Source>
$Data/PublisherName$
</Source>
<Name>SMS 2003 dependent service failure: MSSQLSERVER hung on starting</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>