Task Validation

i have created config file and start mongod process , in Lab ( Configuration File).
I am not able to run / validate using following command .

vagrant@m103:~$ validate_lab_configuration_file

i am getting error like :

vagrant@m103:~$ validate_lab_configuration_file
You need to specify dbPath as /data/db.

MY CONFIG FILE :
vagrant@m103:~$ cat /home/vagrant/data/config/test1.conf
storage:
dbPath: “/home/vagrant/data/db”
systemLog:
path: “/home/vagrant/data/log/mongod.log”
destination: “file”
net:
port: 27000
bindIp : “127.0.0.1,192.168.103.100”
processManagement:
fork : true
security:
authorization: enabled

Please guide me !!

Hi,
The dbPath must be strictly /data/db, not /home/vagrant/data/db.

2 Likes