Why cannot IIS be started? Error message: "the server is not prompted to start or control the request in time"

Source: Internet
Author: User
Tags file copy
Many users in Microsoft news groups have asked questions about the failure of Windows services, such as the failure to start the "Logical Disk Manager" service. Errors of such services are often varied and difficult to judge, and some problems cannot be solved by viewing Microsoft Knowledge Base articles. So here is a simple summary to help beginners solve common service startup problems.
Special reminder
When reading this article, please strictly follow the fault phenomenon for troubleshooting!
If registry operations are involved, you must back up the relevant registry items and create a Restore Point.
If the system cannot be started smoothly, press reset to restart the system, press F8, and select "restore to the latest correct configuration" from the Windows Advanced Startup menu, in this way, the previous HKLM \ System \ controlset00 NOverwrite the configured CurrentControlSet (N in controlset00n is specified by the lastknowngood key value of HKLM \ System \ select ).
Error 2 : The specified file cannot be found.
1. Fault symptom
Try to manually start the service in the "services" snap-in window. The system prompts "Error 2: The system cannot find the specified file" (Error 2: The system cannot find the file specified .), 1.

2. Cause Analysis
There are two possibilities:
(1) the executable files of the service are lost or damaged.
(2) The value of the registry key value ImagePath of the service is tampered with, and the SCM cannot load the executable files of the service.
In the "service" management unit window, you can see the executable file path of each service. Please carefully check the path of the executable file shown in 2. If it does not match the correct configuration of the reference system, it indicates that the value of the registry key value ImagePath is incorrect. If the configuration is correct, the executable file is lost or damaged.

3. Solution
Take the "Task Scheduler" service as an example.
If the value of the registry key value ImagePath is tampered with, you can locate the following registry key:
HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ schedule
Locate the ImagePath key value on the right, change the value to the correct value, and restart the system.
Or use the SC command:
SC config schedule binpath = "% SystemRoot % \ system32 \ svchost.exe-K netsvcs"
If the executable file is lost or damaged, replace it with the correct copy and restart the system. In this example, the executable file is SVCHOST. If the file is damaged, the system cannot run normally.
Error 1053 : The service does not initiate or control requests in a timely manner.
1. Fault symptom
When you try to manually start the service in the "service" management unit window, the system prompts "error 1053: the service has not started or controlled the request in time", as shown in 3.

2. Cause Analysis
2. The configuration of the additional command parameters in the executable file is incorrect, which may cause problems.
3. Solution
Use the SC command or Registry Editor to troubleshoot the attached command parameters by referring to the preceding method.
Error 1083 : The service configured to run in the executable program cannot run the service.
1. Fault symptom
When you try to manually start the service in the service management unit window, the system prompts "error 1083: the service configured to run in the executable program cannot execute this service", 4.

2. Cause Analysis
This fault usually occurs on the service started by the svchost service host process. You know that Windows XP SP2 can start up to seven svchost process instances (six process instances are actually started) and start a group of services respectively. The services started by each svchost instance are determined by the following registry items:
HKLM \ Software \ Microsoft \ Windows NT \ CurrentVersion \ svchost
There are seven key values: dcomlaunch, httpfilter, imgsvc, LocalService, netsvcs, networkservice, RPCSS, and termsvcs. Each key value defines one or more services, that is, a group of services that can be started by each svchost process instance.
In this example, "the executable program of the task scheduler”service is “svchost.exe-K netsvcs", and the corresponding svchost process before starting the service, check whether the service definition is available in the netsvcs key value under HKLM \ Software \ Microsoft \ Windows NT \ CurrentVersion \ svchost. If not, the fault will occur.
3. Solution
First, open the Properties dialog box of the Service to view the command parameters of the executable program (netsvcs in this example), as shown in 2.
Enter the following registry key:
HKLM \ Software \ Microsoft \ Windows NT \ CurrentVersion \ svchost
Locate the corresponding key value on the right. In this example, It is netsvcs. Add the service name to its value data. In this example, It is schedule, 5, and restart the system.


Prompt
Why do we usually only start six svchost process instances? It's all about termservice! Termservice (Terminal ready-K dcomlaunch ", that is to say, no svchost process instance is actually responsible for starting the termsvcs Service Group!

Error126: The specified module cannot be found.
1. Fault symptom
When you try to manually start the service in the service management unit window, the system prompts "error 126: the specified module cannot be found" (error 126: the specified module cocould not be found .), 6.

2. Cause Analysis
This fault usually occurs on the service started by the svchost service host process. In this type of Windows Services, a svchost process is inserted as a DLL module. If the DLL file is damaged or the key value of the registry is tampered with, the problem may occur.

The DLL file corresponding to such services is defined by the servicedll key value under the Registry of HKLM \ System \ CurrentControlSet \ Services \ servicename \ Parameters (here servicename refers to the service name ), this issue occurs if the key value of the registry is incorrect or the corresponding DLL file is damaged.
Many netizens in the Microsoft news group complained that the "disk management" window could not be opened. The root tracing result was that the "Logical Disk Manager" service could not be started. One of the cases is that the system is infected by the trojan pcshare. The Trojan modifies the registry key value of the "Logical Disk Manager" service, direct the value of servicedll under the key value of the HKLM \ System \ CurrentControlSet \ Services \ dmserver \ Parameters registry to the Trojan file "% SystemRoot % \ system32 \ drivers \ ybfbqufe. "sys", although the anti-virus software was used to remove Trojans, but the anti-virus software was not able to handle the tampering of the registry key value by the trojan, resulting in the failure to open the "disk management ".
Note:
Do not confuse the fault with "Error 2: The system cannot find the specified file!
3. Solution
For problems with the "Logical Disk Manager" service, use the following registry key:
HKLM \ System \ CurrentControlSet \ Services \ dmserver \ Parameters
Make sure that the value of the servicedll key value under it is changed to "% SystemRoot % \ system32 \ dmserver. dll ".
If the registry key value is correct, replace the original DLL file with the correct file copy and restart the system.
Error1079: The account of this service is different from the account of other services running on the same process.
1. Fault symptom
When you try to manually start the service in the "services" snap-in window, the system prompts "error 1079: the account for this service is different from the account for other services running on the same process", as shown in 7.

2. Cause Analysis
This fault usually occurs on the service started by the svchost service host process. As mentioned above, Windows XP SP2 can start up to seven svchost process instances and start a group of services respectively. Each service in a group of services must run under the same startup account as the corresponding svchost process instance.
For example, if the alert service belongs to the LocalService group and its corresponding svchost process instance runs under the local service account, if the startup account of the alert service is mistakenly changed to another account, for example, if the local system account is used, an error is returned.
3. Solution
First, find the service group to which the service belongs Based on the executable file path attribute of the service. For example, the alert service belongs to the LocalService group, and then determine the startup accounts of other services in the same group, change it to the same startup account.


Error1068: The dependent service or group cannot be started.
1. Fault symptom
When you try to manually start the service in the "services" snap-in window, the system prompts "error 1068: dependency service or group cannot be started", as shown in figure 8.


2. Cause Analysis
Some services depend on other services or drivers. Only these dependent services or driversBothThe service can be started successfully. Otherwise, a 1068 error will be reported.
3. Solution
First, we need to troubleshoot these dependency services or drivers that cannot be started. Generally, there may be the following reasons:
(1) third-party applications add additional dependent services to the system service. Once these additional dependent services fail or are deleted, if the key values in the Registry are not modified, the problem may occur.
(2) These dependent services or drivers are marked as disabled.
For scenario 1, here is an example (from the Microsoft Chinese news group ):
Problem:The printer is legend lx1 + 1 1i-i-2401i and cannot be used properly now. The error log in the Event Viewer is as follows:
Event Source: Service Control Manager
Event Type: None
Event ID: 7003
Date: 2006-3-22
Event: 17:57:45
User: N/
Description: the Print Spooler service is dependent on the following nonexistent services: lexbces
Answer:Lenovo should be the printer of OEM limeng, so the system will install the driver of limeng, the third-party driver will add a new dependent service lexbces to the print spooler service of the system, for some reason, the dependent service lexbces is damaged, and the startup of the Print Spooler service fails.
You can run the following command in the Command Prompt window to restore the default dependency of Windows (Print Spooler service depends on RPCSS by default ):
SC config Spooler depend = RPCSS
You can also open the Registry Editor and enter the following registry key:
HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ Spooler
In the details pane on the right, find the dependonservice key value, make sure that the value is RPCSS, and delete any other dependent services.
Error1747: Unknown Authentication Service
1. Fault symptom
When you try to manually start the service in the "services" snap-in window, the system prompts "error 1747: Unknown authentication service", as shown in figure 9.


2. Cause Analysis
If a Microsoft network client is not installed, some services cannot be started. These services may be network-related services such as WWW, FTP, and IPSec services.
3. Solution
Install or reinstall the Microsoft network client and restart it to solve the problem.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.