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

Mongod service not starting after updating config with yaml format

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Admin
    • Labels:
      None
    • Operating System:
      ALL

      Description

      I am running mongod version 3.0 currently i am going to post my mongod.conf and the error i am getting. I am using the default mongod script that comes with the rpm with no changes being made. All the permissions are correct from what i see. Not getting a permissions error.

      [root@ctsnapmongodev01 ~]# cat /etc/mongod.conf
      # mongod.conf
      storage:
          dbPath: "/data/db"
      systemLog:
          path: "/var/log/mongodb/mongod.log"
          logAppend: true
      processManagement:
          pidfilepath=/var/run/mongodb/mongod.pid
          fork: true
      net:
          bindIp: 127.0.0.1
          port: 27018
      sharding:
         clusterRole: shardsvr
      replication:
         oplogSizeMB: 1024
      }'
      

      Error:

      Sep 16 13:56:43 ctsnapmongodev01.surveysampling.com runuser[7372]: pam_unix(runuser:session): session opened for user mongod by (uid=0)
      Sep 16 13:56:43 ctsnapmongodev01.surveysampling.com runuser[7372]: pam_unix(runuser:session): session closed for user mongod
      Sep 16 13:56:43 ctsnapmongodev01.surveysampling.com mongod[7366]: Starting mongod: [FAILED]
      Sep 16 13:56:43 ctsnapmongodev01.surveysampling.com systemd[1]: mongod.service: control process exited, code=exited status=1
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            dsrakkar Dharminder Singh
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: