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

后端 未结 24 3315
名媛妹妹
名媛妹妹 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 09:11

    Solution might be this simple:

        sudo su 
        
        nano /etc/zabbix/zabbix-server.conf
    

    Remove "#" in front of DBPassword=YourPassword (will change from blue to grey)

    Ctrl x (Y to save and press enter to exit)

        service zabbix-server restart
    

    Now you can refresh your browser running ZABBIX. If not, you will have to do the same steps for CacheSize=32M

    You do not have to change anything in /etc/zabbix/web/zabbix.conf.php (localhost is fine)

    When editing anything, remember "#" in front of line means invisible to linux.

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

    Maybe is configuration issue

    nano /etc/zabbix/zabbix_server.conf
    
    DBHost=localhost
    
    DBName=zabbix_db
    
    DBUser=zabbix_user
    
    DBPassword=XXXXXXX
    

    works for me on Zabbix 3.0 Centos 7

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

    Install nmap (( # yum/apt-get install nmap ))tool and check to find out which port the zabbix is listenning to?(( # nmap -sT -p1-65535 localhost )) 10050 or 10051? The result should be somthing like this:

    Starting Nmap 6.40 ( http://nmap.org ) at 2016-11-01 22:54 IRST
    Nmap scan report for localhost (127.0.0.1)
    Host is up (0.00032s latency).
    Other addresses for localhost (not scanned): 127.0.0.1
    Not shown: 65530 closed ports
    PORT      STATE SERVICE
    22/tcp    open  ssh
    25/tcp    open  smtp
    80/tcp    open  http
    3306/tcp  open  mysql
    10050/tcp open  unknown    <--- In my case this is it
    

    Then open /etc/zabbix/web/zabbix.conf.php and check the line starting with: $ZBX_SERVER_PORT , it's value should be the same number you saw in the nmap scan result. Change it and restart zabbix-server and httpd and you are good to go!

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

    This may happen because of the old and new IP address I have faced same issue which was solve by below method:

    vim /etc/zabbix/web/zabbix.conf.php
    
    $ZBX_SERVER = new ip address
    

    then restart zabbix server

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

    i had similar problem and my gui reported problem with cache, i change it zabbix-server.conf to 32M and now is ok, zabbix is an intelligent tool, please if it possible check problems in gui first. I had to much hosts ... for default cache.

    0 讨论(0)
  • 2021-02-20 09:15
    #getsebool -a
    //httpd_can_network_connect off
    #setsebool httpd_can_network_connect on
    #getsebool httpd_can_network_connect
    #service zabbix-server restart
    
    0 讨论(0)
提交回复
热议问题