Hi Team,
I have created conf file as below
storage:
dbPath: /var/mongodb/db/1
net:
bindIp: localhost,192.168.103.100
port: 27001
security:
authorization: enabled
keyfile: /var/mongodb/pki/m103-keyfile
systemlog:
destination: file
path: /var/mongodb/db/node1/mongod.log
processManagement:
fork: true
replication:
replSetname: m103-replica
when I tried to run the file
mongod -f node1.conf
I am getting below error
/M103-Replica-Lab$ mongod -f mongod-repl-1.conf
Error parsing YAML config file: yaml-cpp: error at line 2, column 8: illegal map value
try ‘mongod --help’ for more information