[DOCS-4771] Windows config file format Created: 04/Feb/15  Updated: 30/Oct/23  Resolved: 09/Jul/15

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: mongodb-2.6
Fix Version/s: Server_Docs_20231030

Type: Bug Priority: Major - P3
Reporter: Jake Angerman Assignee: Andrew Aldridge
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
Participants:
Days since reply: 8 years, 31 weeks, 6 days ago

 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.



 Comments   
Comment by Andrew Aldridge [ 09/Jul/15 ]

Thanks jake.angerman!

Comment by Andrew Aldridge [ 09/Jul/15 ]

Addressed as part of WRITING-1363

Generated at Thu Feb 08 07:48:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.