Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-11798

ListenIP failed to start agent

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 3.2.3
    • Agent (G)
    • None

      Hello to all!

      There is a problem with the zabbix agent. When i add the value 0.0.0.0 to the config for ListenIP as:

      ListenIP=0.0.0.0 (to exclude IPv6)

      The agent sometimes failed to start with the following error:

      listener failed: zbx_tcp_listen() fatal error: unable to serve on any address [[0.0.0.0]:30050]

      but the netstat shows no 30050 ports used.

      it can be fixed temporally by the host restart, but then it appears again.

      Here is the config:

      PidFile=/var/run/zabbix/zabbix_agentd.pid
      LogFile=/var/log/zabbix/zabbix_agentd.log
      LogFileSize=0
      Server=**.*.*.**
      ListenIP=0.0.0.0
      ListenPort=30050
      StartAgents=1
      Include=/etc/zabbix/zabbix_agentd.d/*.conf
      TLSConnect=cert
      TLSAccept=cert
      TLSCAFile=/etc/zabbix/zabbix_ca_file
      TLSCertFile=/etc/zabbix/server.crt
      TLSKeyFile=/etc/zabbix/server.key

      after deleting string ListenIP=0.0.0.0 the problem is gone, but i need to disable IPv6.

      debian 7 (wheezy)
      zabbix-agent 1:3.2.3-1+wheezy amd64 Zabbix network monitoring solution - agent

      Any ideas?

            Unassigned Unassigned
            krassoffsky Oleg Krasovskiy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: