how to write the PID file on zabbix.

Posted February 8, 2018 4.7k views
Linux BasicsMySQLApacheDigitalOceanNetworkingMonitoringConfiguration ManagementApplicationsLinux Commands

Whenever I try to start the zabbix server it doesn’t start and when I check the status, following pops-up:
Redirecting to /bin/systemctl status zabbix-server.service

● zabbix-server.service - Zabbix Server
Loaded: loaded (/usr/lib/systemd/system/zabbix-server.service; enabled; vendor preset: disabled)
Active: activating (auto-restart) (Result: resources) since Thu 2018-02-08 15:20:46 EST; 7s ago
Process: 8846 ExecStop=/bin/kill -SIGTERM $MAINPID (code=exited, status=1/FAILURE)
Process: 8929 ExecStart=/usr/sbin/zabbix_server -c $CONFFILE (code=exited, status=0/SUCCESS)
Main PID: 8844 (code=exited, status=1/FAILURE)
CGroup: /system.slice/zabbix-server.service

Feb 08 15:20:46 system[1]: zabbix-server.service never wrote its PID file. Failing.
Feb 08 15:20:46 system[1]: Failed to start Zabbix Server.
Feb 08 15:20:46 system[1]: Unit zabbix-server.service entered failed state.
Feb 08 15:20:46 system[1]: zabbix-server.service failed.

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!