mongod fails to start with the default systemd service file

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Packaging
    • None
    • ALL
    • Hide

      1. install mongod 3.2 on ubuntu xenial (16.04)
      2. systemctl start mongod
      3. check /var/log/mongodb/mongod.log for the error

      Show
      1. install mongod 3.2 on ubuntu xenial (16.04) 2. systemctl start mongod 3. check /var/log/mongodb/mongod.log for the error
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Using the default systemd service file, either from the deb package or from the documentation[1] results in a fatal assertion (attached log).

      However, adding the following in the systemd service file, under [Service]:

      Type=forking

      makes it start up without any issues.

      I'm guessing it should be added by default?

      [1] - https://docs.mongodb.com/master/tutorial/install-mongodb-on-ubuntu/

            Assignee:
            Kelsey Schubert
            Reporter:
            Emil Burzo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: