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

mistake on Install MongoDB on Windows page

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical - P2
    • Resolution: Fixed
    • mongodb-2.2
    • None
    • manual
    • Windows 7 64 bit
    • true

    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
            Jess Mokrzecki Jess Mokrzecki
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 24 weeks, 6 days ago