Skip to content

Zabbix Web Container “Unlinking stale socket /tmp/supervisor.sock” #1806

@Leaf-Oct

Description

@Leaf-Oct

Hello ~(∠·ω< )⌒★

I have some troubles when setting up zabbix server in Docker on Debian 13 (x64).

According to official document example 2, I ran a Postgre container as database, and ran zabbix-server-pgsql. Zabbix snmptraps is not needed so I didn't run it.

Finally, I ran zabbix-web-nginx-pgsql, but it didn't work healthily, printing "Unlinking stale socket /tmp/supervisor.sock" constantly.

The logs of zabbix-web-nginx-pgsql are following:

** Using POSTGRES_USER variable from ENV
** Using POSTGRES_PASSWORD variable from ENV
********************
* DB_SERVER_HOST: zabbix-postgre
* DB_SERVER_PORT: 5432
* DB_SERVER_PORT: 5432
* DB_SERVER_DBNAME: zabbix
* DB_SERVER_SCHEMA: public
********************
** Preparing PHP configuration
** Adding Zabbix virtual host (HTTP)
**** Impossible to enable SSL support for Nginx. Certificates are missed.
sed: preserving permissions for '/etc/zabbix/sedLlUfpa': Operation not permitted
sed: preserving permissions for '/etc/zabbix/sedPYXtB9': Operation not permitted
sed: preserving permissions for '/etc/zabbix/sedLOLrr9': Operation not permitted
sed: preserving permissions for '/etc/zabbix/sedu1XBJW': Operation not permitted
sed: preserving permissions for '/etc/nginx/sed1B6iFF': Operation not permitted
sed: preserving permissions for '/etc/zabbix/sedzPDmxt': Operation not permitted
sed: preserving permissions for '/etc/zabbix/sedMVaybs': Operation not permitted
sed: preserving permissions for '/etc/zabbix/sedAJ33ny': Operation not permitted
sed: preserving permissions for '/etc/zabbix/sedRH19wY': Operation not permitted
########################################################
** Executing supervisord
2025-11-09 09:34:59,258 INFO Included extra file "/etc/supervisor/conf.d/supervisord_zabbix.conf" during parsing
2025-11-09 09:34:59,258 INFO Included extra file "/etc/supervisor/conf.d/supervisord_zabbix.conf" during parsing
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock
Unlinking stale socket /tmp/supervisor.sock

The Docker command I run are following (postgresql user and password are hidden):

docker run --name zabbix-postgre -t \
             -e POSTGRES_USER="***" \
             -e POSTGRES_PASSWORD="***" \
             -e POSTGRES_DB="***" \
             --restart unless-stopped \
             -v /home/zabbix-postgre-data:/var/lib/postgresql/data \
             -p 0.0.0.0:5432:5432 \
	     --network docker-net \
             -d postgres:17
docker run --name zabbix-server-pgsql -t \
             -e DB_SERVER_HOST="zabbix-postgre" \
             -e POSTGRES_USER="***" \
             -e POSTGRES_PASSWORD="***" \
             -e POSTGRES_DB="***" \
             --network docker-net \
             --restart unless-stopped \
             -d zabbix/zabbix-server-pgsql:7.4-ubuntu-latest
docker run --name zabbix-web -t \
             -e ZBX_SERVER_HOST="zabbix-server-pgsql" \
             -e DB_SERVER_HOST="zabbix-postgre" \
             -e POSTGRES_USER="***" \
             -e POSTGRES_PASSWORD="***" \
             -e POSTGRES_DB="***" \
             --network docker-net \
             -v /home/cert:/etc/ssl/nginx:ro \
             --restart unless-stopped \
	    -d zabbix/zabbix-web-nginx-pgsql:7.4-ubuntu-latest

These commands can make zabbix server working normally when I used Ubuntu 22. But it failed now on Debian 13. I have tried many tags of zabbix-server-pgsql and zabbix-web-nginx-pgsql, the result is same.

I have searched a lot in Bing and Google but get nothing useful. I would appriciate it if anyone can give me advice.

Hopefully thank~~~

Here is my device info
OS: Debian GNU/Linux 13 (trixie) x86_64
Host: OptiPlex 3060
Kernel: Linux 6.12.48+deb13-amd64
CPU: Intel(R) Core(TM) i5-8500T (6) @ 3.50 GHz
GPU: Intel UHD Graphics 630 @ 1.10 GHz [Integrated]
Memory: 31.18 GiB
Swap: 8.00 GiB

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions