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

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

    XMLWordPrintableJSON

Details

    • Server Development Platform
    • ALL
    • Hide

      Steps To Reproduce:
      The steps are given for community but enterprise should be same except different repo.
      Install community packages for RHEL6 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
      Steps To Reproduce: The steps are given for community but enterprise should be same except different repo. Install community packages for RHEL6 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 RHEL6.

      The issue is for upstart init script for RHEL6.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: