工作进程未能初始化与 W3SVC 服务的通信,因而无法启动
Internet Information Services (IIS) 工作进程服务于应用程序池,同时可以处于“正在启动”、“正在运行”、“正在停止”或“未知”状态。在 IIS 8 中,工作进程由 WAS (Windows Process Activation Service)管理。如果工作进程未响应,它可能被 WAS 回收。
检查工作进程初始化失败
如果工作进程初始化失败,检查消息事件日志消息以查找消息中包含的特定错误号。此错误号将不同于事件 ID。要执行此操作,请查看以下步骤。
检查特定错误号
若要检查特定错误号,请执行以下操作:
在“事件查看器”中,选择您收到的事件。
单击“详细信息”选项卡,然后单击“友好视图”。
如果特定错误号可用,应显示“二进制数据:”一词。
在“单词中”下,注意冒号后的数字。
找出有关特定错误号的详细信息
若要了解有关特定错误号的详细信息,请执行以下操作:
从 Microsoft Exchange Server 错误代码查找页面下载 Err.exe 实用程序。
打开提升的命令提示符窗口。单击“开始”,指向“所有程序”,再单击“附件”,右键单击“命令提示符”,然后单击“以管理员身份运行”。
在命令提示符中,导航到您下载 Err.exe 的目录。例如,如果您下载 Err.exe 到 C:\Err,键入 cd C:\Err。
键入 err 错误号以获取有关该错误的更多信息。例如,如果指定错误号是 80070005,则键入 err 80070005。
在步骤 4 的示例中,此错误解析为 ERROR_ACCESS_DENIED,因此下一步将是检查与工作进程相关的权限问题。
Target | Microsoft.Windows.InternetInformationServices.6.2.WebServer |
Category | Alert |
Enabled | True |
Event_ID | 2281 |
Event Source | Microsoft-Windows-IIS-W3SVC-WP |
Alert Generate | False |
Remotable | True |
Event Log | Application |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.EventProvider | Default |
WA | WriteAction | Microsoft.Windows.Server.IIS.6.2.GenerateAlertAction.SuppressedByDescription | Default |
<Rule ID="Microsoft.Windows.InternetInformationServices.6.2.Worker.process.failed.to.initialize.communication.with.the.W3SVC.and.therefore.could.not.be.started" Enabled="onEssentialMonitoring" 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>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-IIS-W3SVC-WP</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>2281</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>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.InternetInformationServices.6.2.Worker.process.failed.to.initialize.communication.with.the.W3SVC.and.therefore.could.not.be.started.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>