CMK Agent Systemd Service Summary | 1 Service failed (cmk-agent-ctl-daemon)

hey @tosch ,

systemctl status cmk-agent-ctl-daemon.service output is

● cmk-agent-ctl-daemon.service - Checkmk agent controller daemon
   Loaded: loaded (/lib/systemd/system/cmk-agent-ctl-daemon.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2022-09-19 12:14:40 CEST; 4h 43min ago
  Process: 31628 ExecStart=/usr/bin/cmk-agent-ctl daemon (code=exited, status=1/FAILURE)
 Main PID: 31628 (code=exited, status=1/FAILURE)

Sep 19 12:14:40 <hostname> systemd[1]: cmk-agent-ctl-daemon.service: Service RestartSec=100ms expired, scheduling restart.
Sep 19 12:14:40 <hostname> systemd[1]: cmk-agent-ctl-daemon.service: Scheduled restart job, restart counter is at 6.
Sep 19 12:14:40 <hostname> systemd[1]: Stopped Checkmk agent controller daemon.
Sep 19 12:14:40 <hostname> systemd[1]: cmk-agent-ctl-daemon.service: Start request repeated too quickly.
Sep 19 12:14:40 <hostname> systemd[1]: cmk-agent-ctl-daemon.service: Failed with result 'exit-code'.
Sep 19 12:14:40 <hostname> systemd[1]: Failed to start Checkmk agent controller daemon.

and

journalctl -u cmk-agent-ctl-daemon.service output

-- Logs begin at Sat 2022-09-03 09:27:02 CEST, end at Mon 2022-09-19 17:00:02 CEST. --

Sep 19 10:58:31 <hostname> systemd[1]: Started Checkmk agent controller daemon.

Sep 19 10:58:31 <hostname> cmk-agent-ctl[5355]: ERROR [cmk_agent_ctl] Failed to listen on TCP socket for incoming pull connections.

Sep 19 10:58:31 <hostname> cmk-agent-ctl[5355]: Error with IPV6:

Sep 19 10:58:31 <hostname> cmk-agent-ctl[5355]: Address in use (os error 98)

Sep 19 10:58:31 <hostname> cmk-agent-ctl[5355]: Error with IPV4:

Sep 19 10:58:31 <hostname> cmk-agent-ctl[5355]: Address in use (os error 98)

Sep 19 10:58:31 <hostname> systemd[1]: cmk-agent-ctl-daemon.service: Main process exited, code=exited, status=1/FAILURE

Sep 19 10:58:31 <hostname> systemd[1]: cmk-agent-ctl-daemon.service: Failed with result 'exit-code'.

Sep 19 10:58:31 <hostname> systemd[1]: cmk-agent-ctl-daemon.service: Service RestartSec=100ms expired, scheduling restart.

Sep 19 10:58:31 <hostname> systemd[1]: cmk-agent-ctl-daemon.service: Scheduled restart job, restart counter is at 1.

Sep 19 10:58:31 <hostname> systemd[1]: Stopped Checkmk agent controller daemon.

Sep 19 10:58:31 <hostname> systemd[1]: Started Checkmk agent controller daemon.

Sep 19 10:58:31 <hostname> cmk-agent-ctl[5421]: ERROR [cmk_agent_ctl] Failed to listen on TCP socket for incoming pull connections.

Sep 19 10:58:31 <hostname> cmk-agent-ctl[5421]: Error with IPV6:

Sep 19 10:58:31 <hostname> cmk-agent-ctl[5421]: Address in use (os error 98)

Sep 19 10:58:31 <hostname> cmk-agent-ctl[5421]: Error with IPV4:

Sep 19 10:58:31 <hostname> cmk-agent-ctl[5421]: Address in use (os error 98)

Sep 19 10:58:31 <hostname> systemd[1]: cmk-agent-ctl-daemon.service: Main process exited, code=exited, status=1/FAILURE

Sep 19 10:58:31 <hostname> systemd[1]: cmk-agent-ctl-daemon.service: Failed with result 'exit-code'.

Sep 19 10:58:31 <hostname> systemd[1]: cmk-agent-ctl-daemon.service: Service RestartSec=100ms expired, scheduling restart.

Sep 19 10:58:31 <hostname> systemd[1]: cmk-agent-ctl-daemon.service: Scheduled restart job, restart counter is at 2.

Sep 19 10:58:31 <hostname> systemd[1]: Stopped Checkmk agent controller daemon.

Sep 19 10:58:31 <hostname> systemd[1]: Started Checkmk agent controller daemon.

Sep 19 10:58:31 <hostname> cmk-agent-ctl[5469]: ERROR [cmk_agent_ctl] Failed to listen on TCP socket for incoming pull connections.

Sep 19 10:58:31 <hostname> cmk-agent-ctl[5469]: Error with IPV6:

Sep 19 10:58:31 <hostname> cmk-agent-ctl[5469]: Address in use (os error 98)

Sep 19 10:58:31 <hostname> cmk-agent-ctl[5469]: Error with IPV4:

Sep 19 10:58:31 <hostname> cmk-agent-ctl[5469]: Address in use (os error 98)

Sep 19 10:58:31 <hostname> systemd[1]: cmk-agent-ctl-daemon.service: Main process exited, code=exited, status=1/FAILURE

Sep 19 10:58:31 <hostname> systemd[1]: cmk-agent-ctl-daemon.service: Failed with result 'exit-code'.

Sep 19 10:58:31 <hostname> systemd[1]: cmk-agent-ctl-daemon.service: Service RestartSec=100ms expired, scheduling restart.

Sep 19 10:58:31 <hostname> systemd[1]: cmk-agent-ctl-daemon.service: Scheduled restart job, restart counter is at 3.

Sep 19 10:58:31 <hostname> systemd[1]: Stopped Checkmk agent controller daemon.

Sep 19 10:58:31 <hostname> systemd[1]: Started Checkmk agent controller daemon.

Sep 19 10:58:31 <hostname> cmk-agent-ctl[5495]: ERROR [cmk_agent_ctl] Failed to listen on TCP socket for incoming pull connections.

Sep 19 10:58:31 <hostname> cmk-agent-ctl[5495]: Error with IPV6:

Sep 19 10:58:31 <hostname> cmk-agent-ctl[5495]: Address in use (os error 98)

Sep 19 10:58:31 <hostname> cmk-agent-ctl[5495]: Error with IPV4:

Sep 19 10:58:31 <hostname> cmk-agent-ctl[5495]: Address in use (os error 98)

Sep 19 10:58:31 <hostname> systemd[1]: cmk-agent-ctl-daemon.service: Main process exited, code=exited, status=1/FAILURE

Sep 19 10:58:31 <hostname> systemd[1]: cmk-agent-ctl-daemon.service: Failed with result 'exit-code'.

Sep 19 10:58:32 <hostname> systemd[1]: cmk-agent-ctl-daemon.service: Service RestartSec=100ms expired, scheduling restart.

Sep 19 10:58:32 <hostname> systemd[1]: cmk-agent-ctl-daemon.service: Scheduled restart job, restart counter is at 4.

Sep 19 10:58:32 <hostname> systemd[1]: Stopped Checkmk agent controller daemon.

Sep 19 10:58:32 <hostname> systemd[1]: Started Checkmk agent controller daemon.

Sep 19 10:58:32 <hostname> cmk-agent-ctl[5509]: ERROR [cmk_agent_ctl] Failed to listen on TCP socket for incoming pull connections.

Sep 19 10:58:32 <hostname> cmk-agent-ctl[5509]: Error with IPV6:

Sep 19 10:58:32 <hostname> cmk-agent-ctl[5509]: Address in use (os error 98)

Sep 19 10:58:32 <hostname> cmk-agent-ctl[5509]: Error with IPV4:

Sep 19 10:58:32 <hostname> cmk-agent-ctl[5509]: Address in use (os error 98)

Sep 19 10:58:32 <hostname> systemd[1]: cmk-agent-ctl-daemon.service: Main process exited, code=exited, status=1/FAILURE

Sep 19 10:58:32 <hostname> systemd[1]: cmk-agent-ctl-daemon.service: Failed with result 'exit-code'.