Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: 4.5.11 to 5.06 Migration Suggestion

  1. #1
    newmember is offline Senior Member
    Join Date
    May 2007
    Location
    Calgary
    Posts
    62
    Rep Power
    8

    Arrow 4.5.11 to 5.06 Migration Suggestion

    Could I run #zmprov gaa -v on my 4.5.11 zimbra server then use that output with #zmprov ca on my 5.0.6 zimbra server to import the accounts and their settings?

    I then would use imapsync to copy all the emails, docs, calenders from 4.5.11 to the new server 5.0.6.

    Comments please.

    FYI, I have this nagging problem that when I upgrade from 4.5.11 to any of the 5.0.x releases there is an error with the postfix I can't fix.
    So I need more space on my server anyway so I may as well upgrade to to a newer OS and a larger hard drive.

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,487
    Rep Power
    56

    Default

    There's information in the wiki (and lots of forum advice) about migrating Zimbra from one server to another and/or doing a user migration. Perhaps it would be a better idea to try and fix the 'postfix errors' that you claim to be having. Some background, some log files, some errors - where does the upgrade go wrong and what exactly happens?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,487
    Rep Power
    56

    Default

    I'm somewhat confused by the log file you've sent me (please post information to a forum thread in future), it's from an upgrade in February that shows you upgrading from 4.5.6 to 5.0.2. It's pointless looking at that log as, according to several post of yours, I see that you've already upgraded from 4.5.6 to 4.5.11 and the log shows nothing about postfix errors. What's the output of 'zmcontrol -v' on your system? Please update your profile with that information. Take a backup and try the upgrade again and see what happens.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #4
    newmember is offline Senior Member
    Join Date
    May 2007
    Location
    Calgary
    Posts
    62
    Rep Power
    8

    Default

    So I pulled a backup off my zimbra server 4.5.11.
    BTW my logger currently does not work for some reason.
    Then I did the upgrade to 5.0.7GA.
    Below are some of the log files, and directly below is the error when I try to start zimbra.


    When I start zimbra, here is the error:

    Code:
    Starting ldap...Done.
            Starting logger...Done.
            Starting mailbox...Done.
            Starting antispam...Done.
            Starting antivirus...Done.
            Starting snmp...Done.
            Starting spell...Done.
            Starting mta...FAILED
    postmap: fatal: bad string length 0 < 1: mail_owner =
    postalias: fatal: bad string length 0 < 1: mail_owner =
    postfix failed to start
    saslauthd[9866] :set_auth_mech : failed to initialize mechanism zimbra
    zmsaslauthdctl failed to start

    Here is my zmsetup.log from the upgrade:

    Code:
    Tue Jul  1 10:49:26 2008 Operations logged to /tmp/zmsetup.01001900-0000156732560.log
    Tue Jul  1 10:49:26 2008 Getting installed packages
    Tue Jul  1 10:49:28 2008 Getting local config zimbra_server_hostname
    Tue Jul  1 10:49:28 2008 Getting local config ldap_url
    Tue Jul  1 10:49:29 2008 zimbra_server_hostname contained in ldap_url checking ldap status
    Tue Jul  1 10:49:29 2008 Checking ldap status.
    Tue Jul  1 10:49:29 2008 *** Running as zimbra user: /opt/zimbra/bin/ldap status
    Tue Jul  1 10:49:30 2008 Starting ldap...
    Tue Jul  1 10:49:30 2008 *** Running as zimbra user: /opt/zimbra/sleepycat/bin/db_recover -h /opt/zimbra/openldap-data
    Tue Jul  1 10:49:31 2008 *** Running as zimbra user: /opt/zimbra/libexec/zmldapapplyldif
    Tue Jul  1 10:49:45 2008 *** Running as zimbra user: /opt/zimbra/bin/ldap status
    slapd running pid: 22149
    Tue Jul  1 10:49:45 2008 done.
    Tue Jul  1 10:49:45 2008 Getting installed services from ldap
    Tue Jul  1 10:49:48 2008 checking isEnabled zimbra-core
    Tue Jul  1 10:49:48 2008 zimbra-core not in enabled cache
    Tue Jul  1 10:49:48 2008 enabled packages 
    Tue Jul  1 10:49:48 2008 zimbra_server_hostname contained in ldap_url checking ldap status
    Tue Jul  1 10:49:48 2008 Checking ldap status.
    Tue Jul  1 10:49:48 2008 *** Running as zimbra user: /opt/zimbra/bin/ldap status
    slapd running pid: 22149
    Tue Jul  1 10:49:49 2008 slapd already running.
    Tue Jul  1 10:49:49 2008 Getting enabled services from ldap
    Tue Jul  1 10:49:51 2008 Marking zimbra-core as installed. Services for zimbra-core will be enabled.
    Tue Jul  1 10:49:53 2008 Marking zimbra-apache as installed. Services for zimbra-apache will be enabled.
    Tue Jul  1 10:49:54 2008 Setting defaults...
    Tue Jul  1 10:49:55 2008 Setting local config zimbra_java_home to /opt/zimbra/java
    Tue Jul  1 10:49:55 2008 *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_java_home='/opt/zimbra/java' 2> /dev/null
    Tue Jul  1 10:49:56 2008 checking isEnabled zimbra-cluster
    Tue Jul  1 10:49:56 2008 zimbra-cluster not in enabled cache
    Tue Jul  1 10:49:57 2008 enabled packages zimbra-logger zimbra-store zimbra-mta zimbra-core zimbra-apache zimbra-snmp zimbra-ldap zimbra-spell
    Tue Jul  1 10:49:57 2008 zimbra_server_hostname contained in ldap_url checking ldap status
    Tue Jul  1 10:49:57 2008 Checking ldap status.
    Tue Jul  1 10:49:57 2008 *** Running as zimbra user: /opt/zimbra/bin/ldap status
    slapd running pid: 22149
    Tue Jul  1 10:49:58 2008 slapd already running.
    Tue Jul  1 10:49:58 2008 Getting enabled services from ldap
    Tue Jul  1 10:50:01 2008 Marking zimbra-core as installed. Services for zimbra-core will be enabled.
    Tue Jul  1 10:50:03 2008 Marking zimbra-apache as installed. Services for zimbra-apache will be enabled.
    Tue Jul  1 10:50:05 2008 checking isEnabled zimbra-store
    Tue Jul  1 10:50:05 2008 zimbra-store is enabled
    Tue Jul  1 10:50:05 2008 checking isEnabled zimbra-proxy
    Tue Jul  1 10:50:05 2008 zimbra-proxy not in enabled cache
    Tue Jul  1 10:50:05 2008 enabled packages zimbra-logger zimbra-store zimbra-mta zimbra-core zimbra-apache zimbra-cluster zimbra-snmp zimbra-ldap zimbra-spell
    Tue Jul  1 10:50:05 2008 zimbra_server_hostname contained in ldap_url checking ldap status
    Tue Jul  1 10:50:05 2008 Checking ldap status.
    Tue Jul  1 10:50:05 2008 *** Running as zimbra user: /opt/zimbra/bin/ldap status
    slapd running pid: 22149
    Tue Jul  1 10:50:07 2008 slapd already running.
    Tue Jul  1 10:50:07 2008 Getting enabled services from ldap
    Tue Jul  1 10:50:11 2008 Marking zimbra-core as installed. Services for zimbra-core will be enabled.
    Tue Jul  1 10:50:13 2008 Marking zimbra-apache as installed. Services for zimbra-apache will be enabled.
    Tue Jul  1 10:50:19 2008 checking isEnabled zimbra-ldap
    Tue Jul  1 10:50:19 2008 zimbra-ldap is enabled
    Tue Jul  1 10:50:20 2008 checking isEnabled zimbra-store
    Tue Jul  1 10:50:20 2008 zimbra-store is enabled
    Tue Jul  1 10:50:20 2008 checking isEnabled zimbra-mta
    Tue Jul  1 10:50:20 2008 zimbra-mta is enabled
    Tue Jul  1 10:50:20 2008 done.
    Tue Jul  1 10:50:21 2008 Upgrading from 4.5.6_GA_1044 to 5.0.7_GA_2444
    Tue Jul  1 10:50:22 2008 Stopping zimbra services
    Tue Jul  1 10:50:41 2008 Verifying /opt/zimbra/conf/my.cnf
    Tue Jul  1 10:50:42 2008 Starting mysql
    Tue Jul  1 10:50:56 2008 Starting logger mysql
    Tue Jul  1 10:53:35 2008 UPGRADE FAILED - exiting


    There were a few errors in the install.log:

    Code:
    COMMAND: zmlocalconfig -s | sed -e "s/ = \(.*\)/=\'\1\'/" > /opt/zimbra/.saveconfig/config.save
    COMMAND: zmcontrol shutdown
    Host mail.domain.com
    	Stopping stats...Done
    	Stopping mta...Done
    	Stopping spell...Done
    	Stopping snmp...Done
    	Stopping antivirus...Done
    	Stopping antispam...Done
    	Stopping imapproxy...Done
    	Stopping mailbox...Done
    	Stopping logger...Done
    	Stopping ldap...Done
    Preparing packages for installation...
    zimbra-core-5.0.7_GA_2444.RHEL5-20080626020941
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: cannot access `/opt/zimbra/snmp/var': No such file or directory
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: cannot access `/opt/zimbra/openldap/etc': No such file or directory
    chown: cannot access `/opt/zimbra/openldap/var': No such file or directory
    chmod: missing operand after `755'
    Try `chmod --help' for more information.
    chown: cannot access `/opt/zimbra/amavisd/sbin': No such file or directory
    chmod: cannot access `/opt/zimbra/postfix/conf/postfix-script': No such file or directory
    chmod: cannot access `/opt/zimbra/postfix/conf/post-install': No such file or directory
    Loading classes to share ... done. 
    Rewriting and unlinking classes ... done. 
    Calculating hash values for String objects .. done. 
    Calculating fingerprints ... done. 
    Removing unshareable information ... done. 
    Moving most read-only objects to shared space at 0x90b20000 ... done. 
    Moving common symbols to shared space at 0x90e9d938 ... done. 
    Moving remaining symbols to shared space at 0x90fcaa68 ... done. 
    Moving string char arrays to shared space at 0x90fcb4f8 ... done. 
    Moving additional symbols to shared space at 0x9104e070 ... done. 
    Read-only space ends at 0x910a2e10, 5778960 bytes.
    Moving read-write objects to shared space at 0x91320000 ... done. 
    Moving String objects to shared space at 0x918b0e40 ... done. 
    Read-write space ends at 0x918f1640, 6100544 bytes.
    Updating references to shared objects ... done. 
    
    Preparing packages for installation...
    zimbra-ldap-5.0.7_GA_2444.RHEL5-20080626020941
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: cannot access `/opt/zimbra/snmp/var': No such file or directory
    chown: cannot access `/opt/zimbra/amavisd/sbin': No such file or directory
    chmod: cannot access `/opt/zimbra/postfix/conf/postfix-script': No such file or directory
    chmod: cannot access `/opt/zimbra/postfix/conf/post-install': No such file or directory
    Preparing packages for installation...
    zimbra-logger-5.0.7_GA_2444.RHEL5-20080626020941
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: cannot access `/opt/zimbra/snmp/var': No such file or directory
    chown: cannot access `/opt/zimbra/amavisd/sbin': No such file or directory
    chmod: cannot access `/opt/zimbra/postfix/conf/postfix-script': No such file or directory
    chmod: cannot access `/opt/zimbra/postfix/conf/post-install': No such file or directory
    Preparing packages for installation...
    zimbra-mta-5.0.7_GA_2444.RHEL5-20080626020941
    umount2: Invalid argument
    umount: /opt/zimbra/amavisd/tmp: not mounted
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: cannot access `/opt/zimbra/snmp/var': No such file or directory
    Preparing packages for installation...
    zimbra-snmp-5.0.7_GA_2444.RHEL5-20080626020941
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    Preparing packages for installation...
    zimbra-store-5.0.7_GA_2444.RHEL5-20080626020941
    ln -s /opt/zimbra/jetty-6.1.5 /opt/zimbra/jetty
    Relinking mailboxd to /opt/zimbra/jetty-6.1.5
    ln -s /opt/zimbra/apache-tomcat-5.5.15 /opt/zimbra/tomcat
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    Preparing packages for installation...
    zimbra-apache-5.0.7_GA_2444.RHEL5-20080626020941
    chown: missing operand after `root:root'
    Try `chown --help' for more information.
    Preparing packages for installation...
    zimbra-spell-5.0.7_GA_2444.RHEL5-20080626020941
    
    clipped by me......

  5. #5
    newmember is offline Senior Member
    Join Date
    May 2007
    Location
    Calgary
    Posts
    62
    Rep Power
    8

    Default

    BUMP!
    Hope the holiday was good to everyone.

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

    Default

    What's the output of:
    su - zimbra
    postconf | grep mail_owner

  7. #7
    newmember is offline Senior Member
    Join Date
    May 2007
    Location
    Calgary
    Posts
    62
    Rep Power
    8

    Default

    Code:
    [root@mail root]$ su - zimbra
    [zimbra@mail root]$ postconf | grep mail_owner
    mail_owner =
    [zimbra@mail root]$

  8. #8
    newmember is offline Senior Member
    Join Date
    May 2007
    Location
    Calgary
    Posts
    62
    Rep Power
    8

    Default

    Just bumping

  9. #9
    ljramos is offline Active Member
    Join Date
    Aug 2007
    Location
    Delaware USA
    Posts
    39
    Rep Power
    7

    Default

    This must be the value of the parameter .....

    [root@d ~]# su - zimbra -c 'postconf | grep mail_owner'
    mail_owner = postfix

  10. #10
    superbob is offline New Member
    Join Date
    Nov 2007
    Posts
    4
    Rep Power
    7

    Default I recently upgraded to 5.08

    I am not getting the exact same error message. I attempted to set the mail_owner, but it appears that zimbra is overwriting it some where. Any ideas?

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. GroupWise migration experience
    By nrc in forum Migration
    Replies: 3
    Last Post: 08-24-2010, 12:41 AM
  2. Replies: 10
    Last Post: 10-29-2009, 08:56 PM
  3. [SOLVED] Mail.app POP3 migration to ZCS
    By jpbuse in forum Migration
    Replies: 6
    Last Post: 04-23-2008, 02:38 PM
  4. [SOLVED] GroupWise 7.0.2 migration
    By Rich Graves in forum Migration
    Replies: 28
    Last Post: 04-17-2008, 04:13 PM
  5. 4.5.11 & 5.0.2 Released!
    By mmorse in forum Announcements
    Replies: 0
    Last Post: 02-01-2008, 05:12 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
  •