Ad Widget

Collapse

MariaDB verssion error on Debian12 (zabbix proxy)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jorged
    Junior Member
    • Aug 2024
    • 3

    #1

    MariaDB verssion error on Debian12 (zabbix proxy)

    Hello I am new to zabbi,
    after installation of zabbix proxy on debian12 I got this error

    1002:20240806:093833.344 TLS support: YES
    1002:20240806:093833.344 **************************
    1002:20240806:093833.344 using configuration file: /etc/zabbix/zabbix_proxy.conf
    1002:20240806:093833.437 Unsupported DB! MariaDB version is 101106 which is higher than maximum of 101099
    1002:20240806:093833.437
    1002:20240806:093833.437 Unable to start Zabbix proxy due to unsupported MariaDB database version (10.11.06).
    1002:20240806:093833.437 Must not be higher than (10.10.xx).
    1002:20240806:093833.437 Use of supported database version is highly recommended.
    1002:20240806:093833.437 Override by setting AllowUnsupportedDBVersions=1 in Zabbix proxy configuration file at your own ris

    Changed the parameter AllowUnsupportedDBVersions=1 and got this

    1679:20240806:095121.830 TLS support: YES
    1679:20240806:095121.830 **************************
    1679:20240806:095121.830 using configuration file: /etc/zabbix/zabbix_proxy.conf
    1679:20240806:095121.837 Unsupported DB! MariaDB version is 101106 which is higher than maximum of 101099
    1679:20240806:095121.837
    1679:20240806:095121.837 Warning! Unsupported MariaDB database version (10.11.06).
    1679:20240806:095121.837 Should not be higher than (10.10.xx).
    1679:20240806:095121.837 Use of supported database version is highly recommended.
    1679:20240806:095121.837
    1679:20240806:095121.838 The proxy does not match Zabbix database. Current database version (mandatory/optional): 07000000/07000002. Required mandatory version: 06000000.

    Installation was made following the commands in official site, do I need to start from scratch with other distibution then debian?

    Any help will be must apreciated, thank you.

  • Jorged
    Junior Member
    • Aug 2024
    • 3

    #2
    After this I completlly removed the MariaDB server installed from scratch with the same result, so the MaridaDB SQL tha came from Debian12 repositoires is not OK for Zabbix_Proxy but works OK for Zabbix Server.
    On the server that is working OK I have

    Welcome to the MariaDB monitor. Commands end with ; or \g.
    Your MariaDB connection id is 8440
    Server version: 10.11.6-MariaDB-0+deb12u1 Debian 12
    think I will test the proxy on ubuntu and post here the results

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4811

      #3
      you seem to have some mixup there with versions... DB is v7 but proxy wants v6... what version of proxy you have installed? Early versions of v6 can really claim that you have too new MariaDB ...
      Added support for MariaDB versions:
      - 10.7.X since Zabbix 6.0.6;
      - 10.8.X since Zabbix 6.0.7;
      - 10.9.X and 10.10.X since Zabbix 6.0.13;
      - 10.11.X since Zabbix 6.0.15;
      - 11.0.X since Zabbix 6.0.21;
      - 11.1.X since Zabbix 6.0.23;
      - 11.2.X since Zabbix 6.0.27;
      - 11.3.X since Zabbix 6.0.29;
      - 11.4.X since Zabbix 6.0.32.

      Comment

      • Jorged
        Junior Member
        • Aug 2024
        • 3

        #4
        Hello, thank you for the responce
        the proxy installation was made with the commands

        wget https://repo.zabbix.com/zabbix/7.0/d...bian12_all.deb
        dpkg -i zabbix-release_7.0-2+debian12_all.deb
        apt update

        apt install zabbix-proxy-mysql zabbix-sql-scripts
        after failure I removed MariaDB-server completly and installed maridadb server again with same results.
        there is something rong with the package of zabbix-proxy for debian12


        Started new VM installed ubuntu, installed zabbix-proxy in mysql on ubunto and all is working like a charm.

        Thank you very much

        Comment

        • Markku
          Senior Member
          Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
          • Sep 2018
          • 1782

          #5
          zabbix-proxy-mysql 7.0.2 works here on Debian 12 with MariaDB 10.11.6-0+deb12u1:

          2380:20240807:090912.762 Starting Zabbix Proxy (active) [Zabbix proxy]. Zabbix 7.0.2 (revision d1b0c3308ce).
          2380:20240807:090912.762 **** Enabled features ****
          2380:20240807:090912.762 SNMP monitoring: YES
          2380:20240807:090912.762 IPMI monitoring: YES
          2380:20240807:090912.762 Web monitoring: YES
          2380:20240807:090912.762 VMware monitoring: YES
          2380:20240807:090912.762 ODBC: YES
          2380:20240807:090912.762 SSH support: YES
          2380:20240807:090912.762 IPv6 support: YES
          2380:20240807:090912.762 TLS support: YES
          2380:20240807:090912.762 **************************
          2380:20240807:090912.762 using configuration file: /etc/zabbix/zabbix_proxy.conf
          2380:20240807:090912.778 current database version (mandatory/optional): 07000000/07000002
          2380:20240807:090912.778 required mandatory version: 07000000
          2380:20240807:090912.779 proxy #0 started [main process]
          2381:20240807:090912.780 proxy #1 started [configuration syncer #1]
          2382:20240807:090912.878 proxy #2 started [trapper #1]
          ...


          Markku

          Comment

          Working...