- 环境
- ubuntu 18.04 LTS;
- MongoDB 3.6;
2. 问题
- 报错
about to fork child process, waiting until server is ready for connections.
forked process: 32222
ERROR: child process failed, exited with error number 100
To see additional information in this output, start without the "--fork" option.
- 原因
-- mongodb 非正常关闭后,再次启动会产生 about to fork child process, waiting until server is ready for connection 异常;
3. 解决
- 删除 mongodb 的 db 目录下的 mongod.lock 文件;
- 重启mongodb;
网友评论