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

Windows config file format

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • mongodb-2.6
    • manual
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved:
              8 years, 31 weeks, 6 days ago