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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.4.1, 3.5.1
    • Affects Version/s: 3.4.0
    • Component/s: Packaging
    • None
    • Fully Compatible
    • ALL
    • 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.
    • Build 2016-12-12
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Brian Samek
              Reporter:
              Stephen Lynx
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: