在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 Files\Microsoft\Web Platform Installer\WebPlatformInstaller.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:\Users\clu\AppData\Local\Microsoft\Web Platform Installer\installers\UrlRewrite2\8F41A67FA49110155969DCCFF265B8623A66448F\rewrite_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:\Users\clu\AppData\Local\Microsoft\Web Platform Installer\installers\UrlRewrite2\8F41A67FA49110155969DCCFF265B8623A66448F\rewrite_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_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (C4:E0) [14:35:58:041]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 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挂掉了,

批量启动application pool的更多相关文章

  1. 【Azure 云服务】在Cloud Service的代码中如何修改IIS Application Pool的配置呢? 比如IdleTimeout, startMode, Recycling.PeriodicRestart.Time等

    什么是 PaaS?Platform as a Service 平台即服务 (PaaS) 是云中的完整开发和部署环境,你可以使用其中资源交付内容,从基于云的简单应用到启用云的复杂企业应用程序皆可.你以即 ...

  2. 如何在Windows 2003+IIS6的环境下找回应用程序池(application pool)中的服务账号密码

    上一篇文章说了说如何在Win2008+iis7中取出SharePoint管理账号密码的方法. 整个过程简单的讲,就是通过使用要找回密码的账号用来在SharePoint中创建一个临时的Web Appli ...

  3. IIS7 Application Pool Integrate Mode 和 Classic Mode 的区别

    IIS7也用了好久了,关于Application Pool Integrate Mode 和 Classic Mode 究竟是什么也是懵懵懂懂,于是下决心去官网看了技术文档,终于恍然大悟,特来分享一下 ...

  4. Application Pool Identities

    Whether you are running your site on your own server or in the cloud, security must be at the top of ...

  5. How do I create an IIS application and application pool using InnoSetup script

    Create an IIS application. Create a new IIS application pool and set it's .NET version to 4. Set the ...

  6. python批量启动多线程

    还未了解多线程的请查看博文 python3多线程趣味详解 python3多线程趣味详解 只是介绍了 python 多线程的使用,对于批量启动线程来说有些不适用,于是出现如下方法: 建立一个线程池,并将 ...

  7. 排错技能:任务管理器中追踪某w3wp.exe是哪个IIS站点的application pool

    如果Windows的任务管理器中发现某个w3wp.exe占用了100%CPU,那我们就要揪出这是那个网站的application pool在作怪, 首先,每个站点一定要单独使用各自的applicati ...

  8. Shell批量启动、关闭tomcat

    批量启动tomcat脚本,配置NUM可控制启动数量 #!/bin/bash #identifier CLUSTER_HOME=/opt/cluster-tomcat TNAME=tomcat-- TP ...

  9. Docker 批量启动

    批量配置IP for i in `docker ps -a|awk 'NR>1 {print $NF}'`;do IP=`echo $i|awk -F_ '{print "192.16 ...

随机推荐

  1. JavaScript如何实现拖放功能

    1.在学习ExtJs时,对其拖放功能感到很陌生,然后找了个拖放功能实现. 转载地址 2.拖拽的基本原理就是根据鼠标的移动来移动被拖拽的元素.鼠标的移动也就是x.y坐标的变化:元素的移动就是style. ...

  2. sql优化实例(用左连接)

    改为 也就是说用左连接代替where条件,这样的话效率会提高很多.

  3. 010-spring cloud gateway-过滤器-自定义局部、全局过滤器、区别

    一.自定义局部过滤器 自定义过滤器需要实现GatewayFilter和Ordered.其中GatewayFilter中的这个方法就是用来实现你的自定义的逻辑的 Mono<Void> fil ...

  4. PHPExcel使用-使用PHPExcel导出文件-导出MySQL数据

    现在数据库里面有一组数据,我们将它按照不同的难度进行分sheet. 首先我们需要写一个mysql的配置文件- db.config.php(utf-8编码) : <?php $dbconfig= ...

  5. 使用idea maven开发spring boot 分布式开发入门

    1:使用idea创建一个maven工程 bos2 2:删除bos2的src 文件夹,向pom.xml文件 中添加版本号 <packaging>pom</packaging> & ...

  6. excel 数字转文本

    问: 在EXCEL2003中,如何把一列数字转换成文本格式我的意思的,这一列数字全部变成带有文本格式符号(就是左上角有个绿色小三角)的那种以文本形式存储的数字.目前我只知道一个一个双击单元格,但一列数 ...

  7. excel选择元角分下拉菜单选择框自动变更数字

    excel选择元角分下拉菜单选择框自动变更数字 (M2列),数据-->数据有效性-->在“允许”栏中选择序列-->在“来源”栏中输入:分,角,元单位倍数公式(M4列):=IF(M2= ...

  8. 谷歌笔试题--给定一个集合A=[0,1,3,8](该集合中的元素都是在0,9之间的数字,但未必全部包含), 指定任意一个正整数K,请用A中的元素组成一个大于K的最小正整数。

    谷歌笔试题--给定一个集合A=[0,1,3,8](该集合中的元素都是在0,9之间的数字,但未必全部包含), 指定任意一个正整数K,请用A中的元素组成一个大于K的最小正整数. Google2009华南地 ...

  9. web前端----JavaScript对象

    简介: 在JavaScript中除了null和undefined以外其他的数据类型都被定义成了对象,也可以用创建对象的方法定义变量,String.Math.Array.Date.RegExp都是Jav ...

  10. Python Web学习笔记之socket套接字

    套接字是为特定网络协议(例如TCP/IP,ICMP/IP,UDP/IP等)套件对上的网络应用程序提供者提供当前可移植标准的对象.它们允许程序接受并进行连接,如发送和接受数据.为了建立通信通道,网络通信 ...