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

mistake on Install MongoDB on Windows page

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • Server_Docs_20231030
    • Affects Version/s: mongodb-2.2
    • Component/s: manual
    • Labels:
    • Environment:
      Windows 7 64 bit

      on the page http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/
      you say:

      C:\>echo logpath=C:\mongodb\log > C:\mongodb\mongod.cfg

      but when you execute the next command, it fails:

      C:\>C:\mongodb\bin\mongod.exe --config C:\mongodb\mongod.cfg --install
      all output going to: C:\mongodb\log
      logpath [C:\mongodb\log] should be a file name not a directory

      So I did this instead:

      C:\>echo logpath=C:\mongodb\log\mongo.log > C:\mongodb\mongod.cfg

      and it works for me now.

            Assignee:
            andrew.leung@10gen.com Andrew Leung (Inactive)
            Reporter:
            jlevine Jonathan Levine
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              11 years, 36 weeks, 4 days ago