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

Welcome to the Zimbra - Forums.
Welcome to the forums! We encourage you to explore all things Zimbra with our team and members of the community. If you would like to post a comment, please register and review our posting policy.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-28-2008, 10:35 PM
Active Member
 
Join Date: May 2007
Location: Calgary
ZCS Version: 4.5.11 on CentOS 5.2
Posts: 49
newmember is on a distinguished road
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.
Reply With Quote
  #2 (permalink)  
Old 06-29-2008, 12:22 AM
Zimbra Employee
 
Join Date: Sep 2005
Location: Vannes, France
Posts: 8,459
phoenix is on a distinguished road
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
Reply With Quote
  #3 (permalink)  
Old 06-29-2008, 10:08 AM
Zimbra Employee
 
Join Date: Sep 2005
Location: Vannes, France
Posts: 8,459
phoenix is on a distinguished road
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
Reply With Quote
  #4 (permalink)  
Old 07-02-2008, 12:15 AM
Active Member
 
Join Date: May 2007
Location: Calgary
ZCS Version: 4.5.11 on CentOS 5.2
Posts: 49
newmember is on a distinguished road
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......
Reply With Quote
  #5 (permalink)  
Old 07-09-2008, 04:33 PM
Active Member
 
Join Date: May 2007
Location: Calgary
ZCS Version: 4.5.11 on CentOS 5.2
Posts: 49
newmember is on a distinguished road
Default

BUMP!
Hope the holiday was good to everyone.
Reply With Quote
  #6 (permalink)  
Old 07-09-2008, 05:03 PM
mmorse's Avatar
Zimbra Employee
 
Join Date: May 2006
Location: USA
ZCS Version: 5.0.x - NE & FOSS
Posts: 5,271
mmorse is on a distinguished road
Send a message via AIM to mmorse Send a message via MSN to mmorse Send a message via Yahoo to mmorse Send a message via Skype™ to mmorse
Default

What's the output of:
su - zimbra
postconf | grep mail_owner
Reply With Quote
  #7 (permalink)  
Old 07-11-2008, 07:17 AM
Active Member
 
Join Date: May 2007
Location: Calgary
ZCS Version: 4.5.11 on CentOS 5.2
Posts: 49
newmember is on a distinguished road
Default

Code:
[root@mail root]$ su - zimbra
[zimbra@mail root]$ postconf | grep mail_owner
mail_owner =
[zimbra@mail root]$
Reply With Quote
  #8 (permalink)  
Old 07-16-2008, 08:52 AM
Active Member
 
Join Date: May 2007
Location: Calgary
ZCS Version: 4.5.11 on CentOS 5.2
Posts: 49
newmember is on a distinguished road
Default

Just bumping
Reply With Quote
  #9 (permalink)  
Old 07-19-2008, 04:14 PM
Member
 
Join Date: Aug 2007
Location: Delaware USA
ZCS Version: zcs-4.5.6_GA_1044.FC4 / FC4
Posts: 24
ljramos is on a distinguished road
Send a message via Yahoo to ljramos
Default

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

[root@d ~]# su - zimbra -c 'postconf | grep mail_owner'
mail_owner = postfix
Reply With Quote
  #10 (permalink)  
Old 07-29-2008, 11:44 AM
Junior Member
 
Join Date: Nov 2007
Posts: 4
superbob is on a distinguished road
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?
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
GroupWise migration experience nrc Migration 2 07-31-2008 11:43 PM
[SOLVED] Mail.app POP3 migration to ZCS jpbuse Migration 6 04-23-2008 03:38 PM
[SOLVED] GroupWise 7.0.2 migration Rich Graves Migration 38 04-17-2008 05:13 PM
4.5.11 & 5.0.2 Released! mmorse Announcements 0 02-01-2008 05:12 PM
[SOLVED] Massive migration using imapsync, don't know users passwords dougconley Migration 8 11-15-2007 05:50 PM

Interested in ZCS Network Edition?

Please fill out this brief form so we can follow up with you.

Comcast Customer?

Please read this FAQ.

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and removes this extra sidebar.

Zimbrablog.com

freshmeat.net sourceforge.net The best Java IDE



 

Search Engine Optimization by vBSEO 3.1.0