批量启动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 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的更多相关文章
- 【Azure 云服务】在Cloud Service的代码中如何修改IIS Application Pool的配置呢? 比如IdleTimeout, startMode, Recycling.PeriodicRestart.Time等
什么是 PaaS?Platform as a Service 平台即服务 (PaaS) 是云中的完整开发和部署环境,你可以使用其中资源交付内容,从基于云的简单应用到启用云的复杂企业应用程序皆可.你以即 ...
- 如何在Windows 2003+IIS6的环境下找回应用程序池(application pool)中的服务账号密码
上一篇文章说了说如何在Win2008+iis7中取出SharePoint管理账号密码的方法. 整个过程简单的讲,就是通过使用要找回密码的账号用来在SharePoint中创建一个临时的Web Appli ...
- IIS7 Application Pool Integrate Mode 和 Classic Mode 的区别
IIS7也用了好久了,关于Application Pool Integrate Mode 和 Classic Mode 究竟是什么也是懵懵懂懂,于是下决心去官网看了技术文档,终于恍然大悟,特来分享一下 ...
- Application Pool Identities
Whether you are running your site on your own server or in the cloud, security must be at the top of ...
- 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 ...
- python批量启动多线程
还未了解多线程的请查看博文 python3多线程趣味详解 python3多线程趣味详解 只是介绍了 python 多线程的使用,对于批量启动线程来说有些不适用,于是出现如下方法: 建立一个线程池,并将 ...
- 排错技能:任务管理器中追踪某w3wp.exe是哪个IIS站点的application pool
如果Windows的任务管理器中发现某个w3wp.exe占用了100%CPU,那我们就要揪出这是那个网站的application pool在作怪, 首先,每个站点一定要单独使用各自的applicati ...
- Shell批量启动、关闭tomcat
批量启动tomcat脚本,配置NUM可控制启动数量 #!/bin/bash #identifier CLUSTER_HOME=/opt/cluster-tomcat TNAME=tomcat-- TP ...
- Docker 批量启动
批量配置IP for i in `docker ps -a|awk 'NR>1 {print $NF}'`;do IP=`echo $i|awk -F_ '{print "192.16 ...
随机推荐
- 优云软件助阵GOPS·2017全球运维大会北京站
GOPS· 2017全球运维大会北京站于2017年7月28日-29日在北京隆重举办,汇聚国内一线运维专家和诸多运维同仁达800余名.作为长期致力于企业级高端运维市场软件开发和咨询服务的优云软件受邀参与 ...
- 洛谷P3166 数三角形 [CQOI2014] 数论
正解:数论 解题报告: 传送门! 很久以前做的题了呢,,,回想方法还想了半天QAQ 然后写这题题解主要是因为看到了好像有很新颖的法子,就想着,学习一下趴,那学都学了不写博客多可惜 首先港下最常规的方法 ...
- usb设备运行不正常的解决方法(转)
add by zhj:上午鼠标还用的好好的,下午就不能用了,插上之后提示“跟这台计算机连接的一个usb设备运行不正常”,尼玛,什么情况?我今天没安装软件啊,换了个USB接口也不行,在另一台电脑上试还是 ...
- android 数据存储<一>----android短信发送器之文件的读写(手机+SD卡)
本文实践知识点有有三: 1.布局文件,android布局有相对布局.线性布局,绝对布局.表格布局.标签布局等,各个布局能够嵌套的. 本文的布局文件就是线性布局的嵌套 <LinearLayout ...
- MYSQL中的BlackHole引擎
MYSQL中的BlackHole引擎 http://blog.csdn.net/ylspirit/article/details/7234021 http://blog.chinaunix.net/u ...
- delete删除-some
- 30 段 JavaScript 代码
1. 前端人员经常遇到的问题就是如何区分IE及非IE浏览器,JavaScript代码是: if(!+[1,]) { //IE11不支持 alert('这是IE浏览器'); }else{ alert(' ...
- matplotlib--设置线条颜色及形状
一.控制颜色 b--blue c--cyan(青色) g--green k--black m--magenta(紫红色) r--red w--white y--yellow 颜色有三种表示方法,可以用 ...
- 2018-2019-2 网络对抗技术 20165324 Exp1:PC平台逆向破解
2018-2019-2 网络对抗技术 20165324 Exp1:PC平台逆向破解 实验: 要求: 掌握NOP, JNE, JE, JMP, CMP汇编指令的机器码(0.5分) 掌握反汇编与十六进制编 ...
- 在Win7系统下, 使用VS2015 打开带有日文注释程序出现乱码的解决方案
在Win7系统下, 使用VS2015 打开带有日文注释程序出现乱码的解决方案 下载: apploc.msi (下载地址:http://microsoft-applocale.software.info ...