I'm trying to configure windows 7 (32 bit) service for MongoDB with that cmd command: mongod.exe -f mongo.conf --install --serviceName mongoDB --serviceDisplayName "MongoDB windows service" --serviceDescription "MongoDB"
-f mongo.conf is a reference to my configuration file located in the same directory with mongod.exe.
this is how my mongo.conf looks like:
dbpath = C:\Program Files\MongoDB 2.6 Standard\data
logpath = C:\Program Files\MongoDB 2.6 Standard\logs\mongo.log
port = 27017
and yet, when i'm trying to run the command, mongo logs to me:
--install has to be used with --logpath
anyone has an idea what is wrong with that?