Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-08-2011, 09:07 PM
Ky0 Ky0 is offline
Junior Member
 
Posts: 5
Default Upgrade From 5.0.24 to 7.1.1 - DB Version Mismatch

Hi all!

The first, I update zcs-5.0.14_GA_2850 to zcs-5.0.26_GA_3365. Everything ok, I can send/receive email

But after I upgrade zcs-5.0.26_GA_3365 to zcs-7.1.1_GA_3196, Zimbra can't access from web

Code:
root@mail:/usr/local/src/zcs-7.1.1_GA_3196# su - zimbra -c "zmcontrol status"
         antispam                Running
         antivirus               Running
         imapproxy               Running
         ldap                    Running
         logger                  Running
         mailbox                 Stopped
                 zmmailboxdctl is not running.
         memcached               Running
         mta                     Running
         snmp                    Running
         spell                   Running
         stats                   Running
         zmconfigd               Running
Log file
Code:
root@mail:~# tail /opt/zimbra/log/mailbox.log
2011-07-09 10:47:55,316 INFO  [main] [] misc - System property os.name=Linux
2011-07-09 10:47:55,316 INFO  [main] [] misc - System property os.version=2.6.24-23-server
2011-07-09 10:47:55,317 INFO  [main] [] misc - System property sun.arch.data.model=64
2011-07-09 10:47:55,317 INFO  [main] [] misc - System property sun.cpu.endian=little
2011-07-09 10:47:55,317 INFO  [main] [] misc - System property sun.cpu.isalist=
2011-07-09 10:47:55,317 INFO  [main] [] misc - System property sun.os.patch.level=unknown
2011-07-09 10:47:55,330 INFO  [main] [] system - Setting mysql connector property: maxActive=100
2011-07-09 10:47:55,336 INFO  [main] [] system - Setting mysql connector property: maxActive=100
2011-07-09 10:47:56,195 ERROR [main] [] Versions - DB Version Mismatch: ours="65" from DB="53"
2011-07-09 10:47:56,195 FATAL [main] [] system - Data version mismatch.  Reinitialize or upgrade the backend data store.
This error apear when zimbra start

Code:
root@mail:~# tail /var/log/zimbra.log
Jul  9 10:55:49 mail zmmailboxdmgr[19176]: assuming no other instance is running
Jul  9 10:55:49 mail zmmailboxdmgr[19176]: file /opt/zimbra/log/zmmailboxd.pid does not exist
Jul  9 10:55:49 mail zmmailboxdmgr[19176]: assuming no other instance is running
Jul  9 10:55:49 mail zmmailboxdmgr[19176]: no manager process is running
Jul  9 10:56:05 mail zmmailboxdmgr[19608]: status requested
Jul  9 10:56:05 mail zmmailboxdmgr[19608]: stale pid 10591 found in /opt/zimbra/log/zmmailboxd_manager.pid: No such process
Jul  9 10:56:05 mail zmmailboxdmgr[19608]: assuming no other instance is running
Jul  9 10:56:05 mail zmmailboxdmgr[19608]: file /opt/zimbra/log/zmmailboxd.pid does not exist
Jul  9 10:56:05 mail zmmailboxdmgr[19608]: assuming no other instance is running
Jul  9 10:56:05 mail zmmailboxdmgr[19608]: no manager process is running
Code:
root@mail:~# tail -n35 /opt/zimbra/log/zmmailboxd.out
CompilerOracle: exclude com/zimbra/cs/session/SessionMap.putAndPrune
CompilerOracle: exclude com/zimbra/cs/mailbox/MailItem.delete
CompilerOracle: exclude org/apache/xerces/impl/XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch
0    INFO  [main] log - Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
Total time for which application threads were stopped: 0.0001300 seconds
Total time for which application threads were stopped: 0.0001190 seconds
Zimbra server reserving server socket port=7110 bindaddr=null ssl=false
Zimbra server reserving server socket port=7995 bindaddr=null ssl=true
Zimbra server reserving server socket port=7143 bindaddr=null ssl=false
Zimbra server reserving server socket port=7993 bindaddr=null ssl=true
Zimbra server reserving server socket port=7025 bindaddr=null ssl=false
JettyMonitor monitoring thread pool org.mortbay.thread.BoundedThreadPool@4d3c7378
678  INFO  [main] log - Setting umask=027
679  INFO  [main] log - Current rlimit_nofiles (soft=524288, hard=524288)
679  INFO  [main] log - Set rlimit_nofiles (soft=65536, hard=65536)
679  INFO  [main] log - Setting GID=1002
679  INFO  [main] log - Setting UID=1002
679  INFO  [main] log - jetty-6.1.22.z6
775  INFO  [main] log - No Transaction manager found - if your webapp requires one, please configure one.
### Excluding compile: org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher::dispatch
Total time for which application threads were stopped: 0.0001700 seconds
Total time for which application threads were stopped: 0.0003290 seconds
Total time for which application threads were stopped: 0.0001540 seconds
Zimbra server process is running as uid=1002 euid=1002 gid=1002 egid=1002
Total time for which application threads were stopped: 0.0001240 seconds
Heap
 PSYoungGen      total 673792K, used 115518K [0x00000007d1000000, 0x0000000800000000, 0x0000000800000000)
  eden space 577536K, 20% used [0x00000007d1000000,0x00000007d80cfb70,0x00000007f4400000)
  from space 96256K, 0% used [0x00000007fa200000,0x00000007fa200000,0x0000000800000000)
  to   space 96256K, 0% used [0x00000007f4400000,0x00000007f4400000,0x00000007fa200000)
 PSOldGen        total 2312192K, used 0K [0x0000000743e00000, 0x00000007d1000000, 0x00000007d1000000)
  object space 2312192K, 0% used [0x0000000743e00000,0x0000000743e00000,0x00000007d1000000)
 PSPermGen       total 28160K, used 27976K [0x000000073be00000, 0x000000073d980000, 0x0000000743e00000)
  object space 28160K, 99% used [0x000000073be00000,0x000000073d9520f0,0x000000073d980000)
Some information my system
Code:
Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
RAM 10GB
Ubuntu 8.04.4 LTS - Linux version 2.6.24-23-server (buildd@crested) (gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3))

root@mail:~# su - zimbra -c "zmcontrol -v"
Release 7.1.1_GA_3196.UBUNTU8_64 UBUNTU8_64 FOSS edition.
I searched many thread but I can't fix it
Please help me solve them! thanks for read!

- Ky0 -
Reply With Quote
  #2 (permalink)  
Old 07-18-2011, 03:24 AM
Ky0 Ky0 is offline
Junior Member
 
Posts: 5
Default

I try fix it but nothing change!

Code:
root@mail:~# su – zimbra
 zimbra@mail:~$ mysql.server start
 zimbra@mail:~$ cd /opt/zimbra/libexec/scripts
 zimbra@mail:~$./migrate20080930-MucService.pl
 zimbra@mail:~$./migrate20090315-MobileDevices.pl
 zimbra@mail:~$./migrate20090406-DataSourceItemTable.pl
 zimbra@mail:~$./migrate20090430-highestindexed.pl
 zimbra@mail:~$./migrate20100106-MobileDevices.pl
 zimbra@mail:~$./migrate20100913-Mysql51.pl
 zimbra@mail:~$./migrate20100926-Dumpster.pl
 zimbra@mail:~$ mysql.server stop
 zimbra@mail:~$ exit
Database version in Mysql
Code:
 root@mail:~# su - zimbra
 zimbra@mail:~$ mysql -u zimbra
 Welcome to the MySQL monitor.  Commands end with ; or \g.
 Your MySQL connection id is 110
 Server version: 5.1.55-log Source distribution
 
 Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
 This software comes with ABSOLUTELY NO WARRANTY. This is free software,
 and you are welcome to modify and redistribute it under the GPL v2 license
 
 Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
 
 mysql> use zimbra;
 Reading table information for completion of table and column names
 You can turn off this feature to get a quicker startup with -A
 
 Database changed
 mysql> select * from config;
 +---------------------+-------+-------------------+---------------------+
 | name                | value | description       | modified            |
 +---------------------+-------+-------------------+---------------------+
 | db.version          | 65    | db schema version | 2011-07-14 17:42:47 |
 | index.version       | 2     | index version     | 2009-04-02 08:35:53 |
 | purge.lastMailboxId | 1645  | NULL              | 2011-07-01 11:15:25 |
 | redolog.version     | 1.31  | redolog version   | 2011-07-14 15:33:40 |
 +---------------------+-------+-------------------+---------------------+
 4 rows in set (0.00 sec)
 
 mysql>
Restart zimbra
Code:
 zimbra@mail:~$zmcontrol restart
Code:
root@mail:~# su - zimbra -c "zmcontrol status"
Host mail.hdbank.com.vn
        antispam                Running
        antivirus               Running
        imapproxy               Running
        ldap                    Running
        logger                  Running
        mailbox                 Stopped
                zmmailboxdctl is not running.
        memcached               Running
        mta                     Running
        snmp                    Running
        spell                   Running
        stats                   Running
        zmconfigd               Running

root@mail:~# tail /opt/zimbra/log/mailbox.log
2011-07-18 17:03:50,971 INFO  [main] [] misc - System property os.name=Linux
2011-07-18 17:03:50,971 INFO  [main] [] misc - System property os.version=2.6.24-23-server
2011-07-18 17:03:50,971 INFO  [main] [] misc - System property sun.arch.data.model=64
2011-07-18 17:03:50,971 INFO  [main] [] misc - System property sun.cpu.endian=little
2011-07-18 17:03:50,971 INFO  [main] [] misc - System property sun.cpu.isalist=
2011-07-18 17:03:50,971 INFO  [main] [] misc - System property sun.os.patch.level=unknown
2011-07-18 17:03:50,984 INFO  [main] [] system - Setting mysql connector property: maxActive=100
2011-07-18 17:03:50,991 INFO  [main] [] system - Setting mysql connector property: maxActive=100
2011-07-18 17:03:51,840 ERROR [main] [] Versions - DB Version Mismatch: ours="65" from DB="53"
2011-07-18 17:03:51,840 FATAL [main] [] system - Data version mismatch.  Reinitialize or upgrade the backend data store.
How to fix it?
Reply With Quote
  #3 (permalink)  
Old 07-18-2011, 07:18 AM
Zimbra Consultant & Moderator
 
Posts: 20,314
Default

Quote:
Originally Posted by Ky0 View Post
How to fix it?
Did you actually change the db version in the database?
__________________
Regards


Bill
Reply With Quote
  #4 (permalink)  
Old 07-18-2011, 06:05 PM
Ky0 Ky0 is offline
Junior Member
 
Posts: 5
Default

Quote:
Originally Posted by phoenix View Post
Did you actually change the db version in the database?
Certainly, I really change db version to 53 before run some scripts migrate! But don't solve the problem!
Reply With Quote
  #5 (permalink)  
Old 07-18-2011, 11:28 PM
Zimbra Consultant & Moderator
 
Posts: 20,314
Default

Try the answer in this thread. You should take a backup of your /opt/zimbra directory before you do the upgrade and, like the poster of that fix, you try that at your own risk.
__________________
Regards


Bill
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.