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

Hi,
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://127.0.0.1:27017/?gssapiServiceName=mongodb
2019-03-02T18:22:30.604+0530 E QUERY [js] Error: couldn’t connect to server 127.0.0.1:27017, connection attempt failed: SocketException: Error connecting to 127.0.0.1:27017 :: caused by :: No connection could be made because the target machine actively refused it. :
connect@src/mongo/shell/mongo.js:343:13
@(connect):1:6
exception: connect failed

Anyone can help me pls.

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

Nico

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.

image

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…
image

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

Nico