启动MongoDB时报错,提示没有--fork这个选项
[root@iZ7xva19gbvp6vpiyzc1w7Z log]# mongod --verbose --logpath /data/mongodb/log/mongod.log --logappend --dbpath /data/mongodb/db --fork --bind_ip 0.0.0.0
about to fork child process, waiting until server is ready for connections.
forked process: 9755
ERROR: child process failed, exited with 48
To see additional information in this output, start without the "--fork" option.
查过以往的问题记录,发现bin或者db目录中没有mongod.lock这个文件。