I am getting this error constantly while i am trying to install mongod using a configuration file. So, I am looking at this tutorial on Pluralsight on mongodb. The person\'s pro
In the config file use absolute path instead of relative path for dbpath & logpath as like below and run the command to install the MongoDB service.
dbpath = c:/Pluralsight/db (instead of /Pluralsight/db)
logpath = c:/Pluralsight/mongo-server.log (instead of Pluralsight/mongo-server.log)
verbose = vvvvv
Command to install the MongoDB service is like:
mongod -config "C:\Pluralsight\mongod.conf" --install