Ad Widget

Collapse

Zabbix server not running Rocky 9.3 ,psql 15.8 zabbix 7.0 LTS 

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • az1minami
    Junior Member
    • Sep 2023
    • 9

    #1

    Zabbix server not running Rocky 9.3 ,psql 15.8 zabbix 7.0 LTS 

    zabbix_server.log told.
    (mandatory/optional): 07000000/07000003. Required mandatory version: 06000000.
    set AllowUnsupportedDBVersions=1 not usefull
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    It sure looks like your server is v6 not v7 as DB... Check what you have installed...

    unsuportedDBVersions parameter does not matter what you set it to... it does not affect DB content, but only if you want to use some DB version, what is not supported... ie. too old or too new version of PG/Mysql ...

    Comment


    • az1minami
      az1minami commented
      Editing a comment
      dnf list installed | grep zabbix
      fping.x86_64 5.1-1.el9 zabbix-non-supported
      zabbix.x86_64 1:6.0.33-2.el9 @epel
      zabbix-agent2.x86_64 7.0.3-release1.el9 zabbix
      zabbix-agent2-plugin-mongodb.x86_64 6.4.9-release1.el9 zabbix
      zabbix-agent2-plugin-postgresql.x86_64 6.4.9-release1.el9 zabbix
      zabbix-apache-conf.noarch 7.0.3-release1.el9 zabbix
      zabbix-dbfiles-pgsql.noarch 1:6.0.33-2.el9 @epel
      zabbix-release.noarch 7.0-5.el9 system
      zabbix-selinux.noarch 1:6.0.33-2.el9 @epel
      zabbix-selinux-policy.x86_64 7.0.3-release1.el9 zabbix
      zabbix-server.noarch 1:6.0.33-2.el9 @epel
      zabbix-server-pgsql.x86_64 1:6.0.33-2.el9 @epel
      zabbix-sql-scripts.noarch 7.0.3-release1.el9 zabbix
      zabbix-web.noarch 7.0.3-release1.el9 zabbix
      zabbix-web-deps.noarch 7.0.3-release1.el9 zabbix
      zabbix-web-pgsql.noarch 7.0.3-release1.el9 zabbix

      and

      rpm -ivh --nosignature --nodeps zabbix-web-pgsql-7.0.3-release1.el9.noarch.rpm
      rpm -ivh --nosignature --nodeps zabbix-web-7.0.3-release1.el9.noarch.rpm
      rpm -ivh --nosignature --nodeps zabbix-release-7.0-5.el9.noarch.rpm
      rpm -ivh --nosignature --nodeps zabbix-release-7.0-5.el9.noarch.rpm

      whitch module have to replace with rpm

      regards!
  • az1minami
    Junior Member
    • Sep 2023
    • 9

    #3

    1117:20240924:110454.686 query [txnlev:0] [select mandatory,optional from dbversion]
    1117:20240924:110454.687 The server does not match Zabbix database. Current database version (mandatory/optional): 07000000/07000003. Required mandatory version: 06000000.
    1117:20240924:110454.687 End of DBcheck_version():FAIL
    1117:20240924:110454.687 query [txnlev:0] [select 1 from information_schema.columns where table_name='config' and column_name='dbversion_status' and table_schema='public']
    1117:20240924:110454.690 query [txnlev:0] [select 1 from information_schema.table_constraints where table_name='history' and constraint_type='PRIMARY KEY' and constraint_schema='public']
    1117:20240924:110454.705 In zbx_db_flush_version_requirements()
    1117:20240924:110454.705 query without transaction detected
    1117:20240924:110454.705 query [txnlev:0] [update config set dbversion_status='[{"database":"PostgreSQL","current_version":"15.8", "min_version":"10.9","max_version":"16.x","history _pk":1,"min_supported_version":"13.0","flag":0}]']
    1117:20240924:110454.710 End of zbx_db_flush_version_requirements()
    [root@zabbix7-web zabbixsrv]# [ 53.814755] hv_balloon: Max. dynamic memory size: 8192 MB

    Comment

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

      #4
      All that is from "@epel" ... is of wrong version as you can see...
      I might be wrong here, but you should be able to tell thesystem which ones to prefer... turn down the priority of that epel repo...
      Last edited by cyber; 24-09-2024, 12:44.

      Comment

      • az1minami
        Junior Member
        • Sep 2023
        • 9

        #5
        I re-create os level Rocky linux 9.3 my template .
        [epel]
        ...
        excludepkgs=zabbix*

        is very important.
        Just now runnning .
        Thansk!

        Comment

        Working...