I just upgraded a few Debian 11.3 VMs to 2.1.0. Port 6556 is not open on just one of the VMs so it is no longer monitored. The VM successfully registered with my server, however the following message is repeated on the VM’s logs:
cmk-agent-ctl[3883704]: ERROR [cmk_agent_ctl] Address family not supported by protocol (os error 97)
I have uninstalled the agent and reinstalled the agent with no luck.
Well a bit more digging around yielded the following…
Disabling ipv6 at the kernel level via ‘GRUB_CMDLINE_LINUX_DEFAULT=“ipv6.disable=1”’ in /etc/default/grub and “update-grub -o /boot/grub/grub.cfg” causes the issue.
Re-enabling ipv6 via grub.cfg and disabling ipv6 in sysctl via “echo ‘net.ipv6.conf.all.disable_ipv6 = 1’ >> /etc/sysctl.conf” and reboot fixes the issue.
That’s what I feared / suspected. But we could not reproduce this in our test environments. Would you mind providing us with a complete output of dmesg immediately after boot?
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.