

The work around for this issue to simply to install the config file in a path without spaces, such as "c:\mongo\nf". Note that the -config value is NOT quoted even though it was quoted on the command line when the service was installed. Extract the archive to D:\ by right clicking on the archive and selecting Extract All and browsing to D: \. The 64-bit versions of MongoDB will not work with 32-bit Windows. Note : Always download the correct version of MongoDB for your Windows system. Tuttavia, non riesco ad avviare il servizio MongoDB da esso e. Download the latest production release of MongoDB from here.
MONGODB WINDOWS SERVICE WILL NOT START 32 BIT
"c:\mongo\bin\mongod.exe" -config c:\program files\mongo\nf -service Sto utilizzando una macchina Windows a 32 bit e ho provato ad avviare il servizio MongoDB da Windows> servizi come mostrato di seguito. Inspecting the ImagePath key in the registry at HKLM/System/CurrentControlSet/services/MongoDB/ImagePath reveals the following value: Errors in System log from the Service Control Manager include "A timeout was reached (30000 milliseconds) while waiting for the Mongo DB service to connect" and "The Mongo DB service failed to start due to the following error: The service did not respond to the start or control request in a timely fashion." You'll receive "The service is not responding to the control function". Hi, I am a Windows user and I am using transactions with mongodb and I have to stop the mongodb service by: net stop mongodb and run as a replica set member like this: mongod -replSet rs0 mongod is an alias for my file path to mongod. Right-click on the MongoDB service and click Start. To start/restart the MongoDB service, use the Services console: From the Services console, locate the MongoDB service. > mongod.exe -config "c:\Program Files\mongo\nf" -installĢ) Attempt the start the MongoDB service using net start Starting in version 4.0, you can install and configure MongoDB as a Windows Service during the install, and the MongoDB service is started upon successful installation. Inspecting the ImagePath in the registry reveals that the -config path is not quoted correctly.ġ) Install MongoDB as a service using the following command When installing MongoDB as a Windows Service, if the nf file is located in a path with spaces the service will not start correctly.
