mongodb报错误:ERROR: child process failed, exited with error number 51 修复

小豆丁 1年前 ⋅ 424 阅读
about to fork child process, waiting until server is ready for connections.
forked process: 12233
ERROR: child process failed, exited with error number 51
To see additional information in this output, start without the "--fork" option.

解决办法:

1、删除MongoDb安装目录下的 mongod.lock 文件

2、修改mongodb.conf参数:fork=false

3、mongod -f xxx.conf --repair 修复

4、重启mongodb


全部评论: 0

    我有话说: