首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Windows/IIS服务无法停止

Windows/IIS服务无法停止
EN

Server Fault用户
提问于 2013-05-04 00:07:29
回答 4查看 17.8K关注 0票数 5

据我所发现,这个错误通常是由Reporting引起的,但是Reporting没有安装在这个服务器上。你知道为什么网络停止http不能完全工作吗?

代码语言:javascript
复制
C:\Users\Administrator>net stop http
The following services are dependent on the HTTP service.
Stopping the HTTP service will also stop these services.

   Web Management Service
   World Wide Web Publishing Service
   Print Spooler
   Web Deployment Agent Service
   Function Discovery Resource Publication

Do you want to continue this operation? (Y/N) [N]: y
The Web Management Service service is stopping.
The Web Management Service service was stopped successfully.

The World Wide Web Publishing Service service is stopping.
The World Wide Web Publishing Service service was stopped successfully.

The Print Spooler service is stopping.
The Print Spooler service was stopped successfully.

The Web Deployment Agent Service service is stopping.
The Web Deployment Agent Service service was stopped successfully.

The Function Discovery Resource Publication service is stopping.
The Function Discovery Resource Publication service was stopped successfully.

The HTTP service is stopping........
The HTTP service could not be stopped.
EN

回答 4

Server Fault用户

发布于 2013-08-17 23:40:36

来自:http://support.microsoft.com/kb/2597817

考虑下面的场景。您正在尝试停止运行Internet信息服务(IIS) 6、7或7.5的服务器上的HTTP服务。服务器还安装了Microsoft部署服务(MSDEPSVC)。当您尝试使用NET命令行指令停止HTTP服务时,将在命令提示符中显示以下错误消息:

代码语言:javascript
复制
The HTTP service is stopping.....
The HTTP service could not be stopped.

如果再次运行NET命令,将显示以下消息:

代码语言:javascript
复制
The service is starting or stopping. Please try again later.

有关更多信息,请参见http://support.microsoft.com/kb/2597817

票数 3
EN

Server Fault用户

发布于 2013-05-05 01:30:30

您可以使用sysinternals的process来查看哪些文件正在锁定进程。另外,你有没有检查过你的反病毒是否锁定了它?

票数 2
EN

Server Fault用户

发布于 2019-01-10 13:55:48

如果您碰巧在运行自我托管的web服务,请先停止它们,然后再运行net http。这也将解决这个问题。这只是“服务正在启动或停止,请稍后再试”的症状之一。

在我的例子中,在MS文章http://support.microsoft.com/kb/2597817中解释的解决方案不起作用。这是因为上述服务不在我的框'Get-Service :无法找到任何服务名称‘MsDepSvc’的服务。

票数 2
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/504941

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档