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

    Details

    • Type: Incident report
    • Status: Reopened
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 2.2.16, 3.2.2
    • Fix Version/s: None
    • Component/s: Packages (C)
    • Labels:
    • Environment:
      Centos 7
    • Team:
      Team A

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            dimir dimir
            Reporter:
            kvos Kristiaan Vos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: