Ad Widget

Collapse

Zabbix 7.2.3 - Connection to database 'zabbix' failed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • natzcat
    Junior Member
    • Feb 2025
    • 4

    #1

    Zabbix 7.2.3 - Connection to database 'zabbix' failed

    Hey guys,

    I have tried twice to install and get this working but I cant get past the following;
    [Z3001] connection to database 'zabbix' failed: [2026] TLS/SSL error: SSL is required, but the server does not support it
    database is down: reconnecting in 10 seconds

    This was on the back of seeing Zabbix server is running 'no' under system information.

    Thanks
  • natzcat
    Junior Member
    • Feb 2025
    • 4

    #2
    Hey Donkey,
    Its in the /var/log/zabbix/zabbix_server.log log

    Uploaded a screenshot of it too.

    Thanks for your help
    Attached Files

    Comment

    • MRedbourne
      Senior Member
      • Feb 2023
      • 103

      #3
      What DB are you using? Postgres? MySQL? Maria?

      in /etc/zabbix/zabbix_server.conf, are any of these values set, and if so, to what?
      Code:
      DBTLSConnect=
      DBTLSCAFile=
      DBTLSCipher=
      Similarly, in /etc/zabbix/web/zabbix.conf.php
      Code:
      $DB['ENCRYPTION']               =
      $DB['KEY_FILE']                 =
      $DB['CERT_FILE']                =
      $DB['CA_FILE']                  =
      $DB['VERIFY_HOST']              =
      $DB['CIPHER_LIST']              = ​
      Your database is telling Zabbix it doesn't support encryption, but you've configured (supposedly) Zabbix to use and enforce encryption. The two remedies are: enable TLS security on the DB or remove Zabbix's DB encyrption config.

      5 Secure connection to the database
      Attached Files

      Comment

      • natzcat
        Junior Member
        • Feb 2025
        • 4

        #4
        Hi MRedbourne,

        NEWBIE here so its very much basic setup as per zabbix setup doco.

        Zabbix is on CENTOS 10 with Maria and MySQL.
        DBTLSConnect=
        DBTLSCAFile=
        DBTLSCipher=


        $DB['ENCRYPTION'] = false;
        $DB['KEY_FILE'] = ' ';
        $DB['CERT_FILE'] = ' ';
        $DB['CA_FILE'] = ' ';
        $DB['VERIFY_HOST'] = false;
        $DB['CIPHER_LIST'] = ' ';

        any help/suggestions greatly appreciated.

        Thanks

        Comment

        • jayhsu
          Junior Member
          • Feb 2025
          • 1

          #5
          I encountered the same error message as you. After removing MariaDB and using MySQL instead, I was able to execute it normally

          Comment

          • natzcat
            Junior Member
            • Feb 2025
            • 4

            #6
            Thanks jayhsu. I will try that
            Cheers for your help

            Comment

            Working...