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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Cannot Reproduce
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • Server

    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

        Activity

          People

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

            Dates

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