Results 1 to 9 of 9

Thread: ZCS 5.0.11.2695 Disaster Recovery

  1. #1
    pramod.k29 is offline Junior Member
    Join Date
    Apr 2011
    Posts
    6
    Rep Power
    3

    Unhappy ZCS 5.0.11.2695 Disaster Recovery

    Hello All,

    We are using ZCS 5.0.11. We have done a disaster recovery step ie, to make an exact replica of the running ZCS server. These are the steps we have done.

    1)Installed Zimbra in a local machine with local IP
    2)Configured DNS in the same system pointing to the same system ie 172.17.5.11

    3)copied the /opt/zimbra folder of the original system ie ,system which is running now with public IP.

    4) Copied that /opt/zimbra directory(From the original one) to the local machine after removing the /opt/zimbra of the local one.

    5)Started the services using zmcontrol startup

    6)All services started without errors.

    But when i typed https://mx.mydomain.com:7071

    its showing a 404 error with url not found.

    URI=/zimbraAdmin.

    Also the client interface is not opening up.

    Please help me how I can get rid of this issue.

    -Pramod.k
    Jr.System Admin

  2. #2
    jorge_s is offline Active Member
    Join Date
    Apr 2011
    Posts
    28
    Rep Power
    3

    Default

    1. have you installed the same Zimbra version?
    2. have you run:
    chown -R zimbra:zimbra /opt/zimbra
    /opt/zimbra/libexec/zmfixperms
    3. have you read:
    Open Source Edition Backup Procedure - Zimbra :: Wiki

  3. #3
    pramod.k29 is offline Junior Member
    Join Date
    Apr 2011
    Posts
    6
    Rep Power
    3

    Default

    I am using Zimbra 5.0.11.2695.

    I have done the following steps correctly
    ************************************************** ***************************
    Disaster Recovery






    sudo -u zimbra /opt/zimbra/bin/zmcontrol shutdown
    mv /opt/zimbra /tmp/zimbra-old



    mkdir /opt/zimbra
    tar zxvf [backup file] -C /opt/zimbra

    .

    tar zxvf [backup file] -C /tmp/zimbra-backup
    cp -Rp /tmp/zimbra-backup /opt/zimbra



    chown -R zimbra:zimbra /opt/zimbra
    /opt/zimbra/libexec/zmfixperms

    * Restart all Zimbra services

    sudo -u zimbra /opt/zimbra/bin/zmcontrol startup
    zmcontrol startup

    ************************************************** ***********************************

    And I am getting the same error URL not found
    HTTP ERROR: 404

    NOT_FOUND

    RequestURI=/


    Powered by jetty://


    ************************************************** ********************************

    Is there something I am missing ????

  4. #4
    jorge_s is offline Active Member
    Join Date
    Apr 2011
    Posts
    28
    Rep Power
    3

    Default

    Have you checked the hosts file and installed a local dns in the "backup server"?

    It is important that they point the domain and it's respective dns to this new server.

    Have you tested if the vanilla installation (before you copy your backup to /opt/zimbra/) shows the web interface?

  5. #5
    pramod.k29 is offline Junior Member
    Join Date
    Apr 2011
    Posts
    6
    Rep Power
    3

    Default

    Yes, I My vanilla installation was working fine. Also my DNS is configured without any probs.

    **************************************************
    dig mydomain.com mx
    **********************************

    ;; ANSWER SECTION:
    mydomain.com. 180 IN MX 10 mx.mydomain.com.

    ;; AUTHORITY SECTION:
    mydomain.com. 180 IN NS ns1.mydomain.com.

    ;; ADDITIONAL SECTION:
    mx.mydomain.com. 180 IN A 172.17.5.11

    ;; Query time: 0 msec
    ;; SERVER: 172.17.5.11#53(172.17.5.11)
    ;; WHEN: Thu Apr 28 02:23:40 2011
    ;; MSG SIZE rcvd: 82
    ************************************************** ***********************************************

    And my host file entry containc 172.17.5.11 mx.mydomain.com mx

    Before the copying all was working fine.

  6. #6
    pramod.k29 is offline Junior Member
    Join Date
    Apr 2011
    Posts
    6
    Rep Power
    3

    Default

    One more thing, I have rsynced the data from the running server ie rsync -av [my public ip]:/opt/zimbra /opt/zimbra_sync/. Is that a problem????

    The server was running live (The orginal server ),Also transactions are being done at the time of rsync
    in brief i have rsynced /opt/zimbra directly from a running server...........


    is that caused the problem?????

  7. #7
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Quote Originally Posted by pramod.k29 View Post
    is that caused the problem?????
    The server needs to be shut down when doing an rsync or the data is not guaranteed to be in a consistent state.

    To confirm your DNS is OK you should go to the 'Verify....' section of the Split DNS article and run all the commands there, it also contains details of the requirements for the hosts file. Your 'new' server will also need the same hostname as the original, I'd suggest you read some of the articles in the forums and wiki on what's needed for a Disaster Recovery.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    pramod.k29 is offline Junior Member
    Join Date
    Apr 2011
    Posts
    6
    Rep Power
    3

    Default

    Hello Phoenix,

    The root not found was with the Version crash that I have installed a higher version of ZCS 5.0. Now I have installed the same version ,but now i am getting this error msg.
    ************************************************** **************************************************
    /opt/zimbra/bin/ldap: line 59: kill: (14827) - No such process
    Failed to start slapd. Attempting debug start to determine error.
    bdb(cn=accesslog): Log sequence error: page LSN 871 4744650; previous LSN 871 9780145
    bdb(cn=accesslog): Recovery function for LSN 871 9783451 failed on forward pass
    bdb(cn=accesslog): PANIC: fatal region error detected; run recovery
    bdb(cn=accesslog): PANIC: fatal region error detected; run recovery
    bdb(cn=accesslog): PANIC: fatal region error detected; run recovery
    bdb(cn=accesslog): PANIC: fatal region error detected; run recovery
    bdb(cn=accesslog): PANIC: fatal region error detected; run recovery
    bdb(cn=accesslog): PANIC: fatal region error detected; run recovery
    bdb(cn=accesslog): PANIC: fatal region error detected; run recovery
    bdb(cn=accesslog): PANIC: fatal region error detected; run recovery
    bdb(cn=accesslog): PANIC: fatal region error detected; run recovery
    bdb(cn=accesslog): PANIC: fatal region error detected; run recovery
    bdb(cn=accesslog): PANIC: fatal region error detected; run recovery
    bdb(cn=accesslog): PANIC: fatal region error detected; run recovery
    bdb(cn=accesslog): PANIC: fatal region error detected; run recovery
    bdb(cn=accesslog): PANIC: fatal region error detected; run recovery
    bdb_db_close: txn_checkpoint failed: Invalid argument (22)
    backend_startup_one: bi_db_open failed! (-30978)
    bdb_db_close: alock_close failed
    ************************************************** ***********************************************

    I have done a DB recovery but that too failed. Cud u pls guide me to next step????

    Thank You
    Pramod.k

  9. #9
    pramod.k29 is offline Junior Member
    Join Date
    Apr 2011
    Posts
    6
    Rep Power
    3

    Default

    hello all,

    Any way to get rid of this...........................?????????????????

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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. Question about redo logs and disaster recovery
    By dlochart in forum Administrators
    Replies: 10
    Last Post: 08-12-2008, 03:40 AM
  3. ZCS 5.0.2 Full Server Recovery
    By Geoff1409 in forum Administrators
    Replies: 1
    Last Post: 03-17-2008, 03:50 AM
  4. Disaster Recovery on a Multi Server Configuration
    By dlochart in forum Administrators
    Replies: 2
    Last Post: 04-14-2007, 05:08 AM
  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
  •