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

Zabbix agent2 service start failure, when ListenIP=0.0.0.0 is specified in the zabbix_agent2.conf

XMLWordPrintable

    • Sprint 78 (Jul 2021)
    • 0.5

      Steps to reproduce:

      1. 「ListenIP=0.0.0.0」 is specified in the zabbix_agent2.conf
        ListenIP=0.0.0.0 is specified in the zabbix_agent2.conf, not comment out.
      2. Start zabbix-agent2 service
        systemctl start zabbix-agent2
        
      3. Check zabbix-agent2 service status
      4. Check log file (zabbix_agent2.log)

      Result:
      See service status

      # systemctl status zabbix-agent2
      ● zabbix-agent2.service - Zabbix Agent 2
         Loaded: loaded (/usr/lib/systemd/system/zabbix-agent2.service; disabled; vendor preset: disabled)
         Active: activating (auto-restart) (Result: exit-code) since Mon 2021-07-26 11:37:21 JST; 1s ago
        Process: 30637 ExecStart=/usr/sbin/zabbix_agent2 -c $CONFFILE (code=exited, status=1/FAILURE)
       Main PID: 30637 (code=exited, status=1/FAILURE)
      
       7月 26 11:37:21 localhost.localdomain systemd[1]: zabbix-agent2.service: Main process exited, code=exited, status=1/FAILURE
       7月 26 11:37:21 localhost.localdomain systemd[1]: zabbix-agent2.service: Failed with result 'exit-code'.
      

      See log file (zabbix_agent2.log)

      2021/07/26 11:38:23.059327 Starting Zabbix Agent 2 [Zabbix server]. (5.0.14)
      2021/07/26 11:38:23.060727 OpenSSL library (OpenSSL 1.1.1 FIPS  11 Sep 2018) initialized
      2021/07/26 11:38:23.060811 using configuration file: /etc/zabbix/zabbix_agent2.conf
      2021/07/26 11:38:23.060949 using plugin 'Agent' providing following interfaces: exporter
      ・・・
      2021/07/26 11:38:43.305863 cannot parse "ListenIP" parameter: value of ListenIP not present on the host: "0.0.0.0"
      

      Expected:
      Zabbix agent2 service start can be started normally, just like ListenIP parameter comment out.

            vso Vladislavs Sokurenko
            k.mizutani Kazuhiro Mizutani
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: