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

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.4.0
    • 3.4.1, 3.5.1
    • 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

    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

              brian.samek@mongodb.com Brian Samek
              stephenlynx Stephen Lynx
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: