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

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

    XMLWordPrintableJSON

Details

    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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              46 weeks, 6 days ago