【问题标题】:IIS AppPool not starting because Windows Process Activation Service (WAS) is not getting startedIIS AppPool 未启动,因为 Windows 进程激活服务 (WAS) 未启动
【发布时间】:2018-11-02 20:00:21
【问题描述】:

我的 AppPool 没有在 IIS 中启动。我最初对“appPools”路径有一个错误(它被意外删除了)。我重新创建了文件夹。

由于没有解决问题,我尝试重新启动 WAS 并重置 IIS。但是,一旦 WAS 停止,即使 WAS 也不会重新启动。

我试过了

  • 使用 Process Monitor 解决问题。但是,我现在没有看到任何关于文件访问权限问题的错误

  • 替换c:/inetpub/history文件夹中的applicationHost.config文件

操作系统:Windows Server 2012

IIS:IIS 8.0

当我尝试通过 services.msc 启动 Windows Process Activation Service 时出现以下错误。

请在事件日志中的错误消息下方找到。 请就如何重新启动应用程序池提出任何建议。

Source : WAS
Event ID : 5036
Error : The configuration manager for Windows Process Activation Service (WAS) did not initialize. The data field contains the error number.

Source : Service Control Manager
Event ID : 7023
Error : The Windows Process Activation Service service terminated with the following error: The system cannot find the path specified.

Source : Service Control Manager
Event ID : 7001
Error : The World Wide Web Publishing Service service depends on the Windows Process Activation Service service which failed to start because of the following error: The system cannot find the path specified.

【问题讨论】:

  • 确保 applicationHost.config 具有有效的 xml。另外,您重新创建的哪个文件夹被意外删除了?
  • 我将“c:\intepub\temp\appPools”移动到另一个位置,看看它是否被重新创建。但它没有,所以我把它移回来了。 applicationHost.config 文件似乎具有有效的 XML(我尝试在 IE 中打开它)并且它没有显示任何错误。这不是你的意思吗?
  • 尝试以管理员身份运行命令提示符,然后运行“net start was”查看是否遇到相同的错误
  • 感谢您的建议。我确实运行了命令。我得到了同样的错误“发生系统错误3。系统找不到指定的路径。”
  • 感谢您的回复。最终,此问题是由于 WAS 注册表项“ConfigIsolationPath”中文件路径末尾的额外空间造成的。它是 '%systemdrive%\inetpub\temp\appPools' 而不是 '%systemdrive%\inetpub\temp\appPools'。之前在条目错误地指向另一个驱动器时对其进行了修改。

标签: iis iis-8 windows-server-2012 application-pool was


【解决方案1】:

我在尝试iisreset 后遇到了这个问题,但不知何故失败并引发了这个错误(尽管我已经以管理员身份启动了 cmd):

当我再做一次iisreset 时,这个问题就消失了,这次它成功了

【讨论】:

    猜你喜欢
    • 2018-06-08
    • 2014-10-04
    • 2018-11-22
    • 2014-01-16
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多