-
Incident report
-
Resolution: Duplicate
-
Trivial
-
None
-
2.4.7
-
None
On a systemd host like Debian Jessie, if you install the proxy and the agent, the agent can fail to start :
Dec 17 10:40:45 zabbix-proxy zabbix-agent[487]: mkdir: cannot create directory ‘/var/run/zabbix’: File exists
Dec 17 10:40:45 zabbix-proxy systemd[1]: zabbix-agent.service: control process exited, code=exited status=1
Dec 17 10:40:45 zabbix-proxy systemd[1]: Failed to start LSB: Start zabbix-agent daemon.
Dec 17 10:40:45 zabbix-proxy systemd[1]: Unit zabbix-agent.service entered failed state.
The directory /var/run/zabbix is probably created by the proxy after the test check in the agent init script and the mkdir fails :
if test ! -d "$DIR"; then mkdir "$DIR" chown -R zabbix:zabbix "$DIR" fi
To fix it add the option -p to mkdir command.
- duplicates
-
ZBX-9684 Zabbix agent & Zabbix proxy: only one of them starts in Debian 7
- Closed