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

    • Server Development Platform
    • 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.

      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.

            Assignee:
            backlog-server-devplatform [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            Reporter:
            jalpa.trivedi@mongodb.com Jalpa Trivedi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: