zabbix報錯cannot set resource limit: [13] Permission denied解決方法

zabbix報錯cannot set resource limit: [13] Permission denied解決方法

zabbix-server啓動時出現如下錯誤:html

1linux

2vim

3spa

4.net

2912:20180326:050930.023 using configuration file: /etc/zabbix/zabbix_server.confcode

2912:20180326:050930.023 cannot set resource limit: [13] Permission deniedserver

2912:20180326:050930.023 cannot disable core dump, exiting...htm

2916:20180326:050940.284 Starting Zabbix Server. Zabbix 3.4.7 (revision 77720).blog

 解決方法關閉selinux:ci

1

2

3

4

5

6

7

8

9

10

11

[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

相關文章
相關標籤/搜索