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

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 3.4.0
    • Fix Version/s: None
    • Component/s: Packaging
    • Labels:
      None
    • Environment:
    • Operating System:
      ALL
    • Steps To Reproduce:
      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

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: