Ad Widget

Collapse

Zabbix-Server is not running (but does)

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • christianmolecki
    Junior Member
    • Nov 2017
    • 22

    #1

    Zabbix-Server is not running (but does)

    Hello,

    I migrate my zabbix installation to a new server.
    So I made a fresh zabbix installation and import the database.
    Simultaneously the MySQL-Server changed from MySQL v5.7 to v8.0

    Zabbix-Server: 5.0.22
    MySQL-Server: 8.0.29
    PHP: 7.4

    The Zabbix-Front shows a warning: "Zabbix Server is not running: the information displayed may not be current"
    Zabbix-Server is running: No (localhost:10050)

    Everything seems to be fine. Zabbix collects data from the agents properly.
    In case of a alert, mails will be send.


    @ Administration -> Queue
    Cannot display item queue.
    Incorrect response received from Zabbix server "localhost".

    Does anyone know, what to do?


    Best Regards
    Christian

    Attached Files
  • Answer selected by christianmolecki at 11-05-2022, 08:10.
    tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    Originally posted by christianmolecki
    Hello,

    I migrate my zabbix installation to a new server.
    So I made a fresh zabbix installation and import the database.
    Simultaneously the MySQL-Server changed from MySQL v5.7 to v8.0

    Zabbix-Server: 5.0.22
    MySQL-Server: 8.0.29
    PHP: 7.4

    The Zabbix-Front shows a warning: "Zabbix Server is not running: the information displayed may not be current"
    Zabbix-Server is running: No (localhost:10050)
    This sounds like a situation where the zabbix_server processes are running just fine, but the Zabbix web front-end either can't communicate with it (perhaps firewall or SELinux/AppArmor blocking it?) or is trying to communicate with the wrong server.

    It seems like the database settings (the PHP variables that look like "$DB['TYPE']", etc.) in zabbix.conf.php are probably set correctly, but what about the "$ZBX_SERVER_*" variables? Are those correct for your new server?

    Does your firewall or other security mechanism (SELinux, AppArmor, etc.) prevent communication with localhost port 10051?

    Comment

    • tim.mooney
      Senior Member
      • Dec 2012
      • 1427

      #2
      Originally posted by christianmolecki
      Hello,

      I migrate my zabbix installation to a new server.
      So I made a fresh zabbix installation and import the database.
      Simultaneously the MySQL-Server changed from MySQL v5.7 to v8.0

      Zabbix-Server: 5.0.22
      MySQL-Server: 8.0.29
      PHP: 7.4

      The Zabbix-Front shows a warning: "Zabbix Server is not running: the information displayed may not be current"
      Zabbix-Server is running: No (localhost:10050)
      This sounds like a situation where the zabbix_server processes are running just fine, but the Zabbix web front-end either can't communicate with it (perhaps firewall or SELinux/AppArmor blocking it?) or is trying to communicate with the wrong server.

      It seems like the database settings (the PHP variables that look like "$DB['TYPE']", etc.) in zabbix.conf.php are probably set correctly, but what about the "$ZBX_SERVER_*" variables? Are those correct for your new server?

      Does your firewall or other security mechanism (SELinux, AppArmor, etc.) prevent communication with localhost port 10051?

      Comment

      • christianmolecki
        Junior Member
        • Nov 2017
        • 22

        #3
        Hello Tim,

        thank your for your help.

        The configuration file zabbix.conf.php didn't had in my mind.
        After a valid configuration, zabbix works fine.

        Comment

        Working...