PID file /run/zabbix/zabbix_server.pid not readable (yet?) after start. 报错解决
Posted Louis He
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了PID file /run/zabbix/zabbix_server.pid not readable (yet?) after start. 报错解决相关的知识,希望对你有一定的参考价值。
报错如下:
[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. 报错解决的主要内容,如果未能解决你的问题,请参考以下文章
批量杀掉多个pid文件中记录的pid进程, 并集成到shell脚本中
访问 `proc` 文件系统以从系统应用程序中读取 `/proc/[pid]/some-file`
The server quit without updating PID file (/www/server/data/VM-8-3-centos.pid)