前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >启动zabbix 报错

启动zabbix 报错

作者头像
运维小白
发布2018-02-07 11:39:20
1.7K0
发布2018-02-07 11:39:20
举报
文章被收录于专栏:运维小白运维小白
  • 启动zabbix,提示报错
[root@hf-01 ~]# 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@hf-01 ~]# systemctl status zabbix-server.service
● zabbix-server.service - Zabbix Server
   Loaded: loaded (/usr/lib/systemd/system/zabbix-server.service; disabled; vendor preset: disabled)
   Active: activating (auto-restart) (Result: resources) since 二 2018-01-02 21:37:38 CST; 8s ago
  Process: 3137 ExecStart=/usr/sbin/zabbix_server -c $CONFFILE (code=exited, status=0/SUCCESS)

1月 02 21:37:38 hf-01 systemd[1]: zabbix-server.service never wrote its PID file. Failing.
1月 02 21:37:38 hf-01 systemd[1]: Failed to start Zabbix Server.
1月 02 21:37:38 hf-01 systemd[1]: Unit zabbix-server.service entered failed state.
1月 02 21:37:38 hf-01 systemd[1]: zabbix-server.service failed.
[root@hf-01 ~]# 
  • 解决方法:
    • 发现是selinux未关闭,关闭了selinux即可
      • setenforce 0 临时关闭 selinux
      • vi /etc/selinux/config 永久关闭 selinux(然后在重启系统,就会永久关闭selinux)
[root@hf-01 ~]# setenforce 0 
[root@hf-01 ~]# getenforce
Permissive
  • 再来启动zabbix就会发现启动成功
[root@hf-01 ~]# systemctl start zabbix-server
[root@hf-01 ~]# 
本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档