Zabbix server is not running: the information displayed may not be current

后端 未结 24 3745
名媛妹妹
名媛妹妹 2021-02-20 08:25

So all of a sudden, after a week of using it, I get an error message on my zabbix server gui (http://localhost/zabbix/.)

The error says: Zabbix serve

相关标签:
24条回答
  • 2021-02-20 08:56

    My problem was caused by having external ip in $ZBX_SERVER setting.

    I changed it to localhost instead so that ip was resolved internally,

    $sudo nano /etc/zabbix/web/zabbix.conf.php

    Changed

    $ZBX_SERVER = 'external ip was written here';

    to

    $ZBX_SERVER = 'localhost';

    then

    $sudo service zabbix-server restart

    Zabbix 3.4 on Ubuntu 14.04.3 LTS

    0 讨论(0)
  • 2021-02-20 08:59

    Edit this file: sudo nano /etc/default/zabbix-server

    Adjust the START property to yes:

    START=yes
    

    Then try to run Zabbix again: sudo service zabbix-server start

    0 讨论(0)
  • 2021-02-20 08:59

    Never had the problem until it suddenly appeared once, for me, the solution was to add (uncomment) the following line in /etc/zabbix/zabbix_server.conf

     ListenIP=0.0.0.0
    
    0 讨论(0)
  • 2021-02-20 08:59

    I solved this problem on Ubuntu 18.04 by uninstalling Zabbix and reinstalling it again from scratch.

    The initial installation didn't work because I had followed old posts/guides/tutorials, even from Zabbix documentation itself, so these might probably be outdated. So, the trick was to find and follow the most updated guide to Zabbix installation from its docs.

    Here are the two links I followed for uninstalling and reinstalling Zabbix:

    • How to uninstall Zabbix: https://www.quora.com/How-do-I-uninstall-Zabbix-server-agent-in-Ubuntu
    • How to (properly) install Zabbix: https://www.zabbix.com/download?zabbix=4.0&os_distribution=ubuntu&os_version=18.04_bionic&db=postgresql

    When installing Zabbix from the link above, your choosen Zabbix Version, OS Distribution, OS Version or Database may be different from the ones I've selected, but following the instructions on this page will probably be also the right way for you to install your chosen Zabbix configuration without getting errors post installation.

    0 讨论(0)
  • 2021-02-20 09:02

    I had the same issue.

    I forgotten selinux conf, not all is ok:

    setsebool -P httpd_can_connect_zabbix on
    
    0 讨论(0)
  • 2021-02-20 09:04

    On RHEL/CentOS/OEL 6

    • Check that the firewall is allowing connection to Zabbix Server port which is 10051, as a user with root priv:

      vi /etc/sysconfig/iptables

    and add the following lines

    -A INPUT -m state --state NEW -m tcp -p tcp --dport 10051 -j ACCEPT
    

    restart iptables

    # service iptables restart
    

    If you have disabled IPV6, you need to also edit the hosts file and remove IPV6 line for "localhost"

    # vi /etc/hosts
    

    remove or comment out "#" the ipv6 line for localhost

    ::1                   localhost6.localdomain6   localhost6
    

    restart the zabbix-server and check if the error message is gone.

    0 讨论(0)
提交回复
热议问题