winkingzou 2019-10-19 12:27 采纳率: 80%
浏览 8474
已采纳

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.
  • 写回答

2条回答 默认 最新

  • dabocaiqq 2019-10-20 12:12
    关注
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

问题事件

  • 已采纳回答 3月17日

悬赏问题

  • ¥15 CST仿真别人的模型结果仿真结果S参数完全不对
  • ¥15 请问在阿里云服务器中怎么利用数据库制作网站
  • ¥60 ESP32怎么烧录自启动程序
  • ¥50 html2canvas超出滚动条不显示
  • ¥15 java业务性能问题求解(sql,业务设计相关)
  • ¥15 52810 尾椎c三个a 写蓝牙地址
  • ¥15 elmos524.33 eeprom的读写问题
  • ¥15 用ADS设计一款的射频功率放大器
  • ¥15 怎么求交点连线的理论解?
  • ¥20 软件开发方法学习来了