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

Zabbix-(agent)(server).service start failure. systemd network dependancy

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 2.2.16, 3.2.2
    • Packages (C)
    • Centos 7

      On Centos 7 installs the systemd zabbix-agent.service and zabbix-server.service fails to start after a reboot. Reason: network bindings are not ready to use.

      Solution: for the zabbix-agent.service

      [Unit]
      Description=Zabbix Monitor Agent
      #After=syslog.target network.target
      After=syslog.target network.target network-online.target

      [Service]
      Type=forking
      ExecStart=/usr/sbin/zabbix_agentd
      User=zabbix
      PIDFile=/run/zabbix/zabbix_agentd.pid

      [Install]
      WantedBy=multi-user.target
      ~

      Allow to start zabbix(agent&server) after network is ready. Add systemd dependancy "network-online.target" in the *.service.

            dimir dimir
            kvos Kristiaan Vos
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: