Ad Widget

Collapse

Zabbix Web Front Error from the Browser

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sahansam
    Junior Member
    • Jan 2019
    • 4

    #1

    Zabbix Web Front Error from the Browser



    Hi All,

    I just rebooted my Zabbix server and the Mysql Server and when i tried to login from the web console the below error comes in the Browser Please Help !!!
    Zabbix 2.2.8
    Database error
    The frontend does not match Zabbix database. Current database version (mandatory/optional): 4000000/4000003. Required mandatory version: 2020000. Contact your system administrator.

    Regards,
    SahanS
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    The database for Zabbix is automatically upgraded when Zabbix server daemon is started. You can not use it from the new version of the Web front end unless the database upgrade is completed.
    Please check the log of Zabbix server to see if the upgrade process is finished.

    --- added
    I misread the error message.
    As written by dimir, Zabbix's front end seems to be outdated, so please upgrade the Zabbix front end as well.
    Last edited by Atsushi; 18-01-2019, 03:36.

    Comment

    • dimir
      Zabbix developer
      • Apr 2011
      • 1080

      #3
      You have upgraded Zabbix server and it upgraded the database, but you are using old front-end. Please install/upgrade the frontend also.

      Comment

      • sahansam
        Junior Member
        • Jan 2019
        • 4

        #4
        dimir Could you please tell me the exact steps to update the front end , as i am a beginner. Step by Step advice could be great !

        Comment


        • Atsushi
          Atsushi commented
          Editing a comment
          I think that you were using CentOS 6.5. In order to run the Zabbix 4.0 Web front end on CentOS 6.5, you need to change to PHP 5.4 or a later version of PHP. Can you upgrade this PHP version yourself?

          If it is difficult to upgrade to PHP 5.4 or later, it would be easier if you built a separate environment for CentOS 7 and built the Zabbix 4.0 environment on that environment.
      • Atsushi
        Senior Member
        • Aug 2013
        • 2028

        #5
        Example: upgrade from 2.2 to 4.0.3 on CentOS 6
        Code:
        # service httpd stop
        # service zabbix-server stop
        # service zabbix-agent stop
        # yum install https://rpms.remirepo.net/enterprise/remi-release-6.rpm
        # yum update http://repo.zabbix.com/zabbix/4.0/rhel/6/x86_64/zabbix-release-4.0-1.el6.noarch.rpm
        # yum clean all
        # yum update
        # yum remove zabbix-proxy-pgsql zabbix-proxy-sqlite3 zabbix-server-pgsql zabbix-proxy-mysql zabbix-java-gateway
        # yum remove "php*"
        # yum --enablerepo=remi-php56 install php56-php-pdo php56-php-mbstring php56-php-xml php56-php-cli php56-php-common php56-php-bcmath php56-php-mysqlnd php56-php php56-php-gd
        # cp /usr/share/doc/zabbix-web-4.0.3/httpd22-example.conf /etc/httpd/conf.d/zabbix.conf
        # vi /etc/httpd/conf.d/zabbix.conf
        # service zabbix-agent start
        # service zabbix-server start
        # serivce httpd start
        If you can not understand the contents of each command, I think that it is better to migrate to a newer version of OS, such as CentOS 7.

        Comment

        Working...