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

Windows config file format

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • Affects Version/s: mongodb-2.6
    • Component/s: manual
    • Labels:
      None

      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.

            Assignee:
            andrew.aldridge@mongodb.com Andrew Aldridge
            Reporter:
            jake.angerman Jake Angerman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              8 years, 43 weeks ago