-
Defect (Security)
-
Resolution: Fixed
-
Trivial
-
5.0.19
-
None
-
Sprint 84 (Jan 2022), Sprint 85 (Feb 2022), Sprint 86 (Mar 2022), Sprint 87 (Apr 2022)
-
1
Steps to reproduce:
- Install Zabbix from RPMs at http://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/
- Make any required changes to be able to start zabbix-server.service
- systemctl start zabbix-server.service
Result:
The server starts, but only after logging an error in the journal for the service:
Dec 28 10:15:47 server.interlinx.bc.ca systemd[1]: Starting Zabbix Server... Dec 28 10:15:48 server.interlinx.bc.ca systemd[1]: Can't open PID file /run/zabbix/zabbix_server.pid (yet?) after start: No such file or directory Dec 28 10:15:48 server.interlinx.bc.ca systemd[1]: Started Zabbix Server.
Expected:
Should start without the Can't open PID file /run/zabbix/zabbix_server.pid (yet?) after start: No such file or directory error.
This would seem to be a problem of zabbix-server perhaps taking too long to create the PID file so that systemd cannot find it when zabbix-server has dæmonized and exited it's parent process.
- duplicates
-
ZBX-20736 poor systemd integration
- Closed