2
votes

When I try manually to start Jenkins from "Computer Management" I got an error 1053: "Error 1053: The service did not respond to the start or control request in a timely fashion."

I try to start from CMD with: jenkins.exe start and I get an error: enter image description here

The system was working some 2 weeks ago, I don't know what happened.

3
jenkins version? Java version? - plsgogame
Jenkins: <version>1.503</version> and Java: jre7 - Ice
try latest version, but i think you have other problem. Try use not exe version. Use jar version. - plsgogame
The same configuration worked 2 weeks ago. I don't think the last version will help me - Ice

3 Answers

3
votes

I found the problem, my server works very slow, probably because Windows. Windows can not start the Jenkins service in 30 seconds.

Solution:

The Service Control Manager will generate an event if a service does not respond within the defined timeout period (the default timeout period is 30000 milliseconds). To resolve this problem, use the Registry Editor to change the default timeout value for all services.

  1. In the Registry Editor, click the registry subkey HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
  2. In the details pane, locate the ServicesPipeTimeout entry, right-click that entry and then select Modify.Note: If the ServicesPipeTimeout entry does not exist, you must create it by selecting New on the Edit menu, followed by the DWORD Value, then typing ServicesPipeTimeout, and clicking Enter.
  3. Click Decimal, enter the new timeout value in milliseconds (I prefer 120000), and then click OK.
  4. Restart the computer.
0
votes

Use task manager to check that there is not a hung instance of the service that is holding the listening TCP port open.

Are you using port 80, 8080 or something else?

Is it possible that IIS is installed on the machine and is stopping Jenkins from using the listening port?

0
votes

I faced same error 1053. The jenkinsservice was not able to start. I noticed that port 8080 was already taken by other windows application service. So i changed the port to other number in jenkins.xml in jenkins installation folder. Now the jenkins service is up and running.