Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-4771

Windows config file format

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: mongodb-2.6
    • Fix Version/s: None
    • Component/s: manual
    • Labels:
      None
    • Last comment by Customer:
      true
    • Actual Time:
      4
    • Sprint:
      Docs Sprint Current

      Description

      Our Windows installation documentation says to create a skeletal configuration file in the legacy config file format by creating it like this:

      echo logpath=C:\mongodb\log\mongo.log > "C:\mongodb\mongod.cfg"

      This format does not work (at least with Windows Server 2012R2 and PowerShell), and it will cause an error similar to this:

      "Error parsing INI config file: unknown option ■l"

      This issue comes up over and over.

      The solution is to change the Windows installation instructions to create a config file in YAML format.

        Attachments

          Activity

            People

            Assignee:
            andrew.aldridge Andrew Aldridge
            Reporter:
            jake.angerman Jake Angerman
            Participants:
            Last commenter:
            Jonathan Dahl Jonathan Dahl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since reply:
              6 years, 29 weeks, 3 days ago
              Date of 1st Reply: