Mongodb_ "Error parsing YAML config File:yaml-cpp:error at line 3, column 9:illegal map value" Workaround

Source: Internet
Author: User
Tags mongodb

System error When starting configuration file: Error parsing YAML config File:yaml-cpp:error at line 3, column 9:illegal map value

  

First check that each parameter is properly configured

The second step is to see if the file path is correct, when surrounded by double quotes in the path ("D:\MongoDB\data"), you should replace "\" in the path with "/" ("D:/mongodb/data")

The third step is to see whether the tab-delimited fields in the configuration file are changed to split the tab fields into spaces

Fourth step to view the file encoding format, the file encoding format should be saved in ASCII format

After making sure that no problem, you can run Mongod--config "D:\Mongodb\Mongod.cfg"--bind_ip 0.0.0.0--install without error to start successfully

Mongodb_ "Error parsing YAML config File:yaml-cpp:error at line 3, column 9:illegal map value" Workaround

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.