mongodb service is not starting up

前端 未结 21 688
野的像风
野的像风 2020-12-02 05:16

I\'ve installed the mongodb 2.0.3, using the mongodb-10gen debian package. Everything went well, except the service which is installed by default is not starting up when com

21条回答
  •  渐次进展
    2020-12-02 05:39

    Here's a weird one, make sure you have consistent spacing in the config file.

    For example:

    processManagement:
      timeZoneInfo: /usr/share/zoneinfo
    
    security:
        authorization: 'enabled'
    

    If the authorization key has 4 spaces before it, like above and the rest are 2 spaces then it won't work.

提交回复
热议问题