WAS가 응용 프로그램 풀에 대한 자동 종료 실행 파일을 실행하지 못했습니다.

Microsoft.Windows.InternetInformationServices.6.2.WAS.did.not.run.the.automatic.shutdown.executable.for.application.pool (Rule)

Knowledge Base article:

요약

웹 사이트 및 웹 응용 프로그램은 IIS(인터넷 정보 서비스) 응용 프로그램 풀의 가용성에 따라 달라집니다. 결과적으로 IIS 응용 프로그램 풀은 WAS(Windows Process Activation Service)에 종속됩니다. WAS가 실행되고 있지 않거나 응용 프로그램 풀을 시작 또는 종료하는 동안 오류가 발생하는 경우 웹 사이트 및 웹 응용 프로그램을 사용할 수 없습니다.

해결 방법

자동 종료 실행 파일 확인

W3SVC(World Wide Web Publishing 서비스)에 의해 응용 프로그램 풀이 종료될 때 사용자 지정 실행 파일이 자동으로 실행되도록 구성할 수 있습니다. 예를 들어 이 실행 파일은 응용 프로그램 풀의 트래픽을 다른 서버로 리디렉션할 수 있습니다. 이 파일은 IIS 관리자에서 지정하고 ApplicationHost.config 파일에서 system.applicationHost/applicationPools/failure 섹션의 autoShutdownExe 특성으로 나타낼 수 있습니다.

autoShutdownExe 프로세스가 실행되지 않는 경우 가능한 해결 방법은 다음과 같습니다.

경로와 파일 이름이 올바로 지정되어 있는지 확인

종료 실행 파일의 액세스 제어 목록 확인

프로그램을 독립적으로 실행할 수 있는지 확인

실행 프로그램을 응용 프로그램 풀 종료 이벤트와 별개로 실행해 봅니다. 응용 프로그램 풀 종료와 독립적으로 프로세스를 실행할 수 있는 경우 WAS에서 응용 프로그램 풀이 자동으로 사용하지 않도록 설정될 때 프로세스가 제대로 실행되어야 합니다.

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.6.2.ApplicationPool
CategoryAlert
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.Server.IIS.6.2.WarningAndErrorEventProvider Default
Filter ConditionDetection Microsoft.Windows.InternetInformationServices.6.2.ApplicationPool.EventFilter Default
WA WriteAction Microsoft.Windows.Server.IIS.6.2.GenerateAlertAction.SuppressedByDescription Default

Source Code:

<Rule ID="Microsoft.Windows.InternetInformationServices.6.2.WAS.did.not.run.the.automatic.shutdown.executable.for.application.pool" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.6.2.ApplicationPool" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Windows.Server.IIS.6.2.WarningAndErrorEventProvider">
<LogName>System</LogName>
</DataSource>
</DataSources>
<ConditionDetection ID="Filter" TypeID="Microsoft.Windows.InternetInformationServices.6.2.ApplicationPool.EventFilter">
<Expression>
<And>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(5054|5091)$</Pattern>
</RegExExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-WAS</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</ConditionDetection>
<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.did.not.run.the.automatic.shutdown.executable.for.application.pool.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>