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

Cannot write pid file to /var/run/mongodb/mongod.pid: No such file or directory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.4.0
    • Fix Version/s: 3.4.1, 3.5.1
    • Component/s: Packaging
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Completed:
    • Steps To Reproduce:
      Hide

      Install 3.4 on centOS 7, run systemctl enable mongod, restart the system.

      Show
      Install 3.4 on centOS 7, run systemctl enable mongod, restart the system.
    • Sprint:
      Build 2016-12-12
    • Case:

      Description

      For some reason, CentOS 7 is deleting the /var/run/mongodb directory on reboot and mongodb isn't creating it before trying to boot.

      So what happens is that it isn`t able to boot when the system does.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: