-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:
-
Environment:Windows 2008R2, Powershell
*Location*: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/
*User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36
*Referrer*: http://docs.mongodb.org/manual/installation/
*Screen Resolution*: 1920 x 1016
*repo*: docs
*source*: tutorial/install-mongodb-on-windows
Windows 2008R2, Powershell *Location*: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/ *User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36 *Referrer*: http://docs.mongodb.org/manual/installation/ *Screen Resolution*: 1920 x 1016 *repo*: docs *source*: tutorial/install-mongodb-on-windows
Need to note that mongod.cfg need to be saved in ANSI encoding. I performed all the steps and got an error "error command line: unknown option XXX" when tried to install mongod as a service.
The problem was that I used Powershell, which saves output in Unicode. Re-saving mongod.cfg file in ANSI solved the problem