Ad Widget

Collapse

Zabbix installation : Cannot connect to database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • VinzCHC
    Junior Member
    • Jun 2021
    • 3

    #1

    Zabbix installation : Cannot connect to database

    Hello everybody !

    I am installing Zabbix 5.4 on a brand new vm under Debian 10 with nginx and postgreSQL 11

    Packages installation and configuration worked fine, the zabbix DB schema is OK

    Unfortunately, I can't connect in the Zabbix Frontend :

    screenshot_DB_connection
    I checked zabbix_server.conf and specified the following elements, inspired by la doc d'Artus Lontons
    DBHost=
    DBName=zabbix
    DBUser=zabbix

    Telnet on port 10051 responds, but not on port 5432.

    Would you have an idea to help me please?
  • Steven847
    Junior Member
    • Jun 2021
    • 1

    #2
    Originally posted by VinzCHC
    Hello everybody !

    I am installing Zabbix 5.4 on a brand new vm under Debian 10 with nginx and postgreSQL 11

    Packages installation and configuration worked fine, the zabbix DB schema is OK

    Unfortunately, I can't connect in the Zabbix Frontend :

    screenshot_DB_connection
    I checked zabbix_server.conf and specified the following elements, inspired by la doc d'Artus Lontons
    DBHost=
    DBName=zabbix
    DBUser=zabbix

    Telnet on port 10051 responds, but not on port 5432.

    Would you have an idea to help me please?


    Solved. Both zabbix-mysql and zabbix-postgresql are installed. It seems there are some conflicts. Just remove zabbix-postgresql, it works.


    myloweslife.com
    Last edited by Steven847; 22-06-2021, 07:07.

    Comment

    • VinzCHC
      Junior Member
      • Jun 2021
      • 3

      #3
      Hi,
      netstat -tulnp shows that port 5432 is only accessible from 127.0.0.1 : to solve the problem I accessed the frontend from the server, not from my computer !

      Comment

      Working...