0

Error parsing YAML config file: yaml-cpp: error at line 30, column 3: end of map not found In MongoDB 4.0.11

Hello,When i was adding the bind ip address in mongoDb configuration file,while restarting the mongod service,I got the error that says
Error parsing YAML config file: yaml-cpp: error at line 30, column 3: end of map not found
How to fix this issue.How to start my mongod service normally

grayson
asked Aug 31, 2019
1 Answer
0

Configuration file format of MongoDB is YAML.

In your case,it's showing up an error in 30rth line 3rd column.Make sure you have given the white spaces in between the bind ip and ip address.If you are not clear,just check out the white space between the title and the description in the whole configuration file so that u will get an idea of what mistake you have done..That will solve the issue and restart the mongod service successfully.

It clearly indicates that you haven't inserted a white space in the third column of the 30rth line.

View More
linuxhelp
answered Aug 31, 2019
Your Answer
||||
 
100:0

Related News in Error parsing YAML config file: yaml-cpp: error at line 30, column 3: end of map not found In MongoDB 4.0.11

Related News in Error parsing YAML config file: yaml-cpp: error at line 30, column 3: end of map not found In MongoDB 4.0.11