Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-11434 Review and Update MongoDB for Windows Install Guide
  3. DOCS-10422

Tell user how to correctly create cfg file for the MongoDB Windows service

    • 0.1

      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
      

            Assignee:
            tony.sansone@mongodb.com Anthony Sansone (Inactive)
            Reporter:
            byron.grogan Byron Grogan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              5 years, 44 weeks, 2 days ago