Review and Update MongoDB for Windows Install Guide (DOCS-11434)

[DOCS-10422] Tell user how to correctly create cfg file for the MongoDB Windows service Created: 22/Jun/17  Updated: 30/Oct/23  Resolved: 20/Jun/18

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Sub-task Priority: Minor - P4
Reporter: Byron Grogan Assignee: Anthony Sansone (Inactive)
Resolution: Fixed Votes: 0
Labels: installation, windows
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

https://docs.mongodb.com/manual/tutorial/install-mongodb-on-windows


Participants:
Days since reply: 5 years, 34 weeks, 1 day ago
Story Points: 0.1

 Description   

I got tripped up when following the Configure a Windows Service for MongoDB tutorial. This resulted in the command line parsing the incorrect configuration file as Windows will append the file extension based on the file format. The service was parsing the command line for a file named mongod.cfg but the file was actually named mongod.cfg.txt. However, sc would still return a [SC] CreateService SUCCESS message.

Please add a step to include the below command to create an example file in the correct format.

echo $null >> mongod.cfg



 Comments   
Comment by Githook User [ 19/Jun/18 ]

Author:

{'username': 'atsansone', 'name': 'Anthony Sansone', 'email': 'tony.sansone@mongodb.com'}

Message: (DOCS-10422): Added information on file extension visibility.
Branch: v3.6
https://github.com/mongodb/docs/commit/6411c5d41533d289beff44eed8aa0057cdc2cff9

Comment by Githook User [ 19/Jun/18 ]

Author:

{'username': 'atsansone', 'name': 'Anthony Sansone', 'email': 'tony.sansone@mongodb.com'}

Message: (DOCS-10422): Added information on file extension visibility.
Branch: master
https://github.com/mongodb/docs/commit/a7d2a36deb8d5d7a367b6365c149c0b556bf9b31

Generated at Thu Feb 08 08:00:31 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.