Ad Widget

Collapse

Fresh system, fresh Zabbix 3.4 and get frontend does not match Zabbix database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Radek
    Junior Member
    • Aug 2018
    • 1

    #1

    Fresh system, fresh Zabbix 3.4 and get frontend does not match Zabbix database

    On fresh Ubuntu 16.04 just installed I installed new Zabbix 3.4 and during frontend setup I'm stuck with "The frontend does not match Zabbix database.".



    Commands used to install Zabbix

    wget https://repo.zabbix.com/zabbix/3.4/u...xenial_all.deb
    dpkg -i zabbix-release_3.4-1+xenial_all.deb
    apt update


    apt install zabbix-server-pgsql
    apt install zabbix-frontend-php
    apt install php-pgsql

    sudo apt-get install snmp
    apt-get install snmp-mibs-downloader

    # postgresql
    sudo -i -u postgres

    # create postgres role "zabbix" (superuser, before tried not superuser)
    createuser --interactive

    psql
    CREATE DATABASE zabbix;
    alter role zabbix with password 'test.test.test.';


    zcat /usr/share/doc/zabbix-server-pgsql/create.sql.gz | sudo -u zabbix psql zabbix


    # vi /etc/zabbix/zabbix_server.conf
    DBHost=localhost
    DBName=zabbix
    DBUser=zabbix
    DBPassword=test.test.test.


    # start
    service zabbix-server start
    update-rc.d zabbix-server enable



    # edit /etc/apache2/conf-enabled/zabbix.conf
    php_value date.timezone Europe/Warsaw

    service apache2 restart



    from zabbix_server.log:

    11712:20180829:051449.428 Zabbix Server stopped. Zabbix 3.4.13 (revision 84139).
    11821:20180829:051449.464 Starting Zabbix Server. Zabbix 3.4.13 (revision 84139).
    11821:20180829:051449.465 ****** Enabled features ******
    11821:20180829:051449.465 SNMP monitoring: YES
    11821:20180829:051449.465 IPMI monitoring: YES
    11821:20180829:051449.465 Web monitoring: YES
    11821:20180829:051449.465 VMware monitoring: YES
    11821:20180829:051449.465 SMTP authentication: YES
    11821:20180829:051449.465 Jabber notifications: YES
    11821:20180829:051449.465 Ez Texting notifications: YES
    11821:20180829:051449.465 ODBC: YES
    11821:20180829:051449.465 SSH2 support: YES
    11821:20180829:051449.465 IPv6 support: YES
    11821:20180829:051449.465 TLS support: YES
    11821:20180829:051449.466 ******************************
    11821:20180829:051449.466 using configuration file: /etc/zabbix/zabbix_server.conf
    11821:20180829:051449.497 current database version (mandatory/optional): 03040000/03040007
    11821:20180829:051449.497 required mandatory version: 03040000
    11821:20180829:051449.538 server #0 started [main process]
    ... (1-32 all started)
    11862:20180829:051450.160 server #33 started [preprocessing worker #3]

    In browser at the bottom of config screen with 'The frontend does not match Zabbix database.' error I have:
    Zabbix 3.4.13. © 2001–2018, Zabbix SIA

    Help!

    --
    Radek
  • Andrew1379
    Junior Member
    • Apr 2020
    • 1

    #2
    Originally posted by Radek
    On fresh Ubuntu 16.04 just installed I installed new Zabbix 3.4 and during frontend setup I'm stuck with "The frontend does not match Zabbix database.".



    Commands used to install Zabbix

    wget https://repo.zabbix.com/zabbix/3.4/u...xenial_all.deb
    dpkg -i zabbix-release_3.4-1+xenial_all.deb
    apt update


    apt install zabbix-server-pgsql
    apt install zabbix-frontend-php
    apt install php-pgsql

    sudo apt-get install snmp
    apt-get install snmp-mibs-downloader

    # postgresql
    sudo -i -u postgres

    # create postgres role "zabbix" (superuser, before tried not superuser)
    createuser --interactive

    psql
    CREATE DATABASE zabbix; <a href="https://www.prepaidgiftbalance.one/">PrepaidGiftBalance Mastercard</a>
    alter role zabbix with password 'test.test.test.';


    zcat /usr/share/doc/zabbix-server-pgsql/create.sql.gz | sudo -u zabbix psql zabbix


    # vi /etc/zabbix/zabbix_server.conf
    DBHost=localhost
    DBName=zabbix
    DBUser=zabbix
    DBPassword=test.test.test.


    # start
    service zabbix-server start
    update-rc.d zabbix-server enable



    # edit /etc/apache2/conf-enabled/zabbix.conf
    php_value date.timezone Europe/Warsaw

    service apache2 restart



    from zabbix_server.log:

    11712:20180829:051449.428 Zabbix Server stopped. Zabbix 3.4.13 (revision 84139).
    11821:20180829:051449.464 Starting Zabbix Server. Zabbix 3.4.13 (revision 84139).
    11821:20180829:051449.465 ****** Enabled features ******
    11821:20180829:051449.465 SNMP monitoring: YES
    11821:20180829:051449.465 IPMI monitoring: YES
    11821:20180829:051449.465 Web monitoring: YES
    11821:20180829:051449.465 VMware monitoring: YES
    11821:20180829:051449.465 SMTP authentication: YES
    11821:20180829:051449.465 Jabber notifications: YES
    11821:20180829:051449.465 Ez Texting notifications: YES
    11821:20180829:051449.465 ODBC: YES
    11821:20180829:051449.465 SSH2 support: YES
    11821:20180829:051449.465 IPv6 support: YES
    11821:20180829:051449.465 TLS support: YES
    11821:20180829:051449.466 ******************************
    11821:20180829:051449.466 using configuration file: /etc/zabbix/zabbix_server.conf
    11821:20180829:051449.497 current database version (mandatory/optional): 03040000/03040007
    11821:20180829:051449.497 required mandatory version: 03040000
    11821:20180829:051449.538 server #0 started [main process]
    ... (1-32 all started)
    11862:20180829:051450.160 server #33 started [preprocessing worker #3]

    In browser at the bottom of config screen with 'The frontend does not match Zabbix database.' error I have:
    Zabbix 3.4.13. © 2001–2018, Zabbix SIA

    Help!

    --
    Radek
    hello sir this is an old post but still . is your problem solved?

    Comment

    Working...