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

后端 未结 24 3313
名媛妹妹
名媛妹妹 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:05

    To solve the problem zabbix server is not running you have to :

    First - Check that all of the database parameters in zabbix.conf.php ( /etc/zabbix/web/zabbix.conf.php) and zabbix_server.conf ( /etc/zabbix/zabbix_server.conf) to be the same. Including:
    • DBHost
    • DBName
    • DBUser
    • DBPassword

    Second- Change SElinux parameters:

    #setsebool -P httpd_can_network_connect on
    #setsebool -P httpd_can_connect_zabbix 1
    #setsebool -P zabbix_can_network 1
    

    After all, restart all services:

    #service zabbix-server restart
    #service httpd restart
    

    worth a try.

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

    The zabbix-server daemon doesn't seem to like passwords with special characters in them. Unsure whether quotes would work in the configuration I just removed special characters from the database password, updated the configuration files and restarted the daemon.

    Configuration parsing errors don't show up in logs for some reason.

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

    In my case, this occurred because the password in the server config file was commented out.

    Open the server config file: # sudo vim /etc/zabbix/zabbix-server.conf

    Scroll down to db user and below there will be the password with a # commenting out. Remove the hash and insert your DB password.

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

    just get into the zabbix.conf.php

       >$sudo vim /etc/zabbix/web/zabbix.conf.php
       >$ZBX_SERVER      = '**your zabbix ip address or DNS name**';
       >$ZBX_SERVER_PORT = '10051';
       >$ZBX_SERVER_NAME = '**your zabbix hostname**';
    

    just change the ip address you can resolve the error

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

    After that restart the zabbix server

     >$sudo service zabbix-server restart
    

    To verify go to Dashboard Administration -> queue there you see data

    i resolved my error like this works fine for me.

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

    I was using a special character in my DB password - wrapping the DBPassword option in /etc/zabbix/zabbix_server.conf and doing sudo service zabbix-server restart got me back up and running.

    Not Working DBPassword=MyString?

    Working DBPassword='MyString?'

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

    In my case it happens when introducing host with templates, graphs,trigger etc, the server falls. The problem was that by default the cache is at 128k and you have to change it.

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

    Uncheck # Sizecache and add 32M for example.

    Cachesize=32M
    

    restart service and voila!! server working

    service zabbix-server start
    
    0 讨论(0)
提交回复
热议问题