linux - mongodb cannot start with mongo.conf -


os deepin,i can use

/home/soft/mongodb/bin/mongod --dbpath=/home/soft/mongodb/data/db --logpath=/home/soft/mongodb/log/mongodb.log --logappend --port 27017 --fork

will normal start mongodb,but when use

mongod --config /usr/local/mongodb/mongodb.conf cause problems picture enter image description here if picture not display,error code :

root@deepin:/# mongod -config /home/soft/mongodb/mongodb.conf  fork child process, waiting until server ready connections. forked process: 3196 error: child process failed, exited error number 100 

after run,the log file picture enter image description here

  1. try posting logs if created any.
  2. check permissions folders created, i.e make sure folders created sudo install-mongodb-child-process-failed-exited-with-error-number-100
  3. also try out mongodb-wont-start-error-child-process-failed-exited-with-error-number-100

Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -