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

mongod.service fails to start after reboot due to missing /var/run/mongodb folder

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • 3.4.0
    • None
    • Packaging
    • None
    • ALL
    • Hide
      1. Install MongoDB Enterprise via RPM in RHEL 7
      2. Enable service: sudo systemctl enable mongod.service
      3. Start service: sudo systemctl start mongod.service
      4. Verify serivce start: sudo systemctl status mongod.service
      5. Reboot the node
      6. Verify service is started (ps, systemctl, etc)
      Show
      Install MongoDB Enterprise via RPM in RHEL 7 Enable service: sudo systemctl enable mongod.service Start service: sudo systemctl start mongod.service Verify serivce start: sudo systemctl status mongod.service Reboot the node Verify service is started (ps, systemctl, etc)

    Description

      1. Installed MongoDB Enterprise on RHEL7
      2. Enabled the service
      3. Started it
      4. Rebooted the node and the service fails to start

      2016-12-06T14:30:29.065+0000 I CONTROL  [main] ERROR: Cannot write pid file to /var/run/mongodb/mongod.pid: No such file or directory
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vick.mena Vick Mena
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: