批量启动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 ...
随机推荐
- Count the Colors---zoj1610线段树
题目链接 题意: 求每种颜色有几段线段: 模拟数组: #include<stdio.h> #include<iostream> #include<algorithm> ...
- 正则表达式(二):Unicode诸问题上篇(转)
原文:http://www.infoq.com/cn/news/2011/02/regular-expressions-unicode 关于正则表达式的文档很多,但大部分都是英文的,即便有中文的文档, ...
- JS模块化编程(一)
需求背景 // 实际开发常需要将一些公用方法打包放在一个js文件,写法大致如下 function f1(){ // ... } function f2(){ ...
- 怎样知道 CPU 是否支持虚拟化技术(VT) | Linux 中国
版权声明:本文为博主原创文章,未经博主同意不得转载. https://blog.csdn.net/F8qG7f9YD02Pe/article/details/79832475 wx_fmt=png&a ...
- UIImage添加滤镜
UIImage *image =[UIImage imageNamed:"]; NSArray *arr = [NSArray arrayWithObjects:@"CISRGBT ...
- 浅析I/O处理过程与存储性能的关系
浅析I/O处理过程与存储性能的关系 https://community.emc.com/docs/DOC-28653 性能”这个词可以说伴随着整个IT行业的发展,每次新的技术出现,从硬件到软件大多数情 ...
- PythonWeb 开发记录(一)
安装Django Sudo apt-get install python-django 验证安装Django成功 创建Django应用程式的方式 创建的是解决方案 ,然后创建的是Hi 模块 运行项目: ...
- [LeetCode] 152. Maximum Product Subarray_Medium tag: Dynamic Programming
Given an integer array nums, find the contiguous subarray within an array (containing at least one n ...
- 数据分析与挖掘 - R语言:K-means聚类算法
一个简单的例子!环境:CentOS6.5Hadoop集群.Hive.R.RHive,具体安装及调试方法见博客内文档. 1.分析题目--有一个用户点击数据样本(husercollect)--按用户访问的 ...
- 33. Search in Rotated Sorted Array(二分查找)
Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand. (i.e. ...