Unable to create/open lock file: /data/mongod.lock errno:13 Permission denied

前端 未结 28 1568
执念已碎
执念已碎 2020-11-29 14:39

How to I get mongo to use a mounted drive on ec2? I really do not understand. I attached a volume on ec2 formatted the drive as root and start as root and yet as root I ca

28条回答
  •  独厮守ぢ
    2020-11-29 15:07

    For those of you experiencing this error on Windows using Task Manager end the instance of "mongod.exe" that is running. Once that is done permanently delete the mongo.lock file and run mongod.exe. It should work perfectly after that.

提交回复
热议问题