Ad Widget

Collapse

Problem upgrading from 2.2.1 to 2.4.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bpc-ruslan
    Member
    • Jul 2014
    • 32

    #1

    Problem upgrading from 2.2.1 to 2.4.0

    Whet I updated from 2.2.1 to 2.4.0, tried to open https:\\zabbix-server\zabbix

    I've got this eror:
    Database error: The frontend does not match Zabbix database. Current database version (mandatory/optional): 2040000/2040000. Required mandatory version: 2020000. Contact your system administrator.

    My DB is Porsgres

    Database has been updated. Then disconected and connected again. After that I got error above.

    11621:20140918:183406.414 completed 99% of database upgrade
    11621:20140918:183406.415 completed 100% of database upgrade
    11621:20140918:183406.415 database upgrade fully completed
    13252:20140918:184317.424 current database version (mandatory/optional): 02040000/02040000
    13280:20140918:184332.325 [Z3001] connection to database 'zabbix' failed: [0] FATAL: the database system is shutting down
    13280:20140918:184332.325 database is down: reconnecting in 10 seconds
    13291:20140918:184332.952 [Z3001] connection to database 'zabbix' failed: [0] could not connect to server: Connection refused
    13291:20140918:184332.952 database is down: reconnecting in 10 seconds
    13281:20140918:184333.941 [Z3001] connection to database 'zabbix' failed: [0] could not connect to server: Connection refused
    13281:20140918:184333.942 database is down: reconnecting in 10 seconds
    13290:20140918:184333.979 [Z3001] connection to database 'zabbix' failed: [0] could not connect to server: Connection refused
    13290:20140918:184333.979 database is down: reconnecting in 10 seconds
    13303:20140918:184334.203 [Z3001] connection to database 'zabbix' failed: [0] could not connect to server: Connection refused
    13303:20140918:184334.203 database is down: reconnecting in 10 seconds
    13289:20140918:184334.281 [Z3001] connection to database 'zabbix' failed: [0] could not connect to server: Connection refused
    13289:20140918:184334.281 database is down: reconnecting in 10 seconds
    13297:20140918:184335.026 [Z3001] connection to database 'zabbix' failed: [0] could not connect to server: Connection refused
    13297:20140918:184335.026 database is down: reconnecting in 10 seconds
    13280:20140918:184342.331 database connection re-established
    13291:20140918:184342.958 database connection re-established
    13281:20140918:184343.951 database connection re-established
    13290:20140918:184343.988 database connection re-established
    13303:20140918:184344.214 database connection re-established
    13289:20140918:184344.303 database connection re-established
    13297:20140918:184345.033 database connection re-established
    953:20140918:185857.790 current database version (mandatory/optional): 02040000/02040000

    When I restart zabbix-server everything seems ok in log, but same error in web

    13252:20140918:185800.864 syncing history data...
    13252:20140918:185800.883 syncing history data done
    13252:20140918:185800.883 syncing trends data...
    953:20140918:185856.939 Starting Zabbix Server. Zabbix 2.4.0 (revision 48953).
    953:20140918:185856.942 ****** Enabled features ******
    953:20140918:185856.942 SNMP monitoring: YES
    953:20140918:185856.943 IPMI monitoring: YES
    953:20140918:185856.943 WEB monitoring: YES
    953:20140918:185856.943 VMware monitoring: YES
    953:20140918:185856.943 Jabber notifications: YES
    953:20140918:185856.943 Ez Texting notifications: YES
    953:20140918:185856.943 ODBC: YES
    953:20140918:185856.943 SSH2 support: YES
    953:20140918:185856.943 IPv6 support: YES
    953:20140918:185856.943 ******************************
    953:20140918:185856.943 using configuration file: /etc/zabbix/zabbix_server.conf
    953:20140918:185857.790 current database version (mandatory/optional): 02040000/02040000
    953:20140918:185857.790 required mandatory version: 02040000
  • harmonica
    Senior Member
    • Jan 2009
    • 251

    #2
    Hi,

    You must Install new Zabbix web interface.

    Comment

    • bpc-ruslan
      Member
      • Jul 2014
      • 32

      #3
      Thanks, it helped

      Comment

      • Blooder
        Junior Member
        • Jul 2010
        • 15

        #4
        Originally posted by harmonica
        Hi,

        You must Install new Zabbix web interface.

        How can I install new Zabbix web interface?

        I only copy frontend php files and I have this error with mandatory version:
        pls help

        Comment

        • neo32
          Senior Member
          • Nov 2013
          • 149

          #5
          Originally posted by Blooder
          How can I install new Zabbix web interface?

          I only copy frontend php files and I have this error with mandatory version:
          pls help
          I have a same problem, Im copy frontend/ to /www/, but im get this error in web anyway.


          Sorry, Im solution this trouble.
          Last edited by neo32; 13-11-2014, 11:06.

          Comment

          Working...