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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.4.0
    • Component/s: Packaging
    • None
    • Environment:
    • 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)
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
      

              Assignee:
              Unassigned
              Reporter:
              Vick Mena (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: