MongoDB: ERROR: child process failed, exited with error number 14

后端 未结 11 2008
攒了一身酷
攒了一身酷 2020-12-17 21:48

I run MongoDB on Mac:

Shave:mongodb_simple Logan$ ./bin/mongod -f conf/mongod.conf
about to fork child process, waiting until server is ready for connections         


        
11条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-17 22:04

    This worked for me:

    run in terminal

    sudo rm -rf mongod.lock
    export LC_ALL=C
    

    then

    sudo mongod --fork --config /xxxx/xx/mongod.conf --logpath /xxx/log/mongodb/mongodb.log
    

提交回复
热议问题