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

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

    • Type: Icon: Task Task
    • Resolution: Cannot Reproduce
    • Priority: Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • Affects Version/s: None
    • Component/s: Server
    • Environment:

      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

            Assignee:
            sam.kleinman Sam Kleinman (Inactive)
            Reporter:
            auto auto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              10 years, 31 weeks, 1 day ago