Checkmk status run partially due to nagios failed to start

Hi there,

I am running the checkmk in Docker using the image checkmk/check-mk-raw:2.2.0p27. After create the sites and start it, but it always failed with the nagios. Prefers the nagios logs below:

[1731302096] Nagios 3.5.1 starting... (PID=3536)
[1731302096] Local time is Mon Nov 11 05:14:56 UTC 2024
[1731302096] LOG VERSION: 2.0
[1731302096] npcdmod: Copyright (c) 2008-2009 Hendrik Baecker (andurin@process-zero.de) - http://www.pnp4nagios.org
[1731302096] npcdmod: /omd/sites/cmk/etc/pnp4nagios/npcd.cfg initialized
[1731302096] npcdmod: spool_dir = '/omd/sites/cmk/var/pnp4nagios/spool/'.
[1731302096] npcdmod: perfdata file '/omd/sites/cmk/var/pnp4nagios/perfdata.dump'.
[1731302096] npcdmod: Ready to run to have some fun!
[1731302096] Event broker module '/omd/sites/cmk/lib/npcdmod.o' initialized successfully.
[1731302096] livestatus: setting number of client threads to 20
[1731302096] livestatus: inventory directory '/omd/sites/cmk/var/check_mk/inventory' not existing!
[1731302096] livestatus: robotmk html log directory '/omd/sites/cmk/var/robotmk' not existing!
[1731302096] livestatus: Livestatus by Checkmk GmbH started with PID 3536
[1731302096] livestatus: version 2.2.0p27 compiled Mon, 03 Jun 2024 07:35:58 +0000 on ubuntu-22.04
[1731302096] livestatus: built with g++-13 (GCC) 13.2.0, using RE2 regex engine
[1731302096] livestatus: please visit us at https://checkmk.com/
[1731302096] livestatus: running on Checkmk site la, cool.
[1731302096] livestatus: removed old socket file "/omd/sites/cmk/tmp/run/live"
[1731302096] livestatus: opened UNIX socket at "/omd/sites/cmk/tmp/run/live"
[1731302096] livestatus: your event_broker_options are sufficient for livestatus.
[1731302096] livestatus: finished initialization, further log messages go to "/omd/sites/cmk/var/nagios/livestatus.log"
[1731302096] Event broker module '/omd/sites/cmk/lib/mk-livestatus/livestatus.o' initialized successfully.
[1731302096] Lockfile '/omd/sites/cmk/tmp/lock/nagios.lock' looks like its already held by another instance of Nagios (PID 3366).  Bailing out...
[1731302096] npcdmod: If you don't like me, I will go out! Bye.
[1731302096] Event broker module '/omd/sites/cmk/lib/npcdmod.o' deinitialized successfully.
[1731302096] livestatus: deinitializing
[1731302096] Event broker module '/omd/sites/cmk/lib/mk-livestatus/livestatus.o' deinitialized successfully.

I had tried to kill the process 3366 ensure no nagios process is running /run/rosetta/rosetta /omd/sites/cmk/bin/nagios /omd/sites/cmk/bin/nagios -ud /omd/sites/cmk/tmp/nagios/nagios.cfg, and omd start nagios again but still same error with different PID. I had tried different docker image and fresh create new site but still same error. Anyone who experience the same issue?

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.