zoukankan      html  css  js  c++  java
  • 批量启动application pool

    在powershell中执行

    Get-ChildItem IIS:AppPools | where {$_.state -eq "Stopped"} | Start-WebAppPool

    需要确保以下2个service是启动的

    Start-Service WAS     (windows process activation service)

    Start-Service W3SVC

    导致application pool停止的原因

    application pool和was 停止的原因是,使用web platform installer安装url rewrite。安装失败之后导致的,

    === Verbose logging started: 3/6/2019 14:35:58 Build type: SHIP UNICODE 5.00.10011.00 Calling process: C:Program FilesMicrosoftWeb Platform InstallerWebPlatformInstaller.exe ===
    MSI (c) (6C:D0) [14:35:58:019]: Resetting cached policy values
    MSI (c) (6C:D0) [14:35:58:019]: Machine policy value 'Debug' is 0
    MSI (c) (6C:D0) [14:35:58:019]: ******* RunEngine:
    ******* Product: C:UserscluAppDataLocalMicrosoftWeb Platform InstallerinstallersUrlRewrite28F41A67FA49110155969DCCFF265B8623A66448F ewrite_amd64_en-US.msi
    ******* Action:
    ******* CommandLine: **********
    MSI (c) (6C:D0) [14:35:58:019]: Client-side and UI is none or basic: Running entire install on the server.
    MSI (c) (6C:D0) [14:35:58:019]: Grabbed execution mutex.
    MSI (c) (6C:D0) [14:35:58:022]: Cloaking enabled.
    MSI (c) (6C:D0) [14:35:58:022]: Attempting to enable all disabled privileges before calling Install on Server
    MSI (c) (6C:D0) [14:35:58:026]: Incrementing counter to disable shutdown. Counter after increment: 0
    MSI (s) (C4:E0) [14:35:58:033]: Running installation inside multi-package transaction C:UserscluAppDataLocalMicrosoftWeb Platform InstallerinstallersUrlRewrite28F41A67FA49110155969DCCFF265B8623A66448F ewrite_amd64_en-US.msi
    MSI (s) (C4:E0) [14:35:58:033]: Grabbed execution mutex.
    MSI (s) (C4:18) [14:35:58:038]: MainEngineThread is returning 1603
    MSI (s) (C4:E0) [14:35:58:039]: User policy value 'DisableRollback' is 0
    MSI (s) (C4:E0) [14:35:58:039]: Machine policy value 'DisableRollback' is 0
    MSI (s) (C4:E0) [14:35:58:039]: Incrementing counter to disable shutdown. Counter after increment: 0
    MSI (s) (C4:E0) [14:35:58:039]: Note: 1: 1402 2: HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionInstallerRollbackScripts 3: 2
    MSI (s) (C4:E0) [14:35:58:041]: Note: 1: 1402 2: HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionInstallerRollbackScripts 3: 2
    MSI (s) (C4:E0) [14:35:58:042]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
    MSI (c) (6C:D0) [14:35:58:044]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
    MSI (c) (6C:D0) [14:35:58:044]: MainEngineThread is returning 1603
    === Verbose logging stopped: 3/6/2019 14:35:58 ===

    另外这玩意还导致了Net Tcp Listener挂掉了,

  • 相关阅读:
    SpringBoot标准化搭建
    springboot打开swagger文档遇到For input string: ""的报错 swagger版本2.9.2
    MySQL和Redis如何保证数据一致性? 三种方案对比,初版
    [转]QUdpSocket收发信息
    [原][C++][插件]window下C++简单插件机制实现
    php saas 架构设计,SaaS的几种架构解析
    如何处理将HTML打印出来中的断行,分页,修改打印内容等问题?急,谢谢!!
    批量打印 | 多页打印 | PHP多页打印
    web页面的单页打印以及批量打印实现方法
    php批量打印发票三(php用FPDF合并所有图片为PDF文档)
  • 原文地址:https://www.cnblogs.com/chucklu/p/10483059.html
Copyright © 2011-2022 走看看