Issue
Before installing Access Expert on premise server software, the Mongo DB must be installed and the Mongo service started, this requires creation and editing of a configuration file where the data and log directories are specified.
There have been many cases of YAML errors seen during V3 on premise installation when attempting to start the Mongo service.
Product Line
EcoStruxure Access Expert
Environment
- V3
- Mongo DB
Cause
The YAML parser that reads the "mongod.cfg" file is very sensitive to the format of the configuration file including some very strict rules about spaces, double quotes and back slashes.
When editing the file, it helps to setup the text editor to display ALL characters which will show any hidden characters that might be causing a parsing error.
Ex. In Notepad++: Select View>Show Symbol> Show All Characters
Resolution
- Space is needed between key and value pair.
- Enclose paths in double quotes.
- Double back slash required in Windows systems.