YAML Syntax error - end of map not found

vagrant@m103:~$ mongod --config /shared/mongod.conf
Error parsing YAML config file: yaml-cpp: error at line 10, column 4: end of map not found
try ‘mongod --help’ for more information

I added quotes to everything bc I can’t tell what it did not like:
storage:
dbPath: “/data/db”
systemLog:
path: “/data/log.mongod.log”
destination: “file”
replication:
replSetName: “M103”
net:
bindIp: “192.168.103.100”
port: “27000”
ssl:
mode: “requireSSL”
PEMKeyFile: “/etc/ssl/ssl.pem”
CAFile: “/etc/ssl/SSLCA.pem”
security:
keyFile: “/data/keyfile”
processManagement:
fork : “true”

Some indentation problem
Is bindip parameter correct?

1 Like