[DOCS-413] mistake on Install MongoDB on Windows page Created: 17/Aug/12  Updated: 30/Oct/23  Resolved: 17/Aug/12

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: mongodb-2.2
Fix Version/s: Server_Docs_20231030

Type: Bug Priority: Critical - P2
Reporter: Jonathan Levine Assignee: Andrew Leung (Inactive)
Resolution: Done Votes: 0
Labels: Windows
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 7 64 bit


Participants:
Days since reply: 11 years, 26 weeks, 2 days ago

 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.



 Comments   
Comment by Andrew Leung (Inactive) [ 20/Aug/12 ]

Hi Jonathan,

Thanks for finding this bug! We've corrected it now.

andrew

Comment by auto [ 17/Aug/12 ]

Author:

{u'date': u'2012-08-17T08:48:18-07:00', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}

Message: DOCS-413 corrections and edits
Branch: master
https://github.com/mongodb/docs/commit/d160246df0abeb9517a2fbe5cf1d5d0ec28e66dc

Comment by auto [ 17/Aug/12 ]

Author:

{u'date': u'2012-08-17T07:59:54-07:00', u'email': u'andrew.leung@10gen.com', u'name': u'Andrew Leung'}

Message: fixed DOCS-413 log error; revised parts for clarity
Branch: master
https://github.com/mongodb/docs/commit/54b80638e987228d168680002c5ad27a2abf1e33

Generated at Thu Feb 08 07:38:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.