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 10-13-2010, 09:02 PM
Intermediate Member
 
Posts: 24
Default Move ZCS to new server

I'm moving ZCS to new server-zimbra

/*


" Method For Open Source Edition Users
* Stop your existing ZCS using "zmcontrol stop".
* Check if no zimbra process is running if so kill that process.
* Do a cold and offline backup of /opt/zimbra directory using rsync command:

# rsync -avHK /opt/zimbra /opt/zimbra.bak

* Copy the zimbra.bak file to the new server. (Please see Talk:Moving_ZCS_to_New_Server)
* On new server, install the same version of ZCS and Keep the "hostname" and "zmhostname" same as old server.
* Stop ZCS on new server using "zmcontrol stop".
* Remove the complete zimbra directory:
# rm -rf /opt/zimbra
* Restore from cold backup using rsync command:
# rsync -avHK /opt/zimbra.bak /opt/zimbra

*/


but error

[zimbra@mail root]$ zmcontrol start
Host mail.greystonevn.com
Starting ldap...Done.
FAILED
mkdir: cannot create directory `/opt/zimbra/openldap/var/run': Permission denied
Failed to start slapd. Attempting debug start to determine error.

please help me
Thanks
Reply With Quote
  #2 (permalink)  
Old 10-13-2010, 10:57 PM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Quote:
Originally Posted by voxuantupc View Post
[zimbra@mail root]$ zmcontrol start
Host mail.greystonevn.com
Starting ldap...Done.
FAILED
mkdir: cannot create directory `/opt/zimbra/openldap/var/run': Permission denied
Failed to start slapd. Attempting debug start to determine error.
Did you fix the permissions on the new server or did you search the forums for this problem (it has been answered before). Search the forums or wiki for 'zmfixperms' and try that.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 10-15-2010, 09:15 PM
Moderator
 
Posts: 1,209
Default

On the new server, did you install Zimbra by appending the -s switch to install.sh when you ran it (i.e. no configuration)?

Also did you check if the UID/GID of the zimbra user on the new machine has been changed to match that of the old server?

Hope that helps,
Mark
__________________
___________________________________
L. Mark Stone, CIO


"Uptime. All the time."

477 Congress Street | Portland, ME 04101-3431 | (207) 772-5678

proactive maintenance and monitoring | technology consulting
Zimbra groupware | EMR implementations | private cloud hosting
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.