[ZBX-27152] agent2 does not start in container Created: 2025 Oct 28  Updated: 2026 May 31

Status: READY TO DEVELOP
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent2 (G), Packages (C)
Affects Version/s: None
Fix Version/s: 7.0.28rc1, 7.4.12rc1, 8.0.0beta2 (master)

Type: Problem report Priority: Trivial
Reporter: Jurijs Klopovskis Assignee: Jurijs Klopovskis
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Team: Team B
Sprint: Sprint candidates

 Description   

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.

Generated at Tue Jun 09 04:06:20 EEST 2026 using Jira 10.3.18#10030018-sha1:5642e4ad348b6c2a83ebdba689d04763a2393cab.