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

mongod service fails to start if log and data directories do not exist or are moved for RHEL7

    XMLWordPrintable

Details

    • Bug
    • Status: Backlog
    • Minor - P4
    • Resolution: Unresolved
    • 2.6.5, 2.7.8
    • 4.1 Desired
    • Packaging
    • None
    • ALL
    • Hide

      The steps are given for community but enterprise should be same except different repo.
      Install community packages for RHEL7 from the instructions at http://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat-centos-or-fedora-linux/
      sudo service mongod stop
      sudo mv /var/log/mongodb /var/log/mongodb.bak
      sudo mv /var/lib/mongodb /var/lib/mongodb.bak
      sudo service mongod start

      mongod fails to start.

      Show
      The steps are given for community but enterprise should be same except different repo. Install community packages for RHEL7 from the instructions at http://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat-centos-or-fedora-linux/ sudo service mongod stop sudo mv /var/log/mongodb /var/log/mongodb.bak sudo mv /var/lib/mongodb /var/lib/mongodb.bak sudo service mongod start mongod fails to start.

    Description

      The use case is mentioned in SERVER-9985, where mongod service fails to start if log and data directories do not exist or are removed for RHEL7.

      The issue is for systemd init script for RHEL7.

      Attachments

        Issue Links

          Activity

            People

              backlog-server-devplatform Backlog - Server Development Platform Team (SDP)
              jalpa.trivedi@mongodb.com Jalpa Trivedi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: