Ad Widget

Collapse

Zabbix server is not running

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • miramira007
    Member
    • Sep 2015
    • 89

    #1

    Zabbix server is not running

    Dear Zabbix-Users,

    I'm new in the world of Zabbix, i installed Zabbix 2.4.6 on CentOS 7 Server with the step-by-step induractionhttps://www.zabbix.org/wiki/InstallOnCentOS_RHEL. It works fine, until i started the zabbix Web-Userinteface. Now i have an error. It tells me this here on the dashboard "Zabbix server is not running"

    i looked up in my zabbix_agentd.conf:
    no active checks on server [127.0.0.1:10051]: host [Zabbix server] is not monitored.

    But i have installed the agent and run it via
    rpm --import http://repo.zabbixzone.com/centos/RP...KEY-zabbixzone
    rpm -Uv http://repo.zabbixzone.com/centos/za...0-1.noarch.rpm
    yum install zabbix-agent -y
    chkconfig zabbix-agent on
    mv /etc/zabbix/zabbix_agentd.conf /etc/zabbix/zabbix_agentd.default
    sed 's/Server=127.0.0.1/Server=XXX.XXX.XXX.XXX/' /etc/zabbix/zabbix_agentd.default > /etc/zabbix/zabbix_agentd.conf
    service zabbix-agent start



    and my zabbix_server.conf tells me the same log file end "cannot send list if active checks to [127.0.0.1] host not monitored"

    i havent got an idea to resolve it.
    i need your help.

    thank you.
    mira
    Last edited by miramira007; 07-09-2015, 15:16.
  • eaglelukash
    Junior Member
    • Aug 2015
    • 2

    #2
    The problem is that by default, SELinux prevents apache/php from connecting to network ports, even on localhost. To fix this, you must allow the SELinux rule: httpd_can_network_connect. You can try run this command:

    setsebool -P httpd_can_network_connect=true

    Comment

    • jamesNJ
      Senior Member
      • Jun 2015
      • 103

      #3
      If it is an internal server and selinux is not needed, you can also disable it in the boot file /etc/sysconfig/selinux. Debugging selinux is a real headache, especially if you don't need to use it on an internal server.

      Comment

      • miramira007
        Member
        • Sep 2015
        • 89

        #4
        Thank you for the comments,
        but i disabled SElinux from the beginning. So this cant be the problem.

        Any ideas?

        Comment

        • Hernandes Martins
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Apr 2011
          • 900

          #5
          check the log and post the output of the following command

          tail -f /var/log/zabbix/zabbix_server.log
          __

          Att.
          Hernandes Martins - Zabbix Trainer

          Zabbix Brazil Partner - www.luniobr.com

          Zabbix Brazil Community - www.zabbixbrasil.org

          Blog: hernandesmartins.blogspot.com.br

          Skype: hernandss
          Telegram: @MrHernandes

          Español
          Facebook: facebook.com/groups/zabbixlatam
          Telegram: https://t.me/ZabbixEspañol

          Português
          Facebook: facebook.com/groups/zabbixbrasil/
          Telegram: https://t.me/ZabbixBrasil

          Comment

          Working...