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 12-06-2010, 07:26 AM
New Member
 
Posts: 3
Default [SOLVED] Database corruption after rsync

hi to all
I need some help to make a safe copy of zimbra NE server.
My problem is this:
I make a new server identical to old server (Operatin System and version of ZCS) use the appropriate procedure (install whit -s option && remove the /opt/zimbra).
I copy all data from old server (zmcontrol stop && rsync of /opt/zimbra) to external HDD mounted on.
I copy all data from external HDD to new server on same position.
I rerun the installation script whitout -s option but...
... when the script verify the store database all file are corrupt.
But the original database are ok.
therfore when the new system go up all services are ok but zmmailbx are down whit database error.
...

thanks so much for all
matteo
Reply With Quote
  #2 (permalink)  
Old 12-06-2010, 08:16 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

This is not thesame problem as the thread you've originally posted to, I'll move this into a new thread.

What, exactly, are you trying to do? Have you looked in the wiki (or searched the forums) for details on how to move a server to another server? There are plenty of articles that cover what you're trying to do. When you get a problem or have a question, you should post exact details of the steps you've taken to arrive at the problem and any errors you find in the log files.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 12-06-2010, 08:52 AM
New Member
 
Posts: 3
Default

i'm sorry is my first post .. and my english is soo poor..
The I try to move the server (to simulate to restore all data to new server) whit this procedure: Moving ZCS to Another Server » Zimbra :: Blog.
I read many wiki in this forum and the exact step are:

1) copy all data from old server to external lan disk (for external disk I use one ubuntu server whit nfs sharing) whit the command rsync -avH /opt/zimbra /backup
2) create a new identical server (ubuntu 8.04 - 64bit) and install exactly version of ZCS whit the command ./install.sh -s
4) remove the installation whit rm -r /opt/zimbra
5) copy all data from backup to /opt/zimbra on new server (rsync -avH /backup /opt/zimbra)
6) run zmfixperms to fix permission on file
7) rerun install script whitout the -s option
.. when the scrit ask if I want to check the message store database I reply yes and then found databse corrupt on all file.
If I execute zmdbintegrityreport -v :

Database errors found.
/op/zimbra/mysql/bin [bla bla bla]
Error: Incorrect information in file : ' ./mboxgroup1/appointment.frm'
error: Corrupt
mboxgroup1.data_source_item

This for many many table (all I think)

I try to reply the log but it's complicate because all sistem are vitual..
Reply With Quote
  #4 (permalink)  
Old 12-06-2010, 09:28 AM
New Member
 
Posts: 3
Default

I solved the problem,.. the question are simple,.. i'm a big stupid. I don't remember that the old server are 8Gb of RAM and the new server (virtual) are only 1Gb..
On mysql_error log are :
Error: cannot allocare xxxxxxxx byte of memory whit malloc! The total memory allocated xxxxx

i'm sorry for this thread..
thanks soo much for your reply
best regards
matteo
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.