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, 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 08-16-2008, 02:07 PM
Intermediate Member
 
Posts: 22
Default From 32 to 64 bit

Hi,

I have a Zimbra Server 5.0.7 on a Centos 5.2, 32 bit (hostname : tata.test.com)
And I want to install it on another machine Centos 5.2, 32 bit (hostname : yoyo.test.com)

Firs, I download the 5.0.7 x86_64 version of Centos 5, and install it with :
./install.sh -s -platform-override
then, I removed /opt/zimbra
and import my old backup and extract it to /opt/zimbra
then I fixed permissions:
/opt/zimbra/libexec/zmfixperms
And reinstall the 64 bit version of Zimbra, asking for an upgrade
./install.sh -s --platform-override
then :
su - zimbra
zmcontrol stop
/opt/zimbra/libexec/zmsetservername yoyo.test.com

for f in `grep -l tata.test.com /opt/zimbra/conf/*`; do echo "fixing $f"; perl -pi.bak -e 's/tata.test.com/yoyo.test.com/g' $f; done

And finaly, I get this error :

[zimbra@yoyo ~]$ zmcontrol start
Host yoyo.test.com
Starting ldap...Done.
FAILED
audit_log_user_command(): Connection refused
audit_log_user_command(): Connection refused
audit_log_user_command(): Connection refused
audit_log_user_command(): Connection refused
audit_log_user_command(): Connection refused
audit_log_user_command(): Connection refused
audit_log_user_command(): Connection refused
Failed to start slapd. Attempting debug start to determine error.
bdb_db_close: txn_checkpoint failed: Invalid argument (22)
backend_startup_one: bi_db_open failed! (22)
bdb_db_close: alock_close failed

So Zimbra doesn't start.
Could you help me ?

Thanks
Reply With Quote
  #2 (permalink)  
Old 08-17-2008, 03:42 AM
Intermediate Member
 
Posts: 22
Default

So, I've tried to add a local dns record for tata.test.com, and reinstall all
but that doesn't solve any problem, I get

Starting ldap...Done.
FAILED
audit_log_user_command(): Connection refused
audit_log_user_command(): Connection refused
audit_log_user_command(): Connection refused
audit_log_user_command(): Connection refused
audit_log_user_command(): Connection refused
audit_log_user_command(): Connection refused
audit_log_user_command(): Connection refused
Failed to start slapd. Attempting debug start to determine error.
bdb_db_close: txn_checkpoint failed: Invalid argument (22)
backend_startup_one: bi_db_open failed! (22)
bdb_db_close: alock_close failed

PS : The gid and uid are the same.
Reply With Quote
  #3 (permalink)  
Old 08-17-2008, 07:33 AM
Moderator
 
Posts: 1,554
Default

You need to read this Network Edition: Moving from 32-bit to 64-bit Server - Zimbra :: Wiki it's a bit tougher than a simple server to server move.
Reply With Quote
  #4 (permalink)  
Old 08-17-2008, 08:09 AM
Intermediate Member
 
Posts: 22
Default

I've forgotten to say that I use the community version. Is that a problem ?
Reply With Quote
  #5 (permalink)  
Old 08-17-2008, 08:10 AM
Intermediate Member
 
Posts: 22
Default

And there is that :
"Make sure that you configure the same domain, hostname, passwords as on the old server"

written in the wiki, but I have two differents hostnames
Reply With Quote
  #6 (permalink)  
Old 08-17-2008, 08:13 AM
Moderator
 
Posts: 1,554
Default

I've never used the oss version, but i woul imagine most of hte instructions would be teh same.

the two servers should have the same hostname
Reply With Quote
  #7 (permalink)  
Old 08-17-2008, 08:15 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Quote:
Originally Posted by taenia View Post
written in the wiki, but I have two differents hostnames
You can't have two hostnames for your server. What does the following command show (when run on the zimbra server):

Code:
host `hostname`  <-- copy/paste that command to a terminal
__________________
Regards


Bill
Reply With Quote
  #8 (permalink)  
Old 08-17-2008, 08:23 AM
Intermediate Member
 
Posts: 22
Default

I've one hostname for the old server (tata.test.com), and an other, different for the new one (yoyo.test.com).
That's why I said that I've two hostname.
Reply With Quote
  #9 (permalink)  
Old 08-17-2008, 09:08 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Quote:
Originally Posted by taenia View Post
I've one hostname for the old server (tata.test.com), and an other, different for the new one (yoyo.test.com).
That's why I said that I've two hostname.
Well, as bdial has already said, the new server needs to have the same name as the old one. It will not work unless the hostname is the same.
__________________
Regards


Bill
Reply With Quote
  #10 (permalink)  
Old 08-17-2008, 09:10 AM
Intermediate Member
 
Posts: 22
Default

Ah...
But here : it is shown, that there are ways to change the hostname.
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.