Dostępność witryn sieci Web działających w oparciu o internetowe usługi informacyjne (IIS) i korzystających z protokołu HTTP jest uzależniona od niektórych ważnych składników usług IIS. Prawidłowo musi działać usługa aktywacji procesów systemu Windows (WAS), usługa publikowania w sieci World Wide Web (W3SVC) i usługa HTTP. Ponadto dla aplikacji witryny sieci Web musi być dostępna prawidłowo działająca pula aplikacji. Jeśli którykolwiek z tych składników nie działa, witryna sieci Web nie będzie dostępna.
Zatrzymaj i ponownie uruchom usługę HTTP
Zatrzymanie usługi HTTP spowoduje zatrzymanie usługi publikowania w sieci World Wide Web (W3SVC). Cały ruch sieci Web do serwera zatrzyma się na czas wyłączenia tych usług.
Aby zatrzymać i ponownie uruchomić usługę HTTP:
Otwórz wiersz polecenia z podwyższonym poziomem uprawnień. Kliknij przycisk Start, wskaż polecenie Wszystkie programy, kliknij opcję Akcesoria, prawym przyciskiem myszy kliknij opcję Wiersz polecenia, a następnie kliknij polecenie Uruchom jako administrator.
Wpisz net stop HTTP /y.
Wpisz net start w3svc. Spowoduje to również uruchomienie usługi HTTP.
Uruchom inne usługi, które zostały zatrzymane podczas wyłączania usług HTTP i W3SVC.
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.HTTP.Listening.To.Too.Many.Ports.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.HTTP.Listening.To.Too.Many.Ports.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>1131</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-IIS-W3SVC</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Configuration>
</UnitMonitor>