Error 1053: The service did not respond to the start or control request in a timely fashion

In Chapter 2. I installed mongodb version v4.0.6, end of installation it shows a popup saying unable to start the service. getting below error.
“Error 1053: The service did not respond to the start or control request in a timely fashion.”

Also I tried to connect the Sandbox cluster from command prompt(using windows 10)
getting below error.

DNSHostNotFound: Failed to look up service “”:This operation returned because the timeout period expired.
try ‘mongo --help’ for more information

Try to start the service from command prompt, got the below error.

C:\WINDOWS\system32>“C:\Program Files\MongoDB\Server\4.0\bin\mongo.exe”
MongoDB shell version v4.0.6
connecting to: mongodb://
2019-03-02T18:22:30.604+0530 E QUERY [js] Error: couldn’t connect to server, connection attempt failed: SocketException: Error connecting to :: caused by :: No connection could be made because the target machine actively refused it. :
exception: connect failed

Anyone can help me pls.

Have you tried checking if “Service Mongod” is running?


while starting the service, I am getting the error. I tried with local system account also created a new user with admin privileges to start the service, but every time getting the same error.


Hi Jorlin,

I’m not sure… maybe something went wrong during the installation?? (my service is using “Network Service”)
Did you try to reinstall MongoDB?
Also… if you check in the properties of the service… you can see the script that is being executed…

Maybe if you run that in dos, it will give you more details on the error.