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

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-09-2006, 06:27 PM
Intermediate Member
 
Posts: 15
Default Moving Zimbra

I'm trying to move zimbra from it's current location. I'm following these instructions from the wiki to make a backup and then restore it into it's new location.

http://wiki.zimbra.com/index.php?tit...ckup_Procedure

I've followed the instructions of stopping zimbra and copying the files. When I try run it it doesn't work. When I try to do the upgrade as stated on the wiki, it gives me the "UPGRADE FAILED - exiting" error. I'ved tried restarting the script and I continue to receive the same error. Any suggestions?

Nadia
Reply With Quote
  #2 (permalink)  
Old 10-10-2006, 09:32 AM
Zimbra Employee
 
Posts: 4,792
Default

Any clues in the install/upgrade logs? /tmp/zmsetup* and /tmp/install*
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #3 (permalink)  
Old 10-10-2006, 10:36 AM
Intermediate Member
 
Posts: 15
Default

Sry, I don't mean to give such a vague description. Here is what's happening.

I'm adding a new hdd. I've partitioned it and have used LVM to set the logical volume on it. Now that I have added the drive to my PC, I wanted to simply mount my new drive to /opt/zimbra so that I can have all my zimbra files in a seperate drive.

- First things first. I sudo su zimbra and did a zmcontrol stop. Made sure everything was stopped before doing anything.
- I then mounted the new drive to a new folder called /opt/zimbra2, then did a sudo cp -rp /opt/zimbra/* /opt/zimbra2
- This did move all the files from the working /opt/zimbra folder to the new hdd.
- I then unmounted my new hdd and renamed my original /opt/zimbra to /opt/zimbra-original and renamed my /opt/zimbra2 to /opt/zimbra and remounted the drive to the new /opt/zimbra dir.
- I added the mounting parameters on my /etc/fstab.
- I then restarted my PC, when I tried switching to sudo su zimbra and typed zmcontrol start, it would tell me that it didn't recognize that command.
- Since that didn't work, I considered doing the "Upgrade" to see if that would correct the problem, but all I get shortly after it tries to stop services for the second time doing the upgrade it throws a "UPGRADE FAILED - exiting" error. I've checked the logs and it says the exact same thing.

Is there an easier way that I can move my zimbra to the new drive?

Nadia
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.