Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-27619

Mongodb 3.2 does Not start After enabling authorization

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • ALL

    Description

      Below I Have Attached My Conf And Log File

      1. mongod.conf
      1. for documentation of all options, see:
      2. http://docs.mongodb.org/manual/reference/configuration-options/
      1. where to write logging data.
        systemLog:
        destination: file
        logAppend: true
        path: /var/log/mongodb/mongod.log
      1. Where and how to store data.
        storage:
        dbPath: /var/lib/mongo
        journal:
        enabled: true
      2. engine:
      3. mmapv1:
      4. wiredTiger:
      1. how the process runs
        processManagement:
        fork: true # fork and run in background
        pidFilePath: /var/run/mongodb/mongod.pid # location of pidfile
      1. network interfaces
        net:
        port: 27017
        bindIp: 127.0.0.1 # Listen to local interface only, comment to listen on all interfaces.

      security:
      authorization: enabled
      #operationProfiling:

      #replication:

      #sharding:

        1. Enterprise-Only Options

      #auditLog:

      #snmp:

      Error==>
      [root@localhost Desktop]# sudo service mongod restart
      Restarting mongod (via systemctl): Job for mongod.service failed because the control process exited with error code. See "systemctl status mongod.service" and "journalctl -xe" for details.
      [FAILED]

      Attachments

        1. mongod.conf
          0.8 kB
        2. mongod.log
          24 kB

        Activity

          People

            mark.agarunov Mark Agarunov
            hemanparbhakar Heman
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: