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

agent2 does not start in container

XMLWordPrintable

    • Sprint candidates

      Create debian:13 container

      # podman run -itu root docker.io/debian:13 bash

      Install agent2

      # apt update
      # apt install wget
      # wget https://repo.zabbix.com/zabbix/7.4/release/debian/pool/main/z/zabbix-release/zabbix-release_latest_7.4+debian13_all.deb
      # dpkg -i zabbix-release_latest_7.4+debian13_all.deb
      # apt update
      # apt install zabbix-agent2-plugin-mongodb zabbix-agent2-plugin-mssql zabbix-agent2-plugin-postgresql zabbix-agent2
      # apt install zabbix-agent2
      # apt install zabbix-agent2-plugin-mongodb

      Try to start agent2 and observe the error

      # /usr/sbin/zabbix_agent2 -c /etc/zabbix/zabbix_agent2.conf
      zabbix_agent2 [3010]: ERROR: Cannot register plugins: failed to get socket listener: failed to create plugin listener with socket path, /run/zabbix/agent.plugin.sock, listen unix /run/zabbix/agent.plugin.sock: bind: no such file or directory.

            yurii Jurijs Klopovskis
            yurii Jurijs Klopovskis
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: