Error parsing YAML config file: yaml-cpp: error at line 3, column 15: unknown escape character: l

843 views
Skip to first unread message

rvu...@gmail.com

unread,
Aug 6, 2015, 3:40:45 AM8/6/15
to mongodb-user
replication:
   replSetName:"t_rs"
systemLog:
   destination: file  
   path: "E:\mongod_3.0_std\log\mongo.log"
storage:
   dbPath: "D:\mongodb_3.0_std\data"
net:
   port: 27017
security:
   authorization: enabled


i have tried may ways it says 
Error parsing YAML config file: yaml-cpp: error at line 3, column 15: unknown escape character: l

Error parsing YAML config file: yaml-cpp: error at line 5, column 15: unknown escape character: m

Asya Kamsky

unread,
Aug 9, 2015, 8:14:35 PM8/9/15
to mongodb-user
Ensure the configuration file uses ASCII encoding rather than any
non-ASCII encoding, including UTF-8.

You might want to open the file with an editor or browser than can
show you what type of encoding it detects to check.

You also should make sure your spacing is consistent in the file. Try
to emulate this format:

http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/#create-a-configuration-file
> --
> You received this message because you are subscribed to the Google Groups
> "mongodb-user"
> group.
>
> For other MongoDB technical support options, see:
> http://www.mongodb.org/about/support/.
> ---
> You received this message because you are subscribed to the Google Groups
> "mongodb-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to mongodb-user...@googlegroups.com.
> To post to this group, send email to mongod...@googlegroups.com.
> Visit this group at http://groups.google.com/group/mongodb-user.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mongodb-user/796f2d17-7005-4dc1-b5f5-f197aadd49c9%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages