Error: Cannot open main configuration file ‘/mod/sites/test/tmp/nagios/nagios.cfg’ for reading! Error processing main config file!

CMK version: check-mk-raw-2.1.0p20_0.jammy_amd64.deb
OS version: Ubuntu 22.04

Error message:

Starting nagios…
Nagios Core 3.5.1
Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-30-2013
License: GPL

Website: http://www.nagios.org
Reading configuration data…
Error: Cannot open main configuration file ‘/omd/sites/test/tmp/nagios/nagios.cfg’ for reading!
Error processing main config file!

***> One or more problems was encountered while processing the config files…

 Check your configuration file(s) to ensure that they contain valid
 directives and data defintions.  If you are upgrading from a previous
 version of Nagios, you should be aware that some variables/definitions
 may have been removed or modified in this version.  Make sure to read
 the HTML documentation regarding the config files, as well as the
 'Whats New' section to find out what has changed.

I installed Checkmk following the instructions on their page but after creating the site with ‘omd create test’ when trying to start it with ‘omd start test’ I get this error. I checked the permissions on the file '/omd/sites/test/tmp/nagios/nagios.cfg’ and they are: -rw-rw-r- - , so it should be able to read it. Do you know what the problem is?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.