Ad Widget

Collapse

Databse connection error with external DB-Server and Zabbix-HA

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eydisxx
    Junior Member
    • Mar 2025
    • 1

    #1

    Databse connection error with external DB-Server and Zabbix-HA


    Current Configuration:
    - One PostgreSQL Server
    - One Zabbix installation with frontend
    - One Zabbix installation with only the "server" component

    Goal:
    - Zabbix-HA with an external DB-Server

    So the databse of the zabbix is on a diffrent server.
    My first zabbix-installation can connect with no problem to the database.
    But when i want to connect another zabbix-server via "node", so its HA, i get the following error message:
    connection to database 'zabbix' failed: [2013] Lost connection to server at 'handshake: reading initial communication packet', system error: 11

    I am using postgresql and already allowed the ip-adress to connect to the db-server.
    I could not find anything online to this error message. Someone know how to solve this?

    If you need more Information, feel free to ask.

    Last edited by eydisxx; 17-03-2025, 12:22.
  • GS11
    Junior Member
    • Apr 2025
    • 3

    #2
    I am encountering the same error.


    I have a zabbix server and a separate server with pgsql 16. I have configured zabbix server to work with external pgsql database and accordingly the database to work with external connections.

    When trying to start zabbix-server I get an error -
    [Z3001] connection to database ‘zabbix_db_pgsql’ failed:[2013] Lost connection to server at ‘handshake: reading initial communication packet’, system error: 11
    Although I can connect from zabbix server to pgsql DB via

    psql query -U user -h bd_ipadress zabbix_bd

    psql (17.5 (Debian 17.5-1.pgdg120+1), server 16.9 (Debian 16.9-1.pgdg120+1)).

    Later I deployed a clean zabbix server on the remote server with pgsql and specified to use the DB locally with the same credentials from the DB and everything started.

    Maybe someone has some thoughts on this? Any help would be appreciated.

    Comment

    Working...