Folks, I have a question about MongoDB, is the following, MongoDB installed in Windows Service, for whenever I start the computer, start the service together, just that .. is not working .. checking the error logs says the mongod.lock already exists, and then to the service and starts, stops and starts .. looks like all the time .. until I disable and delete the file, how can I avoid this?
Folks, I have a question about MongoDB , is the following, MongoDB installed in
Share
You typically end up with the mongodb.lock if you don’t shutdown mongodb properly. In this case maybe you need to repair the database before mongo can successfully start. To avoid this, make sure mongodb gets properly shut down.