mongodb在ubuntu下的couldn‘t remove fs lock errno:9 Bad file descriptor的错误
2014-08-11 14:12
615 查看
按照官网上的安装方法:
在ubuntu系统下有可能出现如下错误:
couldn't remove fs lock errno:9 Bad file descriptor
此时需要修改文件所有者
在ubuntu系统下有可能出现如下错误:
couldn't remove fs lock errno:9 Bad file descriptor
此时需要修改文件所有者
$ sudo mkdir -p /data/db/
$ sudo chown ’USERNAME‘ /data/db
其中第一句是建立你的数据库文件夹,第二句修改该文件夹的所有者
之后就可以成功启动mongodb了
参考:stackoverflow.com/questions/15229412/unable-to-create-open-lock-file-data-mongod-lock-errno13-permission-denied
相关文章推荐
- 解决mongodb在ubuntu下启动失败,提示couldn‘t remove fs lock errno:9 Bad file descriptor的错误
- 解决mongodb在ubuntu下启动失败,提示couldn‘t remove fs lock errno:9 Bad file descriptor的错误
- python网络编程报错socket.error: [Errno 9] Bad file descriptor
- fabric 支持在linux环境nohup后台运行吗? IOError: [Errno 9] Bad file descriptor
- mongodb迁移遇问题:couldn't remove fs lock errno:9 Bad file descriptor
- mongodb 错误代码 exception in initAndListen: 12596 old lock file, terminating
- php fpm 启动 错误 Bad file descriptor
- Anaconda Python 2.7 64-bit windows 安装中[Errno 9] Bad file descriptor解决方法
- OSError: [Errno 9] Bad file descriptor
- phantomjs robot framework [Errno 9] Bad file descriptor
- 对于报 'Bad file descriptor'错误的原因
- select函数的错误,Invalid argument 或 Bad file descriptor
- OSError: [Errno 9] Bad file descriptor
- ubuntu常见错误--could not get lock /var/lib/dpkg/lock -open
- 套接字编程中,recv error:bad file descriptor
- ubuntu 常见错误--Could not get lock /var/lib/dpkg/lock
- fail to lock the file [ubuntu 系统崩溃的解决方案]
- ubuntu useradd: unable to lock password file
- ubuntu常见错误--could not get lock /var/lib/dpkg/lock -open
- 错误: java.lang.UnsupportedClassVersionError: Bad version number in .class file