win10,iis10无法启动,w3svc服务无法启动 [英] win10, iis10 can not start, w3svc service failed to start
问题描述
IIS已停止运行,无法启动。
IIS is stoped, can't start.
当我检查服务时,w3svc的依赖关系都在运行,但无法启动w3svc。
When I checked services, the dependencies of w3svc are all running, but can't start w3svc.
C:\Users\lust4
λ sc qc W3SVC
[SC] QueryServiceConfig Success
SERVICE_NAME: W3SVC
TYPE : 20 WIN32_SHARE_PROCESS
START_TYPE : 2 AUTO_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : C:\WINDOWS\system32\svchost.exe -k iissvcs
LOAD_ORDER_GROUP :
TAG : 0
DISPLAY_NAME : World Wide Web 发布服务
DEPENDENCIES : WAS
: HTTP
SERVICE_START_NAME : LocalSystem
C:\Users\lust4
λ sc query WAS
SERVICE_NAME: WAS
TYPE : 30 WIN32
STATE : 4 RUNNING
(STOPPABLE, PAUSABLE, ACCEPTS_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
C:\Users\lust4
λ sc query HTTP
SERVICE_NAME: HTTP
TYPE : 1 KERNEL_DRIVER
STATE : 4 RUNNING
(STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
C:\Users\lust4
λ sc query W3SVC
SERVICE_NAME: W3SVC
TYPE : 30 WIN32
STATE : 1 STOPPED
WIN32_EXIT_CODE : 1066 (0x42a)
SERVICE_EXIT_CODE : 2147943468 (0x8007042c)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
C:\Users\lust4
以下是事件日志,并说依赖服务或组无法启动
:
Below is the event log and says the dependency service or group failed to start
:
+ <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" />
<EventID Qualifiers="49152">7024</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8080000000000000</Keywords>
<TimeCreated SystemTime="2016-10-10T09:46:36.061057200Z" />
<EventRecordID>3129</EventRecordID>
<Correlation />
<Execution ProcessID="720" ThreadID="4088" />
<Channel>System</Channel>
<Computer>lust-sp</Computer>
<Security />
</System>
- <EventData>
<Data Name="param1">World Wide Web Publishing Service</Data>
<Data Name="param2">%%2147943468</Data>
<Binary>570033005300560043000000</Binary>
</EventData>
</Event>
尝试重新安装IIS(关闭iis功能=>重启=>打开iis功能),不工作。 :(
Tried reinstall IIS (turn off iis feature => restart => turn on iis feature), not working. :(
试过这个: IIS w3svc错误
推荐答案
在这里找到解决方案,问题的原因是win10内幕14942问题:
find solution here, the cause of problem is win10 insider 14942 issue:
进行Web开发的内部人员可能会发现自己的本地Intranet服务器无法访问,因为服务主机分离将使IIS World Wide Web Publishing服务(W3Svc)无法成功启动。要解决此问题:
Insiders doing web development may find themselves their local intranet server unreachable, as service host separation will leave the IIS World Wide Web Publishing Service (W3Svc) unable to start successfully. To fix this issue:
Run the following from an admin cmd line (or edit the registry accordingly):
REG ADD HKLM\SYSTEM\CurrentControlSet\Services\W3SVC /v SvcHostSplitDisable /t REG_DWORD /d 1 /f
REG ADD HKLM\SYSTEM\CurrentControlSet\Services\WAS /v SvcHostSplitDisable /t REG_DWORD /d 1 /f
Reboot the system, so that the W3Svc and WAS services share a service host process.
这篇关于win10,iis10无法启动,w3svc服务无法启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!