A disponibilidade dos Web sites dos Serviços de Informação Internet (IIS) que utilizam HTTP depende de vários componentes do IIS importantes. O Serviço de Ativação de Processos do Windows (WAS), o Serviço de Publicação World Wide Web (W3SVC) e o serviço HTTP têm de estar a ser executados corretamente. Adicionalmente, deve estar disponível para as aplicações do Web site um conjunto aplicacional em execução. Se algum destes componentes não estiver em funcionamento, o Web site não estará disponível.
Parar e reiniciar o WAS
Parar o serviço WAS também irá parar o Serviço de Publicação World Wide Web (W3SVC) e todos os outros serviços que dependam do WAS. Desta forma, pode ter de reiniciar esses outros serviços.
Para parar e reiniciar o WAS:
Abra uma janela de linha de comandos elevada. Clique em Iniciar, aponte para Todos os Programas, clique em Acessórios, clique com o botão direito do rato em Linha de Comandos e depois clique em Executar como administrador.
Na linha de comandos, escreva net stop was /y.
Na linha de comandos, escreva net start was.
Para reiniciar o W3SVC a partir da linha de comandos, escreva net start w3svc. Adicionalmente, inicie todos os outros serviços que foram parados aquando do encerramento do WAS.
Target | Microsoft.Windows.InternetInformationServices.6.2.WebSite | ||
Parent Monitor | System.Health.ConfigurationState | ||
Category | ConfigurationHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.InternetInformationServices.6.2.WebSite.EventLogManualReset2StateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.Windows.InternetInformationServices.6.2.WebSite.WAS.did.not.process.changes.that.affect.the.web.site.Monitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.6.2.WebSite" ParentMonitorID="SystemHealth!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.InternetInformationServices.6.2.WebSite.EventLogManualReset2StateMonitorType" ConfirmDelivery="false">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.InternetInformationServices.6.2.WebSite.WAS.did.not.process.changes.that.affect.the.web.site.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ManualResetEventRaised" MonitorTypeStateID="ManualResetEventRaised" HealthState="Success"/>
<OperationalState ID="ErrorEventRaised" MonitorTypeStateID="ErrorEventRaised" HealthState="Error"/>
</OperationalStates>
<Configuration>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>5143</Value>
</ValueExpression>
</SimpleExpression>
</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>
</Configuration>
</UnitMonitor>