Zabbix agent could not start if IPv6 disabled on host

XMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 8.0.0alpha2
    • Component/s: Agent (G)
    • None
    • Environment:

      No errors reported during agent installation

       

      Steps to reproduce:

      Start agent service "$ sudo systemctl start zabbix-agent.service"

      Job for zabbix-agent.service failed because the service did not take the steps required by its unit configuration.
      See "systemctl status zabbix-agent.service" and "journalctl -xeu zabbix-agent.service" for details.

       

      Check logs

      $ sudo tail -8 /var/log/zabbix/zabbix_agentd.log

      152340:20260519:162402.710 Starting Zabbix Agent [gas-zbx-01]. Zabbix 8.0.0alpha2 (revision cabf3cf6cb1).
      152340:20260519:162402.711 **** Enabled features ****
      152340:20260519:162402.711 IPv6 support:          YES
      152340:20260519:162402.711 TLS support:           YES
      152340:20260519:162402.711 **************************
      152340:20260519:162402.711 using configuration file: /etc/zabbix/zabbix_agentd.conf
      152340:20260519:162402.715 listener failed: zbx_tcp_listen(): failed to create listening socket for [[-]:10050]: [97] Address family not supported by protocol
      152340:20260519:162402.715 Zabbix Agent stopped. Zabbix 8.0.0alpha2 (revision cabf3cf6cb1).

       

      Result:
      Agent failed to start
      **

      Expected:
      No errors

            Assignee:
            Maciej Czernielewski
            Reporter:
            ysus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: