In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly shows you the "MongoDB 3.4 configuration file to avoid entering the pit what matters needing attention", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn the "MongoDB 3.4 configuration file to avoid entering the pit what to pay attention to" this article.
Mongo3.4 version, I am using the configuration file in YAML format.
The process is as follows:
At the beginning, after configuration, when you start the service, you always prompt: "unrecognized option: systemLog" (as shown below)
Oddly enough, it always prompts an error on the fifth line of the configuration file, as shown in the following figure. Even if the configuration is upside down, there is always a problem with the setting on the fifth line.
Try various, delete line 5 and later configuration, but indicate that there is something wrong with the configuration on the first line, and the error content is similar to the above prompt.
I have no choice but to consult all kinds of materials and finally know the reason.
Actually, there are only two points to pay attention to.
1. In YAML format, you can only use spaces. The tab key is not supported, that is, if you use the Tab key, the same error will be reported.
2. In the format key: value, there must be a space bar between (:) and (value). This is very necessary. The reason for the above mismapping is that there are no spaces.
The above is all the contents of the article "what are the precautions to avoid entering the pit in the configuration file in MongoDB 3.4?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.