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

tricks: "manual/reference/configuration-options.txt" "Install and Run the MongoDB Service"

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: 01112017-cleanup
    • Component/s: Server
    • Environment:
    • # Replies:
      1
    • Last comment by Customer:
      false

      Description

      Hi,

      I tried to install mongodb on Win server 2012. At the chapter "Install and Run the MongoDB Service", i have to install mongodb as a windows service. But i have a problem reports like this topic:
      https://groups.google.com/forum/#!topic/mongodb-user/FOn6ObvlkNw

      I resolve the problem like this:

      • remove "c:\mongodb\mongod.cfg" file
      • start windows explorer
      • make a text file "c:\mongodb\mongod.cfg.txt"
      • append text "logpath=C:\mongodb\log\mongo.log"
      • rename file to "c:\mongodb\mongod.cfg"

      And so, just re-open PowerShell and run "C:\mongodb\bin\mongod.exe --config C:\mongodb\mongod.cfg --install"
      It works!!

      I think it's maybe because of encoding file... Can you add this tricks in order to help user?

      bye

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sam.kleinman Sam Kleinman
                Reporter:
                auto auto
                Participants:
                Last commenter:
                Jonathan Dahl
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since reply:
                  6 years, 27 weeks, 4 days ago
                  Date of 1st Reply: