Ad Widget

Collapse

Zabbix server: Connection to Zabbix server "localhost" refused. Possible reasons:

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rvanderkooi
    Member
    • May 2019
    • 33

    #1

    Zabbix server: Connection to Zabbix server "localhost" refused. Possible reasons:

    Hi,

    Since yersterday my zabbix-server stops serveral times.

    in Zabbix self i got the error:

    Connection to Zabbix server "localhost" refused. Possible reasons:
    1. Incorrect server IP/DNS in the "zabbix.conf.php";
    2. Security environment (for example, SELinux) is blocking the connection;
    3. Zabbix server daemon not running;
    4. Firewall is blocking TCP connection.
    Connection refused​

    The mariadb server is running en accessible.

    but i see in the mariadb log this:

    2022-10-25 19:29:54 11 [Warning] Aborted connection 11 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
    2022-10-25 19:29:54 41 [Warning] Aborted connection 41 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
    2022-10-25 19:29:54 38 [Warning] Aborted connection 38 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
    2022-10-25 19:29:54 29 [Warning] Aborted connection 29 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
    2022-10-25 19:29:54 34 [Warning] Aborted connection 34 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
    2022-10-25 19:29:54 19 [Warning] Aborted connection 19 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
    2022-10-25 19:29:54 24 [Warning] Aborted connection 24 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
    2022-10-25 19:29:54 30 [Warning] Aborted connection 30 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
    2022-10-25 19:29:54 33 [Warning] Aborted connection 33 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
    2022-10-25 19:29:54 22 [Warning] Aborted connection 22 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
    2022-10-25 19:29:54 47 [Warning] Aborted connection 47 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
    2022-10-25 19:29:54 45 [Warning] Aborted connection 45 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
    2022-10-25 19:29:54 26 [Warning] Aborted connection 26 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
    2022-10-25 19:29:54 28 [Warning] Aborted connection 28 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
    2022-10-25 19:29:54 35 [Warning] Aborted connection 35 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
    2022-10-25 19:29:54 44 [Warning] Aborted connection 44 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
    2022-10-25 19:29:54 37 [Warning] Aborted connection 37 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)
    2022-10-25 19:29:54 32 [Warning] Aborted connection 32 to db: 'zabbix' user: 'zabbix' host: 'localhost' (Got an error reading communication packets)


    Anybody a solution for this?​
  • ITOMDave
    Member
    • Nov 2018
    • 53

    #2
    Did you get this fixed? I have a similar situation myself in a HA environment with multiple Zabbix Front End servers.

    Dave

    Comment


    • ashish-chidrawar
      ashish-chidrawar commented
      Editing a comment
      I'm also facing same, but it's working on the single node.

      May I know what DB you are using for HA?
  • ashish-chidrawar
    Junior Member
    • Dec 2022
    • 1

    #3
    Hi Guys,

    I'm also facing the same issue with HA environment.

    Comment

    Working...