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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.1, 3.5.1
    • Affects Version/s: 3.4.0
    • Component/s: Packaging
    • Labels:
      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

      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@mongodb.com Brian Samek
            Reporter:
            stephenlynx Stephen Lynx
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: