WAS 意外终止,且没有配置系统以重新启动 WAS

Microsoft.Windows.InternetInformationServices.6.2.WAS.terminated.unexpectedly.and.the.system.was.not.configured.to.restart.it (Rule)

Knowledge Base article:

摘要

大部分网站需要 Internet Information Services (IIS) Windows Process Activation Service (WAS),因为此服务支持可处理 HTTP 请求的 World Wide Web 发布服务 (W3SVC)。WAS 进程管理器将应用程序池映射到现有工作进程,并根据需要生成可托管新应用程序池的 W3SVC 新实例。 如果 WAS 不可用,则大部分网站将无法启动。

解决方法

手动重新启动 WAS 或将其配置为自动重新启动

可能的解决方法包括:

手动重新启动 WAS

若要手动重新启动 WAS,请执行以下操作:

注意:由于 World Wide Web 发布服务 (W3SVC) 依赖于 WAS,你可能需要在启动 WAS 后启动 W3SVC。

配置 WAS 为自动重新启动

若要配置 WAS 为自动重新启动,请执行以下操作:

“恢复”选项卡还提供其他在 WAS 失败时可以指定的操作。这些功能包括:

有关这些选项的详细信息,请在“恢复”选项卡上单击“帮助我设置恢复操作”。

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.6.2.WebServer
CategoryAlert
EnabledTrue
Event_ID5030
Event SourceMicrosoft-Windows-WAS
Alert GenerateFalse
RemotableTrue
Event LogSystem

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
WA WriteAction Microsoft.Windows.Server.IIS.6.2.GenerateAlertAction.SuppressedByDescription Default

Source Code:

<Rule ID="Microsoft.Windows.InternetInformationServices.6.2.WAS.terminated.unexpectedly.and.the.system.was.not.configured.to.restart.it" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.6.2.WebServer" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-WAS</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>5030</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Windows.Server.IIS.6.2.GenerateAlertAction.SuppressedByDescription">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.InternetInformationServices.6.2.WAS.terminated.unexpectedly.and.the.system.was.not.configured.to.restart.it.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>