Setting up Graylog: - Error parsing YAML config file: yaml-cpp: error at line 22, column 3

Good Evening,all

I have completed the Graylog installation steps, but am getting this issue as I was creating certificate services. Below is the error message I am getting. Can you please assist me in fixing the problem:

ay 13 11:03:55 wihl-signoz systemd[1]: Started mongod.service - MongoDB Database Server.
May 13 11:03:56 wihl-signoz mongod[1266]: Error parsing YAML config file: yaml-cpp: error at line 22, column 3: end of >
May 13 11:03:56 wihl-signoz mongod[1266]: try ‘/usr/bin/mongod --help’ for more information
May 13 11:03:56 wihl-signoz systemd[1]: mongod.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
May 13 11:03:56 wihl-signoz systemd[1]: mongod.service: Failed with result ‘exit-code’.
May 13 11:08:21 wihl-signoz systemd[1]: Started mongod.service - MongoDB Database Server.
May 13 11:08:21 wihl-signoz mongod[1771]: Error parsing YAML config file: yaml-cpp: error at line 22, column 3: end of >
May 13 11:08:21 wihl-signoz mongod[1771]: try ‘/usr/bin/mongod --help’ for more information
May 13 11:08:21 wihl-signoz systemd[1]: mongod.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
May 13 11:08:21 wihl-signoz systemd[1]: mongod.service: Failed with result ‘exit-code’.
May 13 11:17:44 wihl-signoz systemd[1]: Started mongod.service - MongoDB Database Server.
May 13 11:17:44 wihl-signoz mongod[2276]: Error parsing YAML config file: yaml-cpp: error at line 22, column 3: end of >
May 13 11:17:44 wihl-signoz mongod[2276]: try ‘/usr/bin/mongod --help’ for more information
May 13 11:17:44 wihl-signoz systemd[1]: mongod.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
May 13 11:17:44 wihl-signoz systemd[1]: mongod.service: Failed with result ‘exit-code’.
May 13 11:18:53 wihl-signoz systemd[1]: Started mongod.service - MongoDB Database Server.
May 13 11:18:53 wihl-signoz mongod[2345]: Error parsing YAML config file: yaml-cpp: error at line 22, column 3: end of >
May 13 11:18:53 wihl-signoz mongod[2345]: try ‘/usr/bin/mongod --help’ for more information
May 13 11:18:53 wihl-signoz systemd[1]: mongod.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
May 13 11:18:53 wihl-signoz systemd[1]: mongod.service: Failed with result ‘exit-code’.
May 13 11:20:48 wihl-signoz systemd[1]: Started mongod.service - MongoDB Database Server.
May 13 11:20:48 wihl-signoz mongod[2396]: {“t”:{“$date”:“2025-05-13T11:20:48.613Z”},“s”:“I”, “c”:“CONTROL”, “id”:7484>
lines 1-29

@elia

What are your settings for MongoDb? looking something with the Config file preventing your service from running. MongoDB by it self should start without attaching it to Graylog.

The problem started happen when i was creating certificate services, it was stacking on certificate provision and since from that, it’s been giving issues. If you have time, can we check together. I am just testing for hotels.