zouyongqi123
zouyongqi123
采纳率10%
2019-10-19 12:27 阅读 3.8k

zabbix3.4安装后启动报错:Can't open PID file /run/zabbix/zabbix_server.pid

zabbix3.4安装后启动报错:
报错内容是找不到zabbix_server.pid文件,看了一下zabbix_server.conf中配置的PidFile配置项,在该目录下确实没有该文件,看网上有人说修改SELinux=disabled重启系统就有了,重启了还是没有,有没有碰到这个问题的大神,帮忙解答一下~
修改后
[root@centos04 ~]# getenforce
Disabled

[root@centos04 ~]# 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@centos04 ~]# journalctl -xe
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit zabbix-server.service has begun starting up.
Oct 19 00:17:48 centos04 systemd[1]: Can't open PID file /run/zabbix/zabbix_server.pid (yet?) after start: No such file or directory
Oct 19 00:17:48 centos04 zabbix_server[1608]: zabbix_server [1610]: cannot open "/usr/local/logs/zabbix/zabbix_server.log": [13] Permission denied
Oct 19 00:17:48 centos04 systemd[1]: zabbix-server.service never wrote its PID file. Failing.
Oct 19 00:17:48 centos04 systemd[1]: Failed to start Zabbix Server.
-- Subject: Unit zabbix-server.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit zabbix-server.service has failed.
-- 
-- The result is failed.
Oct 19 00:17:48 centos04 systemd[1]: Unit zabbix-server.service entered failed state.
Oct 19 00:17:48 centos04 systemd[1]: zabbix-server.service failed.
Oct 19 00:17:59 centos04 systemd[1]: zabbix-server.service holdoff time over, scheduling restart.
Oct 19 00:17:59 centos04 systemd[1]: Stopped Zabbix Server.
-- Subject: Unit zabbix-server.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit zabbix-server.service has finished shutting down.
Oct 19 00:17:59 centos04 systemd[1]: Starting Zabbix Server...
-- Subject: Unit zabbix-server.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit zabbix-server.service has begun starting up.
Oct 19 00:17:59 centos04 systemd[1]: Can't open PID file /run/zabbix/zabbix_server.pid (yet?) after start: No such file or directory
Oct 19 00:17:59 centos04 zabbix_server[1612]: zabbix_server [1614]: cannot open "/usr/local/logs/zabbix/zabbix_server.log": [13] Permission denied
Oct 19 00:17:59 centos04 systemd[1]: zabbix-server.service never wrote its PID file. Failing.
Oct 19 00:17:59 centos04 systemd[1]: Failed to start Zabbix Server.
-- Subject: Unit zabbix-server.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit zabbix-server.service has failed.
-- 
-- The result is failed.
Oct 19 00:17:59 centos04 systemd[1]: Unit zabbix-server.service entered failed state.
Oct 19 00:17:59 centos04 systemd[1]: zabbix-server.service failed.
  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

1条回答 默认 最新

相关推荐