Hi everyone, I am having an issue with finishing my LAB for M103 , and the issues lies with the configuration file on the window.
I am getting the error message:
vagrant@m103:~$ mongod --config “C:\Users\behja\MongoUniversity\m103-vagrant-env\shared\config.cfg”
Error reading config file: No such file or directory
And here is my configuration file:
systemLog:
destination: file
path: “C:\variables\logs\mongo.log”
logAppend: true
storage:
dbPath: “C:\variables\data”
security:
authorization: enabled
replication:
replSetName: M103
net:
bindIp : “127.0.0.1,192.168.0.100”
port: 27000
security:
authorization: enabled
I have done the following:
- Change the location and file extension from text to cfg
- Also made sure that the configuration file is located on the same folder on as my vagrant executable files
- Also the account that is running under is an ADMIN
Please help…