Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-9373

Missing init.d startup script (systemd module not enabled by default)

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • None
    • true

    Description

      MongoDB community edition (mongodb-org package) installed from official MongoDB repository (currently version 3.2.11)

      Issue:
      There is no /etc/init.d script so after reboot the mongod is not started. It can be started manually for sure but that's not the solution.

      However, there was system.d module but it isn't enabled by default, so this is the solution:

      systemctl enable mongod.service

      Afterwards, mongod will startup automatically after reboot.

      I think this should be put into installation script OR documentation.

      Attachments

        Issue Links

          Activity

            People

              andrew.aldridge@mongodb.com Andrew Aldridge
              xgen-internal-docs Docs Collector User
              Andrew Feierabend Andrew Feierabend (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                5 years, 38 weeks ago