I am trying to install a service for Mongodb. I type the following command in cmd window as administrator
c:/mongodb/bin/mongod.exe --config "C:\mongodb\mongod.cfg" --install,
but I get the following error:
YAML parsing error: YAML-cpp: error on line 2, column 13: illegal map value
Here is the contents of the configuration file:
systemLog:
destination: file
path: c:\data\log\mongod.log
storage:
dbPath: c:\data\db
source
share