Ad Widget

Collapse

Zabbix not running on Centos 7 MYSQL MARIADB

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • heskez
    Junior Member
    • Oct 2016
    • 5

    #1

    Zabbix not running on Centos 7 MYSQL MARIADB

    Hi there,

    Zabbix 3.2 won't just not run.

    I'm getting this:

    Job for zabbix-server.service failed because a configured resource limit was exceeded. See "systemctl status zabbix-server.service" and "journalctl -xe" for details.

    And this in the log file:

    30837:20170204:150243.094 using configuration file: /etc/zabbix/zabbix_server.conf
    30837:20170204:150243.094 cannot set resource limit: [13] Permission denied

    User zabbix exists.

    What options do I have left to check?
    Last edited by heskez; 04-02-2017, 22:22.
  • batchenr
    Senior Member
    • Sep 2016
    • 440

    #2
    Originally posted by heskez
    Hi there,

    Zabbix 3.2 won't just not run.

    I'm getting this:

    Job for zabbix-server.service failed because a configured resource limit was exceeded. See "systemctl status zabbix-server.service" and "journalctl -xe" for details.

    And this in the log file:

    30837:20170204:150243.094 using configuration file: /etc/zabbix/zabbix_server.conf
    30837:20170204:150243.094 cannot set resource limit: [13] Permission denied

    User zabbix exists.

    What options do I have left to check?
    means that on the server there is not enough resource
    whats you server resource ? try to add more memory\CPU\HDD if it is really a small server.

    try starting zabbix like this :
    chown -R zabbix:zabbix /var/log/zabbix
    chown -R zabbix:zabbix /var/run/zabbix
    chmod -R 775 /var/log/zabbix/
    chmod -R 775 /var/run/zabbix/

    /usr/sbin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf

    Disable Selinux

    Comment

    • heskez
      Junior Member
      • Oct 2016
      • 5

      #3
      Seems like it solved the problem, thank you very much!

      Comment

      • sbabuv
        Junior Member
        • Mar 2018
        • 1

        #4
        Zabbix-server.service not started !!!

        Hi,
        Is there any way, without disabling selinux, can we start the zabbix-server.service ... ?



        Originally posted by batchenr
        means that on the server there is not enough resource
        whats you server resource ? try to add more memory\CPU\HDD if it is really a small server.

        try starting zabbix like this :
        chown -R zabbix:zabbix /var/log/zabbix
        chown -R zabbix:zabbix /var/run/zabbix
        chmod -R 775 /var/log/zabbix/
        chmod -R 775 /var/run/zabbix/

        /usr/sbin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf

        Disable Selinux

        Comment

        • m_d_c13
          Junior Member
          • Jan 2018
          • 23

          #5
          Originally posted by sbabuv
          Hi,
          Is there any way, without disabling selinux, can we start the zabbix-server.service ... ?
          In fact if SELINUX is enabled you can start zabbix-server, but can't connect to zabbix frontend. In this case try this:
          setsebool -P httpd_can_connect_zabbix on

          Comment

          Working...