mongod.conf has a duplicate key. I could not comment out the duplicate entry because it is read only. the security key is duplicated.
vagrant@m103:~$ mongod -f /etc/mongod.conf
Error parsing YAML config: duplicate key: security.authorization(canonical key: security.authorization)
I cannot do the exercise as written in the lecture “Basic Security 2”. How should I proceed?
vagrant@m103:~$ cat /etc/mongod.conf
for documentation of all options, see:
Where and how to store data.
where to write logging data.
how the process runs