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

CentOS 7: sudo service mongod start fails with error

    • Type: Icon: Question Question
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.0.10
    • Component/s: Replication, Security
    • None

      I have setup my primary server for replication and then when I stop and restart mongod it just fails.

      Here is the error

      [mongoadmin@europa ~]$ sudo service mongod start

      Starting 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]

      [mongoadmin@europa ~]$ systemctl status mongod.service

      ● mongod.service - SYSV: Mongo is a scalable, document-oriented database.
      Loaded: loaded (/etc/rc.d/init.d/mongod)
      Active: failed (Result: exit-code) since Sat 2016-03-26 15:18:04 UTC; 6s ago
      Docs: man:systemd-sysv-generator(8)
      Process: 1727 ExecStart=/etc/rc.d/init.d/mongod start (code=exited, status=1/FAILURE)

            Assignee:
            Unassigned Unassigned
            Reporter:
            kxkannan Krishnan Kannan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: