为了账号安全,请及时绑定邮箱和手机立即绑定

老师,启动mongod的时候报错

about to fork child process, waiting until server is ready for connections.

forked process: 17607

ERROR: child process failed, exited with 1

To see additional information in this output, start without the "--fork" option.


正在回答

1 回答

删除mongodb 的db目录下的mongod.lock文件,重启mongodb即可。该文件会生成在日志文件下(跟bin目录同级),cd 日志文件后 rm指令删除mongod.lock文件

1 回复 有任何疑惑可以回复我~
#1

Dreamer1017 提问者

感谢感谢~
2023-03-27 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

老师,启动mongod的时候报错

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信