-
Type:
Incident report
-
Resolution: Unresolved
-
Priority:
Trivial
-
None
-
Affects Version/s: None
-
Component/s: None
-
Environment:OS: Ubuntu Server 24.04 LTS
Zabbix Version: Zabbix Server 7.0 LTS / Zabbix Agent 2
Web Server / DB: Apache2 / MySQL (or MariaDB)
Steps to reproduce:
- Execute apt update && apt upgrade -y while background processes (e.g., unattended-upgrades) or debconf hold active locks on /var/cache/debconf/config.dat.
- Package configuration stalls, causing needrestart / systemd triggers to attempt restarting zabbix-server or database services prematurely.
- The database socket (/var/run/mysqld/mysqld.sock) is closed or deleted during the stalled upgrade, resulting in a system deadlock during service stop/restart (systemctl restart zabbix-server).
- Attempting to access the Zabbix Web UI via browser triggers the database connection error.
Result:
- Web UI throws Database error: No such file or directory.
- systemctl restart zabbix-server hangs indefinitely waiting for process locks/DB sockets.
- OS reboot stalls on systemd service stop timeout (TimeoutStopSec), forcing a hard reboot or Rescue Mode intervention.
Expected:
- Packages upgrade cleanly without debconf resource lock exceptions.
- Database sockets remain active or regenerate cleanly upon service restart.
- Zabbix Web UI reconnects successfully post-upgrade.