Results 1 to 6 of 6

Thread: [SOLVED] 6.0.1 problem DB Version Mismatch

  1. #1
    serivo is offline OpenSource Builder
    Join Date
    Sep 2007
    Posts
    46
    Rep Power
    7

    Default [SOLVED] 6.0.1 problem DB Version Mismatch

    Hi all,
    we were testing zimbra-6.0.1 NE before upgrade. We have copied zimbra-5.0.9 which are working now to a separate machine, and then performed upgrade to 6.0.1. After that it worked well for a week or so, and passed first test.

    Second test phase involved some of users to try to connect to it with different mobile devices. At this point we need correct certificates, reflecting different host name. I have generated certificate with SubjectAltNames, to match the name of the host it is now running. in addition to the servername which was not changed when copying to test server was done. (the server uses it's local DNS to fake it's hostname to be the same as that of the production zimbra server)

    After doing this, when restarted zimbra mailbox, I encountered 2 problems. one was with error in config file.,
    --- from log/zmmailboxd.out:
    798 WARN [main] log - Config error at <Set name="useDirectBuffers"/>
    798 WARN [main] log - Config error at <Call name="addConnector"><Arg>
    ---
    It was resolved by "zmprov -l mcf zimbraMailUseDirectBuffers TRUE"
    The second problem I can't resolve:
    --- from log/mailbox.log:
    2009-09-25 11:03:23,655 ERROR [main] [] Versions - DB Version Mismatch: ours="63" from DB="52"
    2009-09-25 11:03:23,655 FATAL [main] [] system - Data version mismatch. Reinitialize or upgrade the backend data store.
    ---
    Please, help.
    --
    Sergey Ivanov

  2. #2
    serivo is offline OpenSource Builder
    Join Date
    Sep 2007
    Posts
    46
    Rep Power
    7

    Default resolved

    I'm not sure what caused this problem.
    I can thing of 2 possible sources:
    1 - it's some kind of data copying from the main server to this copy we are testing upgrade, which arrived later than upgrade was done;
    2 - restoring by zmrestore or web interface caused rollback of mysql db including zimbra.config table.

    But this problem were pretty easy, although time consuming process, to resolve, looking at /opt/zimbra/libexec/* scripts, finding the scripts which increase zimbra.config's db.version, and running corresponding sql updates, sometimes on all mailboxgroups, in cycle.

    I will try to test if zmrestore can rollback database scheme called with some parameters, but later. For now the problem is fixed and we will test zcs-6.0.1 to determine if we are ready for upgrade on the production server.
    --
    Sergey

  3. #3
    liveaverage's Avatar
    liveaverage is offline Active Member
    Join Date
    Apr 2008
    Location
    Gainesville, FL
    Posts
    32
    Rep Power
    7

    Default Details?

    Hi Serivo,

    Did you have any additional details on how you solved your problem related to the following error(s):

    Code:
    2009-10-20 14:15:06,564 INFO  [main] [] sqltrace - Setting slow SQL threshold to 2000ms.
    2009-10-20 14:15:06,613 ERROR [main] [] Versions - DB Version Mismatch: ours="63" from DB="53"
    2009-10-20 14:15:06,613 FATAL [main] [] system - Data version mismatch.  Reinitialize or upgrade the backend data store.
    I've been trying to figure this one out, too Thanks for any assistance!

  4. #4
    Filly is offline Junior Member
    Join Date
    May 2009
    Posts
    7
    Rep Power
    5

    Default

    why is this problem SOLVED ? i cannot find any solution for this problem. SO what is the Solution????

  5. #5
    y@w's Avatar
    y@w
    y@w is offline Moderator
    Join Date
    Jan 2008
    Posts
    658
    Rep Power
    8

    Default

    When others run into this, an "upgrade" with the same version (or a real upgrade I suppose) fixes it.

  6. #6
    Filly is offline Junior Member
    Join Date
    May 2009
    Posts
    7
    Rep Power
    5

    Default

    it didn't for me, tried it a few times. zmmailboxdctl is not running.

    the only error i found was the same liveaverage had :

    2010-09-15 11:36:15,771 ERROR [main] [] Versions - DB Version Mismatch: ours="64" from DB="63"
    2010-09-15 11:36:15,771 FATAL [main] [] system - Data version mismatch. Reinitialize or upgrade the backend data store.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. 4.0.4 to 4.5.6 upgrade failed in network edition
    By chenthil in forum Administrators
    Replies: 1
    Last Post: 08-27-2007, 09:36 AM
  2. [SOLVED] Simple backup question...
    By dameron in forum Administrators
    Replies: 3
    Last Post: 08-25-2007, 09:36 PM
  3. WindowsMobile - problem with regional fonts
    By wojo2000 in forum Zimbra Mobile
    Replies: 0
    Last Post: 06-22-2007, 10:37 AM
  4. Mail Queue SSH Public Key problem
    By markymarknz in forum Installation
    Replies: 6
    Last Post: 06-05-2007, 04:43 PM
  5. Replies: 12
    Last Post: 04-06-2006, 10:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •