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

mistake on Install MongoDB on Windows page

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical - P2 Critical - P2
    • Server_Docs_20231030
    • mongodb-2.2
    • manual
    • Windows 7 64 bit

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              11 years, 26 weeks, 2 days ago