os是deepin,我可以使用
/ home / soft / mongodb / bin / mongod --dbpath = / home / soft / mongodb / data / db --logpath = / home / soft / mongodb / log / mongodb.log --logappend --port 27017 --fork
将正常启动mongodb,但是当我使用
时mongod --config /usr/local/mongodb/mongodb.conf 会引起像这张照片的一些问题 enter image description here 如果图片不显示,错误代码:
root@deepin:/# mongod -config /home/soft/mongodb/mongodb.conf
about to fork child process, waiting until server is ready for connections.
forked process: 3196
ERROR: child process failed, exited with error number 100
运行后,日志文件图片就像这样 enter image description here
答案 0 :(得分:0)
sudo
install-mongodb-child-process-failed-exited-with-error-number-100