Results 1 to 8 of 8

Thread: Moving ZCS to another arch. 32bit ->64bit

  1. #1
    Aleks is offline Active Member
    Join Date
    May 2007
    Location
    Europe
    Posts
    48
    Rep Power
    7

    Exclamation Moving ZCS to another arch. 32bit ->64bit

    Hi
    We have latest Zimbra OSS on intel 32bit platform. Now we bought an AMD X2.
    My question is, is it posible to move all data from 32bit to 64bit without errors?
    And does exist zimbra 4.5.10 for 64bit systems?

    Old configuration is Intel 32bit, SLES 9, Zimbra 4.5.10 for x86 system
    New configuration is AMD X2 64bit, SLES10, Zimbra RC2 for x86_64 system

    I tryed so: I took a backup of all data (4.5.10) on old system and place it over a new installation of zimbra RC2 on new system. Then I run an update over the zimbra and got the next errors.
    And how will it be solved with Zimbra NE? Restoring all data from a standard NE backup (32->64)?

    Restoring existing configuration file from /opt/zimbra/.saveconfig/config.save...done
    Can't load '/opt/zimbra/zimbramon/lib/i586-linux-thread-multi/auto/DBI/DBI.so' for module DBI: /opt/zimbra/zimbramon/lib/i586-linux-thread-multi/auto/DBI/DBI.so: wrong ELF class: ELFCLASS32 at /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230, line 228.
    at /opt/zimbra/zimbramon/lib/i586-linux-thread-multi/DBI.pm line 259
    BEGIN failed--compilation aborted at /opt/zimbra/zimbramon/lib/i586-linux-thread-multi/DBI.pm line 259, line 228.
    Compilation failed in require at /opt/zimbra/libexec/scripts/Migrate.pm line 18, line 228.
    BEGIN failed--compilation aborted at /opt/zimbra/libexec/scripts/Migrate.pm line 18, line 228.
    Compilation failed in require at /opt/zimbra/libexec/zmupgrade.pm line 21, line 228.
    BEGIN failed--compilation aborted at /opt/zimbra/libexec/zmupgrade.pm line 21, line 228.
    Compilation failed in require at /opt/zimbra/libexec/zmsetup.pl line 61, line 228.
    BEGIN failed--compilation aborted at /opt/zimbra/libexec/zmsetup.pl line 61, line 228.

  2. #2
    Aleks is offline Active Member
    Join Date
    May 2007
    Location
    Europe
    Posts
    48
    Rep Power
    7

    Default

    Any ideas?
    Is it posible to restore on 64 bit without data loss?
    Last edited by Aleks; 12-03-2007 at 03:29 PM.

  3. #3
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    11

    Default

    Hi Aleks, I've often wondered this myself. I expect the NE would be easy - restore from the last full backup point. For OSS as you've found the normal procedure won't work. I suspect you would have to:
    - Install fresh correct 64bit copy on new 64bit OS fully, configure and then stop all zimbra services.
    - Selectively restore directories from the old 32bit /opt/zimbra. Leave out anything with binaries - copy all config, data, store etc.
    - Start binaries. Work out what is breaking, fix, wash, rinse, repeat ad nauseam. I can't see any reason this shouldn't work, if you get somewhere let us know or write it up on the wiki?

  4. #4
    greenrenault's Avatar
    greenrenault is offline Partner (VAR/HSP)
    Join Date
    Jul 2006
    Location
    Australia, ACT
    Posts
    197
    Rep Power
    8

    Smile How about this solution?

    How about this solution... completely untested, no warranty, probably won't work... just an idea really.

    1. Upgrade your 32bit Zimbra to Zimbra Network Edition and use the 30 day trial key.
    2. Create a backup of your installation using Zimbra backup.
    3. Install a 64bit Zimbra Network Edition, install trial key and restore from backup.

    So you've now got your data on 64bit OS, so next step is to revert back to Zimbra OSS.
    1. Create a copy of your Zimbra Network Edition 64bit (copy /opt/zimbra to /opt/zimbra-ne) as a backup.
    2. Install a new copy of Zimbra OSS 64bit over your existing installation.
    3. Start it up and see if it works!

    Let me know how you go

    (Full credit it if works, I disclaim all responsibilities if not!)

  5. #5
    Aleks is offline Active Member
    Join Date
    May 2007
    Location
    Europe
    Posts
    48
    Rep Power
    7

    Default

    Quote Originally Posted by dijichi2 View Post
    Hi Aleks, I've often wondered this myself. I expect the NE would be easy - restore from the last full backup point. For OSS as you've found the normal procedure won't work. I suspect you would have to:
    - Install fresh correct 64bit copy on new 64bit OS fully, configure and then stop all zimbra services.
    - Selectively restore directories from the old 32bit /opt/zimbra. Leave out anything with binaries - copy all config, data, store etc.
    - Start binaries. Work out what is breaking, fix, wash, rinse, repeat ad nauseam. I can't see any reason this shouldn't work, if you get somewhere let us know or write it up on the wiki?
    Sound like a lot of work, but I'll do that on end of the week! I will let you know about progress. Nice start to learn how zimbra works on system.

  6. #6
    Aleks is offline Active Member
    Join Date
    May 2007
    Location
    Europe
    Posts
    48
    Rep Power
    7

    Default

    Quote Originally Posted by greenrenault View Post
    How about this solution... completely untested, no warranty, probably won't work... just an idea really.

    1. Upgrade your 32bit Zimbra to Zimbra Network Edition and use the 30 day trial key.
    2. Create a backup of your installation using Zimbra backup.
    3. Install a 64bit Zimbra Network Edition, install trial key and restore from backup.

    So you've now got your data on 64bit OS, so next step is to revert back to Zimbra OSS.
    1. Create a copy of your Zimbra Network Edition 64bit (copy /opt/zimbra to /opt/zimbra-ne) as a backup.
    2. Install a new copy of Zimbra OSS 64bit over your existing installation.
    3. Start it up and see if it works!

    Let me know how you go

    (Full credit it if works, I disclaim all responsibilities if not!)
    That is a nice solution! I'll do that too, but after dijichi2 solution.
    I will let you know about progress.
    As far as I know, Zimbra NE is for limited number of users or is it ulimited for 60 days?

  7. #7
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    20

    Default

    -No reason for me to test that process lately
    But you can always request more, and you should select the number of users planned under 'deployment info' /products/download_network.html

  8. #8
    Aleks is offline Active Member
    Join Date
    May 2007
    Location
    Europe
    Posts
    48
    Rep Power
    7

    Default

    When I'm upgrading from 4.5.10 to RC1 on the same server (x86).
    I get this:
    Checking ldap status
    Starting ldap
    Checking ldap status
    Setting defaults...Checking ldap status
    done.
    Setting defaults from existing config...done.
    Upgrading from 4.5.10_GA_1575 to 5.0.0_RC1_1538
    Stopping zimbra services
    Verifying /opt/zimbra/conf/my.cnf
    Starting mysql
    Starting logger mysql
    Thu Dec 6 14:59:34 2007: SELECT value FROM config WHERE name = 'db.version'
    I can't upgrade version

    UPGRADE FAILED - exiting

    ----------

    Then I installed new zimbra on new server (x86_64) with same passwords and hostname like on old server reducing the diferences between zimbras.
    I've copyed only the data from backup, leaving all the binary, checked the permisions, owners...
    I've managed mysql to run under zimbra (folders from backup 'db','store' and 'index'...).
    LDAP was the problem... it seems like an bug
    Bug 20005 - zmcontrol start on ldap hosts should not get services list from cache
    zmcontrol start
    Unable to determine enabled services from ldap.
    Enabled services read from cache. Service list may be inaccurate.
    Starting ldap...Done.
    Starting mailbox...Done.
    Starting antispam...Done.
    Starting antivirus...Done.
    Starting spell...Done.
    Starting mta...Done.
    Starting stats...Done.


    Then I run an upgrade over and get...
    Restoring existing configuration file from /opt/zimbra/.saveconfig/config.save...done
    Operations logged to /tmp/zmsetup.12072007-104257.log
    Starting ldap...failed with exit code 256.
    Starting ldap...failed with exit code 256.
    Setting defaults...Starting ldap...failed with exit code 256.


    I think it would be better to write an external application (API) to automaticaly move accounts and sync all mail like IMAPsync... This way we would avoid any issues...

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Trouble Sending mail - All Messages deferred!
    By SiteDiscovery in forum Administrators
    Replies: 7
    Last Post: 09-03-2009, 04:52 AM
  2. Ldap_operations_error
    By tcnj in forum Administrators
    Replies: 4
    Last Post: 05-09-2009, 06:53 AM
  3. Replies: 10
    Last Post: 11-21-2007, 03:32 AM
  4. Replies: 41
    Last Post: 10-29-2007, 02:36 PM
  5. ZCS 3.2 Beta Available
    By KevinH in forum Announcements
    Replies: 31
    Last Post: 07-07-2006, 03:46 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
  •