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

Zabbix systemd configuration breaks on systems with mariadb and needrestart

XMLWordPrintable

    • Sprint candidates

      Steps to reproduce:

      1. Deploy a Zabbix Server or Zabbix Proxy on a Unix system with systemd, needrestart and mariadb (potentially other RDBMS) using instructions from zabbix.com/download
      2. Perform package upgrades using apt
      3. If needrestart determines mariadb or zabbix_server/zabbix_proxy requires a restart, it will initiate a restart of these services
      4. Needrestart process hangs and zabbix_server/zabbix_proxy enters an unusable state waiting for mariadb to start.
      5. Caused by incorrect systemd After/Requires settings. See the following forum post;

      https://www.zabbix.com/forum/zabbix-troubleshooting-and-problems/482714-dead-lock-between-mariadb-service-and-zabbix-server-service

      Result:
      Zabbix server/Zabbix proxy will become unavailable due to incorrect systemd unit file configuration.
      **

      Expected:
      Zabbix server/Zabbix proxy to not become unavailable due to incorrect systemd unit file configuration.

      Needrestart is included in Ubuntu 22.04 and newer. The systemd unit file should be thoroughly tested and updated, especially for Zabbix 7 LTS.

            dpavlovs Dmitrijs Pavlovs
            clontarfx@gmail.com Shane Arnold
            Team I
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: