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

Ubuntu startup files have an inconsistent directory for dbpath and logs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.7, 3.1.8
    • Component/s: Packaging
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      Linux
    • Backport Completed:
    • Sprint:
      Build 5 06/26/16, Build 6 07/17/15, Build 7 08/10/15, Build 8 08/31/15

      Description

      From the upstart file
      if [ ! -d /var/lib/mongod ]; then
      mkdir -p /var/lib/mongodb && chown mongodb:mongodb /var/lib/mongodb
      fi
      if [ ! -d /var/log/mongod ]; then
      mkdir -p /var/log/mongodb && chown mongodb:mongodb /var/log/mongodb
      fi

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: