MongoDB - shutting down with code:62

后端 未结 10 878
既然无缘
既然无缘 2020-12-05 17:58

I followed the MongoDB Docs to run my MongoDB in macOS,

When I start MongoDB using the terminal get this error:

Shutting down with code: 62

10条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-05 18:24

    This has worked for me

    Initially i was facing various issues, like when i tried to start the server by using:

    mongod
    

    I received this error: shutting down with code 100

    and then i tried to start by

    sudo mongod
    

    I received this error: shutting down with code 62

    finally this command helped me to get rid of various issues

    sudo mongod --repair
    

    Now mongod server is running tentatively

    sudo mongod
    

提交回复
热议问题