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

Add "After=pgbouncer.service" in systemd files for Zabbix Server and Proxy

    XMLWordPrintable

Details

    • Problem report
    • Status: Confirmed
    • Trivial
    • Resolution: Unresolved
    • 5.4.3
    • None
    • None

    Description

      Steps to reproduce:

      1. Requires a Zabbix Server or Proxy with local PostgreSQL and PgBouncer instance.
      2. Reboot or shut down the system.

      Result:
      PgBouncer is terminated before Zabbix Server or Proxy is shut down and the complete process is hanging infinitely.

       

      A Stop Job is Running for Zabbix Server
      

       

      A Stop Job is Running for Zabbix Proxy
      

      Expected:
      PgBouncer should also be considered and terminated after the Zabbix Server or Proxy has been shut down. If something speaks against it, perhaps a note in the documentation with the workaround would also be sufficient.

       

      Workaround:

      Add an override for Zabbix server or proxy.

       

      systemctl edit zabbix-server.service
      
      systemctl edit zabbix-proxy.service
      

      Add following configuration.

       

       

      [Unit]
      After=pgbouncer.service
      

      Reload systemd.

      systemctl daemon-reload
      

       

       

       

      Attachments

        Issue Links

          Activity

            People

              zabbix.dev Zabbix Development Team
              Taikocuya Marcel Renner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: