Reputation: 977
I am follwing this tutorial: I am using 64-bit Windows 7 computer. http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/
I have installed MongoDB and starts the MongoDB file from the command prompt. Then I get the following error message:
Unable to create/open lock file: \data\db\mongod.lock
I don't know how to solve that problem.
Upvotes: 3
Views: 9498
Reputation: 11
I was experiencing a similar problem and i noted that some MongoDB processes were running in the background when i opened the task manager. so after i terminated the tasks and went to the mongod.lock file i was now able to delete it.
Upvotes: 1