none
W3SVC service is stopped frequently on Win 2016 RRS feed

  • 问题

  • Dear, 

    I've encountered one problem that Windows 2016 W3SVC service always stops frequently even though I set Startup Type as Automatic mode.

    I configured IIS service and the IIS ran well. However my portal is not accessed after 1 day. I found that W3SVC service is disabled. I manually start it then IIS works well. But the problem happens on next day.

     

    I check the event viewer and below Warning and Error messages are in the list.



    Could somebody help me out? Thanks in advance.

    PS: Versions info of Windows and IIS are below.

    2020年9月17日 6:54

全部回复


  • HI:
    这是中文论坛,如果您会中文可以直接中文交流。
    1 .can you enable below event log then wait your W3SVC service stop then check if there are more event log about your issue ?
    event viewer\windows logs\
    application
    system
    Event Viewer – Applications and Services Logs -Microsoft-Windows 
    iis-configuration
    administrative enable
    operational     enable
    Event Viewer – Applications and Services Logs -Microsoft-Windows 
    iis-logging
    logs                enable

    we can refer below document to enable other logs so that they will help us to find the issue .
    Troubleshooting IIS Performance Issues or Application Errors using LogParser
    https://docs.microsoft.com/en-us/iis/troubleshoot/performance-issues/troubleshooting-iis-performance-issues-or-application-errors-using-logparser

    2.how often did your issue happen ?
    (can you check event id 7036 about stopping W3SVC service in the system event log on your web server ? like picture )

    3.we can use below link method to verify your technet forum account so that you can post picture and website link. Please make sure that the pictures you post do not contain your company and your private information (including but not limited to domain name, public IP, email account, domain account, etc.). These private information must be altered.

    https://social.technet.microsoft.com/Forums/en-US/5c00b9a9-3afe-4ee9-bbf0-34157716b92a/verify-my-account?forum=reportabug



    Best Regards
    Andy YOU
    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


    2020年9月18日 11:29
  • Hi  Andy

    谢谢,那么我可以发中文了,对吗?

    1.Event Viewer -> Windows Logs ->System 下有一些Error日志,关于DistributedCOM 的,Event ID 10016,不过这个已经给我修复了。我以为把这些错误修复了,W3SVC服务器就正常了,可是错误依然发生,频率大概是每天一次。 

    下面是今天的System日志,W3SVC服务又进入disabled模式了。

    同时,我发现一个昨天的DistributedCOM错误日志(如下),近期发生在情况为,924日,917日,915日,,94日,829日各一次。

    我正常尝试修复这个错误,看看能不能解决问题。

    2020年9月25日 2:08
  • 您好:
    1“下面是今天的System日志,W3SVC服务又进入disabled模式了。”
    “我发现一个昨天的DistributedCOM错误日志(如下),近期发生在情况为,9月24日,9月17日,9月15日,,9月4日,8月29日各一次。”
    9/25/2020 4:04:53AM这个W3SVC服务的停止时间和DistributedCOM错误日志10010的时间不太对应啊。
    event id 10010不一定是您问题的原因,所以解决那个问题不一定会有帮助。

    我们需要找9/25/2020 4:04:53AM event id 7036,这个时间点前半小时内的相关事件。查看的日志上面回复已经发您了。
    关于Event ID 10010 — COM General Functionality描述
    https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc774175(v=ws.10)?redirectedfrom=MSDN


    2.我们可以在命令提示符下以管理员身份打开以下命令,然后检查系统文件是否完整
    sfc scannow
    dism /online /cleanup-image /scanhealth  
    dism /online /cleanup-image /restorehealth

    3.我们可以看看
    W3SVC服务这个服务依赖于哪些其他服务,是不是其他服务导致您的W3SVC服务停止。



    Best Regards
    Andy YOU
    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


    2020年9月28日 3:30
  • Hi  Andy,

    1、截屏日期是24日,发帖日期是25日,故时间对应不上。

    我想服务器相关日志贴出来,麻烦帮我分析以下:

    928日日志信息如下:

      

     

    2020年9月29日 4:40
  • 925日日志信息如下:

    2020年9月29日 5:24
  • 924日日志信息如下:

    923日日志信息如下:

    2020年9月29日 5:26
  • 2. 命令运行结果如下:

      1)、sfc /scannow

    Verification 100% complete.

    Windows Resource Protection did not find any integrity violations.

      2)、dism /online /cleanup-image/scanhealth

    Deployment Image Servicing and Management tool
    Version: 10.0.14393.3750
    Image Version: 10.0.14393.3241

    Error: 87
    The cleanup-image/scanhealth option is unknown.
    For more information, refer to the help by running DISM.exe /?.

    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

    3)、dism /online /cleanup-image /restorehealth 

      没有运行此命令,

    3、W3SVC服务依赖于的两个其他服务,DCOM和RPC 服务,均运行正常。


    2020年9月29日 5:30