zabbix报错cannot set resource limit: [13] Permission denied解决方法

本文介绍了当Zabbix Server在启动过程中遇到权限被拒绝错误时的解决方案。通过修改SELinux配置,从enforcing模式切换到disabled模式,最终成功启动了Zabbix Server服务。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

zabbix-server启动时出现以下错误:

  2912:20180326:050930.023 using configuration file: /etc/zabbix/zabbix_server.conf
  2912:20180326:050930.023 cannot set resource limit: [13] Permission denied
  2912:20180326:050930.023 cannot disable core dump, exiting...
  2916:20180326:050940.284 Starting Zabbix Server. Zabbix 3.4.7 (revision 77720).

 解决方法关闭selinux:

[root@localhost ~]# vim /etc/selinux/config

[root@localhost ~]# diff /etc/selinux/config.bak /etc/selinux/config
7c7
< SELINUX=enforcing
---
> SELINUX=disabled
[root@localhost ~]# setenforce 0
You have new mail in /var/spool/mail/root
[root@localhost ~]# getenforce
Permissive

 开启zabbix-server服务 ok

[root@localhost ~]# systemctl start zabbix-server



转载于:https://www.cnblogs.com/Dev0ps/p/8652215.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值