如何停止,启动w3svcsstp服务启动后停止

您的位置: >
IIS的W3SVC服务由于性能记数器错而当机的解决办法
[导读]刚刚正在群里聊得起劲呢,朋友Q我说,近几天他有一台web服务器访问不是很快,而且一天当机一次,服务器系统资源占用消耗也并不是很大。当机时出现页面几乎打不开的情况。根据pathping 和tracert统计值每一个hop都不大...
刚刚正在群里聊得起劲呢,朋友Q我说,近几天他有一台web服务器访问不是很快,而且一天当机一次,服务器系统资源占用消耗也并不是很大。当机时出现页面几乎打不开的情况。根据pathping 和tracert统计值每一个hop都不大,不存在time out的情况。重起IIS后,速度恢复,但过半天又当了。
因为这台服务器安全一直是我在负责,呵呵,应该不大可能出现被入侵的情况。于是上服务器:查应用程序日志发现有警告信息如下:事件类型: 警告事件来源: Perflib事件种类: 无事件 ID: 2003日期:& 事件:& 20:49:08用户:& N/A计算机: SERVER00描述:"W3SVC" 服务的性能库 "C:WINDOWSsystem32inetsrvw3ctrs.dll" 的配置信息& 同在注册表中保存的受信任性能库信息不匹 配。此库中的函数不会作为受信任函数处理。有关更多信息,请参阅在
的帮助和支持中心。
呵呵,找到答案了,是性能记数据器在作怪,呵呵。再Search一下发现:
SYMPTOMSAfter you install Windows 2000 on a drive that uses the FAT or FAT32 file system (that was formatted during the installation process) and install Internet Information Services (IIS) in the same Setup process, event ID 2003 warning messages may appear in the Application event log when you start System Monitor and add counters. This issue does not occur with NTFS drives that do not have a service pack, if the FAT or FAT32 drive is formatted before you run Windows 2000 Setup, or if you add IIS later. The event ID 2003 warning message has the following text: The configuration information of the performance library "C:\WINNT\system32\w3ctrs.dll" for the "W3SVC" service does not match the trusted performance library information stored in the registry. The functions in this library will not be treated as trusted.
The configuration information of the performance library "C:\WINNT\system32\infoctrs.dll" for the "InetInfo" service does not match the trusted performance library information stored in the registry. The functions in this library will not be treated as trusted.
The configuration information of the performance library "C:\WINNT\system32\aspperf.dll" for the "ASP" service does not match the trusted performance library information stored in the registry. The functions in this library will not be treated as trusted. RESOLUTIONTo resolve this problem, run the following commands at a command prompt in the %SystemRoot%\System32 folder to unload and reload the IIS performance dynamic-link libraries (DLLs). After you run these commands, the warning messages are not logged:
unlodctr w3svcunlodctr msftpsvcunlodctr aspunlodctr inetinfolodctr w3ctrs.inilodctr ftpctrs.inilodctr axperf.inilodctr infoctrs.ini
将后面(红色部份)几条命令编辑成bat或者vbs批处理文件执行一次,网站访问速度迅速恢复。后来要观察一天后,确定访问页面难以打开就是因为此问题所致;经过以后几天观察,服务器运行稳定。
本文作者:李泊林/Leebolin& Email:Leebolin#ServerSTeam.Org来源: 服务器安全资源网 服务器安全讨论区原始地址:
转载请注明来源:
特别声明: 本站除部分特别声明禁止转载的专稿外的其他文章可以自由转载,但请务必注明出处和原始作者。文章版权归文章原始作者所有。对于被本站转载文章的个人和网站,我们表示深深的谢意。如果本站转载的文章有版权问题请联系我们,我们会尽快予以更正。
上一篇:下一篇:
了解这些字:
··········
··········
··········
··········IIS服务开启,停止,暂停方法
若不用此功能(卸载):
控制面板 - 程序 - 打开或关闭Windows功能 - (将“Internet信息服务”去掉勾选)
若暂停此功能(停止运行):
控制面板 - 系统和安全 - 管理工具 - Internet 信息服务(IIS)管理器 - 服务器图标右键停止
  net start iisadmin (IIS的整个服务)
  net start w3svc (WWW网页WEB服务)
  停止IIS:
  net stop iisadmin /y (会自动停止www、ftp和smtp服务)
  如果用的IIS自带FTP还可以执行
  net start MSFtpsvc
  net start SMTPsvc(自带的邮件服务)
  命令来启动FTP
  另外,还可以通过命名行使用iisreset命令加参数对IIS进行控制:
  C:\Documents and Settings\Administrator&iisreset /?
  IISRESET.EXE (c) Microsoft Corp.
  Usage:
  iisreset [computername]
  /RESTART 停止然后重新启动所有 Internet 服务。
  /START 启动所有 Internet 服务。
  /STOP 停止所有 Internet 服务。
  /REBOOT 重新启动计算机。
  /REBOOTonERROR 如果在启动、停止或重新启动 Internet
服务时发生错误,则重新启动计算机。起源网资讯频道
  /NOFORCE 假如尝试停止失败时,不要强制终止 Internet 服务。
  /TIMEOUT:val 指定超时值(以秒为单位)来等待 Internet 服务的成功终止。
  假如 REBOOTonERROR 参数已被指定,超时后可以重新启动计算机。
  默认值为 20 秒重新开始,60 秒停止,0 秒重新启动 。
  /STATUS 显示所有 Internet 服务的状态。
  /ENABLE 在本地系统上启用 Internet 服务的重新启动。
  /DISABLE 在本地系统上禁用 Internet 服务的重新启动。
  附:批处理重启IIS-WEB服务器的命令,目的:通过自己编写代码实现IIS服务的重启
  步骤:
  1.新建一个记事本,命名为IIS.txt
  2.打开IIS.txt记事本,添加如下代码:
  @echo off
  net stop iisadmin /yes
  net start iisadmin
  net start w3svc
  3.另存为IIS.bat即可,双击IIS.bat就开始批处理命令。
  连权限一起复制文件内容
  在服务器上复制文件时,经常需要连文件的权限一起复制,用以下命令,可以复制
  xcopy g:\ f:\ /o /e /c
  这样可以复制G:盘的全部内容到F:盘,连子目录,连权限,忽略出错信息,注意如果是复制网站内容,请先停止IIS再复制。
已投稿到:
以上网友发言只代表其个人观点,不代表新浪网的观点或立场。w3svc服务启动&不了,错误&1068:依赖服务或组件无法启动
运行命令regedit,打开注册表编辑器,进入:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP]:
Change&Start&from 4 (
disabled) to 3 ( automatically)
b) Delete "NoRun" key if this key
已投稿到:
以上网友发言只代表其个人观点,不代表新浪网的观点或立场。其他回答(1)
你查看一下w3svc的依赖服务是什么,然后依次启动就OK了
也就是这两个服务:
园豆:16486
&&&您需要以后才能回答,未注册用户请先。启动W3SVC 服务报错怎么解决_百度知道
启动W3SVC 服务报错怎么解决
提问者采纳
最近使用小黑的 IIS,发现总是不开机就启动
而是每次都要手动启动,有一次还无法启动,是因为 pplive 占据了 80 端口的原因,解决方法见另一篇文章 [IIS 0x8ffe2740 错误]
今天手动启动 IIS 的时候,报错:
The service did not respond to the start or control request in a timely fashion.
检查后发现是由于 W3SVC(world wide web publishing) 服务没有启动造成,启动 W3SVC 服务,报错
w3svc error 1717 the interface is unknown解决方法:if you get a problem that your IIS wont start or when you try to start WWW Publishing Service and it gives you the error: Error 1717: The interface is unknown.
出现这个问题是因为关闭了Event Log服务,只需要开始 - 运行 services.msc,找到Event Log,将其启动类型设置为自动,并启动它,即可解决这个问题。
其他类似问题
为您推荐:
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁

我要回帖

更多关于 sstp服务启动后停止 的文章

 

随机推荐