1. 程式人生 > >PID file /run/zabbix/zabbix_server.pid not readable (yet?) after start. 報錯解決

PID file /run/zabbix/zabbix_server.pid not readable (yet?) after start. 報錯解決

分享圖片 inf red tar cal 報錯解決 status system and

報錯如下:

[root@localhost zabbix]# systemctl start zabbix-server
Job for zabbix-server.service failed because a configured resource limit was exceeded. See "systemctl status zabbix-server.service" and "journalctl -xe" for details.
[root@localhost zabbix]# journalctl -xe
-- 
-- Unit zabbix-server.service has begun starting up.
Apr 18 22:21:06 localhost.localdomain systemd[1]: PID file /run/zabbix/zabbix_server.pid not readable (yet?) after start.
Apr 18 22:21:06 localhost.localdomain systemd[1]: zabbix-server.service never wrote its PID file. Failing.
Apr 18 22:21:06 localhost.localdomain systemd[1]: Failed to start Zabbix Server.
-- Subject: Unit zabbix-server.service has failed

解決方法:

查看配置文件/etc/zabbix/zabbix_server.conf 發現PIDfile路徑下面沒有zabbix_server.pid這個文件,,,試了網上各種辦法然並卵,放大招重啟系統,再啟動服務,好了!!!

技術分享圖片

PID file /run/zabbix/zabbix_server.pid not readable (yet?) after start. 報錯解決