Results 1 to 8 of 8

Thread: Help!!! Moving ZCS does not work!

Hybrid View

  1. #1
    Join Date
    Jan 2009
    Location
    near Munich (Germany)
    Posts
    27
    Rep Power
    6

    Default Help!!! Moving ZCS does not work!

    Hi!

    I'm following the Wiki Post "Moving ZCS to New Server" exactly and get always at the last point an strange situation!

    When I copied the zimbra.bak file to my new server and I entered the command "rsync -avrlHKpogDt /opt/zimbra.bak /opt/zimbra" it runs again for hours and creates an new directory under /opt/zimbra/ called zimbra.bak!

    I did exactly the steps described and allways get the problem it restores it to a wrong directory!

    What did I do wrong?

    Please help. I allready did this step for 4times! It drives me crazy.

    Thanks in advance

    Alex

  2. #2
    Join Date
    Dec 2007
    Location
    Missouri
    Posts
    30
    Rep Power
    7

    Default

    Try adding a trailing slash to both of your directory arguments to rsync:

    rsync -avrlHKpogDt /opt/zimbra.bak/ /opt/zimbra/

    Ron

  3. #3
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Did you remove /opt/zimbra on the new server first as specified in the Wiki ?

  4. #4
    Join Date
    Jan 2009
    Location
    near Munich (Germany)
    Posts
    27
    Rep Power
    6

    Default

    yes i did remove the old zimbra dir.

    i found out there are some error's.

    what confuses me is rsync is not creating one file - it creates another directory called zimbra.bak!!!!

    I'm relative new to linux os so i found this fact very late. (it tooks hours until i realized how to copy the whole directory to the new server).

    why does it create a directory and not a file as described in the faq?

    Please help - I want to migrate really fast because my old system will be returned to another customer.

    thanks

    alex

  5. #5
    Join Date
    Dec 2007
    Location
    Missouri
    Posts
    30
    Rep Power
    7

    Default

    Did you try adding the slashes after the folder names? I tested that with a couple of test folders and it worked right with the trailing slashes, but without them it creates a subdirectory inside the target directory.

  6. #6
    Join Date
    Jan 2009
    Location
    near Munich (Germany)
    Posts
    27
    Rep Power
    6

    Default

    Yes I did try it also with the /

    Now I tried to "copy" the rsync files straight to the new server and I get some strange errors straight from beginning.

    Here's a short dump of it:

    x@sasamuc10:~$ rsync -avrlHKpogDt /opt/zimbra alex@10.0.1.110:/tmp/zcs/
    alex@10.0.1.110's password:
    building file list ... rsync: opendir "/opt/zimbra/data/amavisd/.spamassassin" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/data/postfix/spool/deferred" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/data/postfix/spool/private" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/data/postfix/spool/hold" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/data/postfix/spool/incoming" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/data/postfix/spool/flush" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/data/postfix/spool/maildrop" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/data/postfix/spool/saved" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/data/postfix/spool/public" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/data/postfix/spool/bounce" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/data/postfix/spool/active" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/data/postfix/spool/defer" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/data/postfix/spool/corrupt" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/data/postfix/spool/trace" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/jetty-6.1.5/webapps/service/zimlet" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/jetty-6.1.5/webapps/zimbraAdmin/tmp" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/jetty-6.1.5/work/service" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/jetty-6.1.5/work/zimbra/eb133304-1e22-41aa-9822-f345ea200dc7-incoming" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/jetty-6.1.5/work/zimbra/eb133304-1e22-41aa-9822-f345ea200dc7-deferred" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/jetty-6.1.5/work/zimbra/eb133304-1e22-41aa-9822-f345ea200dc7-hold" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/jetty-6.1.5/work/zimbraAdmin" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/jetty-6.1.5/work/resource-cache" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/zmstat/2009-01-22" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/zmstat/2009-01-30" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/zmstat/2009-01-26" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/zmstat/2009-01-13" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/zmstat/2009-02-03" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/zmstat/2009-01-24" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/zmstat/2009-02-02" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/zmstat/2009-01-21" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/zmstat/2009-01-29" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/zmstat/2009-01-15" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/zmstat/2009-02-11" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/zmstat/2009-01-18" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/zmstat/2009-02-01" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/zmstat/2009-01-19" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/zmstat/pid" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/zmstat/2009-02-07" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/zmstat/2009-01-16" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/zmstat/2009-01-27" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/zmstat/2009-02-04" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/zmstat/2009-02-09" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/zmstat/2009-02-12" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/zmstat/2009-01-31" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/zmstat/2009-01-14" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/zmstat/2009-02-06" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/zmstat/2009-01-28" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/zmstat/2009-01-17" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/zmstat/2009-02-10" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/zmstat/2009-02-08" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/zmstat/2009-01-25" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/zmstat/2009-02-05" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/zmstat/2009-01-23" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/zmstat/2009-01-20" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/db/data" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/ssl/zimbra.20090113133700" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/ssl/zimbra" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/ssl/zimbra.20090113133655" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/store/incoming" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/store/0" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/dspam-3.8.0/var/dspam" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/.saveconfig" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/redolog/archive" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/logger/db/data" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/log/xmppAudit" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/index/0" failed: Permission denied (13)
    rsync: opendir "/opt/zimbra/.ssh" failed: Permission denied (13)



    Any idea?

  7. #7
    Join Date
    Jan 2009
    Location
    near Munich (Germany)
    Posts
    27
    Rep Power
    6

    Default

    everything back!!!
    I did run this command with the "normal" user and not with sudo!

    Now it copies.... let's see if i can move it then on the new server from /tmp/zcs to /opt/zimbra

    I will let you know!

    Alex

  8. #8
    Join Date
    Jan 2009
    Location
    near Munich (Germany)
    Posts
    27
    Rep Power
    6

    Default

    Hi!

    The rsync did work now.
    I did move the /tmp/zcs to /opt/zimbra and resatarted the server but i get now following error:

    -su : /opt/zimbra/log/startup.log: Permission denied

    I'm giving up for today (it's 2:05 am) and will try tomorrow again.

Similar Threads

  1. Trouble Sending mail - All Messages deferred!
    By SiteDiscovery in forum Administrators
    Replies: 7
    Last Post: 09-03-2009, 04:52 AM
  2. Mail is being queued, not delivered!
    By icepick94 in forum Administrators
    Replies: 12
    Last Post: 01-22-2009, 06:03 AM
  3. Moving ZCS from 32bit to 64bit or vice versa ?
    By mark_orion in forum Administrators
    Replies: 1
    Last Post: 08-26-2008, 05:30 AM
  4. Replies: 41
    Last Post: 10-29-2007, 02:36 PM
  5. ZCS 3.2 Beta Available
    By KevinH in forum Announcements
    Replies: 31
    Last Post: 07-07-2006, 03:46 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •