当前位置:Gxlcms >
数据库问题 >
MongoDB: exception in initAndListen: 20 Attempted to create a lock file on a read-only directory: /data/db, terminating
MongoDB: exception in initAndListen: 20 Attempted to create a lock file on a read-only directory: /data/db, terminating
时间:2021-07-01 10:21:17
帮助过:34人阅读
or this, which will make the directory owned by you:
sudo chown -R $USER /data/db
MongoDB: exception in initAndListen: 20 Attempted to create a lock file on a read-only directory: /data/db, terminating
标签:data dir details .net user net gpo listen temp