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

    XMLWordPrintable

Details

    • Bug
    • Status: Backlog
    • Minor - P4
    • Resolution: Unresolved
    • 2.6.5, 2.7.8
    • 4.1 Desired
    • Packaging
    • None
    • 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

        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: