原文:MongoDB: exception in initAndListen: 20 Attempted to create a lock file on a read-only directory: /data/db, terminating

启动mongodb遇到的一个问题和解决: 转 http: blog.csdn.net u article details MongoDB: exception in initAndListen: Attempted to create a lock file on a read only directory: data db, terminal ...

2017-12-22 21:40 2 1659 推荐指数:

查看详情

mongodb在mac sudo mkdir -p /data/db 时提示 Read-only file system

相信升级完mac系统的朋友很多时候会发现 系统 系统根目录下的data目录没了 那是什么鬼 , 是不以为删除了 ,实际上不是的 没有删除 ,你可以在finder里搜索下 肯定会找到的 ,应该是被他移动到了其他目录下了,我的是 被移动到了 /Users/Shared/Relocated ...

Wed Nov 20 22:36:00 CST 2019 1 5685
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM