简体   繁体   English

IIS 停止并出现错误消息“HTTP 错误 503。服务不可用”

[英]IIS stopped and error message "HTTP Error 503. The service is unavailable"

I have a problem with IIS that I cannot resolve.我遇到了无法解决的 IIS 问题。

Given that:鉴于:

  • the Windows Event Viewer doesn't detect any application level errors Windows 事件查看器未检测到任何应用程序级别错误
  • with debugdiag two rules are active for monitoring exceptions (of the stackoverflow type) and on excessive use of resources and have not performed any dumps使用 debugdiag 时,两条规则处于活动状态,用于监控异常(stackoverflow 类型)和过度使用资源且未执行任何转储

Quite randomly ( infrequently ) the application responds to the front-end with the error message " HTTP Error 503. The service is unavailable. ".应用程序非常随机(很少)向前端响应错误消息“ HTTP 错误 503。服务不可用。 ”。

Trying to reboot from the prompt via the iisreset command fails and remains stopped and trying to reboot directly from IIS I get the following error message " Web Publishing Service (W3SVC) stopped. Websites cannot be started if the Web Publishing Service (W3SVC) is not running "; Trying to reboot from the prompt via the iisreset command fails and remains stopped and trying to reboot directly from IIS I get the following error message " Web Publishing Service (W3SVC) stopped. Websites cannot be started if the Web Publishing Service (W3SVC) is not运行“;

See the following link:请参阅以下链接:

enter image description here在此处输入图像描述

To restart the application pool the only solution is to kill the process and then restart it.要重新启动应用程序池,唯一的解决方案是终止该进程,然后重新启动它。

What could it depend on?它可以依赖什么? Could it be some other service that can give IIS problems?难道是其他一些服务可以给 IIS 问题?

I hope someone can give me some useful information.我希望有人能给我一些有用的信息。

Thanks in advance.提前致谢。

I think you have two questions:我想你有两个问题:

  1. How you can detect the root cause of 503 error如何检测 503 错误的根本原因

503 error => common cause is the application crash. 503 错误 => 常见原因是应用程序崩溃。 You should set debugdiag rules to collect dump for application crash and analysis the dump for the crash reason.您应该设置调试诊断规则以收集应用程序崩溃的转储并分析崩溃原因的转储。

  1. What the dependencies are for W3SVC and how we can solve this "not running" issue W3SVC 的依赖关系是什么以及我们如何解决这个“未运行”问题

Dependencies are:依赖项是:

  • Windows Process Activation Service Windows 进程激活服务
  • Remote Procedure Call (RPC)远程过程调用 (RPC)
  • DCOM Server Process Launcher DCOM 服务器进程启动器
  • RPC Endpoint Mapper RPC 端点映射器

You can refer to this answer about how to solve "w3svc service is not running error".您可以参考this answer了解如何解决“w3svc 服务未运行错误”。

IIS w3svc error IIS w3svc 错误

Hope helps.希望有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 HTTP 错误 503。该服务在 IIS 中不可用? - HTTP Error 503. The service is unavailable in IIS? HTTP 错误 503。服务不可用。 应用程序池在访问网站时停止 - HTTP Error 503. The service is unavailable. App pool stops on accessing website HTTP错误503。当端口80已空闲时,该服务不可用 - HTTP Error 503. The service is unavailable when port 80 is already free 仅当使用NetworkService时,站点才不会使用ApplicationPoolIdentity在本地启动:“ HTTP错误503。该服务不可用。” - Site wont start on local using ApplicationPoolIdentity, only when using NetworkService: “HTTP Error 503. The service is unavailable.” 使用 ApplicationPoolIdentity 或自定义帐户时,IIS8“HTTP 错误 503 - 服务不可用”,但在使用 NetworkService 时则不然 - IIS8 'HTTP Error 503 - Service unavailable' when using ApplicationPoolIdentity or a custom account, but not when using NetworkService Visual Studio IIS HTTP 503 服务不可用 - Visual Studio IIS HTTP 503 Service Unavailable HTTP 503:服务不可用 - HTTP 503 : Service Unavailable 在IIS中托管(503服务不可用) - Hosting in IIS (503 Service Unavailable) HttpListener服务器返回错误:(503)服务不可用 - HttpListener server returns an error: (503) Service Unavailable IIS中的服务不可用消息 - Service unavailable message in IIS
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM