Results 1 to 7 of 7

Thread: Unable to restore system after being patched

  1. #1
    pgharios is offline New Member
    Join Date
    Sep 2012
    Posts
    4
    Rep Power
    2

    Default Unable to restore system after being patched

    Hi,

    For some reasons when the system (zcs-7.1.4_GA_2555.RHEL5_64) has been patched with the patch (zcs-patch-7.1.4_GA_2568) i am not able to restore the system, if the system is not patched the restore is succesful

    The procedure i am doing is as follow:

    remove zimbra (zcs-7.1.4_GA_2555.RHEL5_64 + zcs-patch-7.1.4_GA_2568)
    install new zimbra (zcs-7.1.4_GA_2555.RHEL5_64)
    apply patch (zcs-patch-7.1.4_GA_2568)
    make sure zimbra maps correctly with UIDs
    su - zimbra zmcontrol stop
    make sure zimbra died
    mv /opt/zimbra /opt/zimbra_old
    rsync -avHK backup /opt/zimbra (the backup here is included with the patch)
    zmfixperms
    apply patch again
    install.sh , upgrade yes


    I am getting a warning that the system will be upgraded from 2568 to 2555 and after it the error: Starting ldap...failed with exit code: 256.

    My question is, how can you restore a patched system using the non-patched installation files? in my case how can you restore GA_2568 when using the GA_2555 package? Thanks

  2. #2
    pgharios is offline New Member
    Join Date
    Sep 2012
    Posts
    4
    Rep Power
    2

    Default

    Corrected Procedure:

    removed zimbra install.sh -u
    install fresh installation
    patch system
    mv /opt/zimbra /opt/zimbra_old1
    rsync -avHK /archive/backup/zimbra/ /opt/zimbra/
    zmfixperms
    start zimbra


    BUT still getting the following error:

    zmcontrol start
    Host
    Starting ldap...Done.
    Failed.
    Failed to start slapd. Attempting debug start to determine error.
    bdb(): PANIC: fatal region error detected; run recovery
    bdb_db_close: database "": txn_checkpoint failed: Invalid argument (22).
    backend_startup_one (type=hdb, suffix=""): bi_db_open failed! (-30974)
    bdb_db_close: database "": alock_close failed
    Last edited by pgharios; 09-17-2012 at 02:30 PM.

  3. #3
    ccelis5215 is offline Elite Member
    Join Date
    Jun 2011
    Location
    Caracas Venezuela
    Posts
    472
    Rep Power
    4

    Default

    Quote Originally Posted by pgharios View Post
    Hi,

    For some reasons when the system (zcs-7.1.4_GA_2555.RHEL5_64) has been patched with the patch (zcs-patch-7.1.4_GA_2568) i am not able to restore the system, if the system is not patched the restore is succesful

    The procedure i am doing is as follow:

    remove zimbra (zcs-7.1.4_GA_2555.RHEL5_64 + zcs-patch-7.1.4_GA_2568)
    install new zimbra (zcs-7.1.4_GA_2555.RHEL5_64)
    apply patch (zcs-patch-7.1.4_GA_2568)
    make sure zimbra maps correctly with UIDs
    su - zimbra zmcontrol stop
    make sure zimbra died
    mv /opt/zimbra /opt/zimbra_old
    rsync -avHK backup /opt/zimbra (the backup here is included with the patch)
    zmfixperms
    apply patch again
    install.sh , upgrade yes


    I am getting a warning that the system will be upgraded from 2568 to 2555 and after it the error: Starting ldap...failed with exit code: 256.

    My question is, how can you restore a patched system using the non-patched installation files? in my case how can you restore GA_2568 when using the GA_2555 package? Thanks
    Don't know if the patch will be an issue, as you stated before, if you restore without it there's no problem...

    Are you doing a Disaster Recovery in another server?

    Anyways, take a look After backup and restore "Starting ldap...failed with exit code 256" .

    Hope it helps.

    ccelis

  4. #4
    pgharios is offline New Member
    Join Date
    Sep 2012
    Posts
    4
    Rep Power
    2

    Default

    It seems the recovery is not possible when a system is patched, one of the zimbra engineers suggested to upgrade to a non patched version, which is really an awkward workaround

    i am still looking for some success stories tor a complete restore of a patched system

  5. #5
    jhon is offline Senior Member
    Join Date
    Sep 2012
    Location
    jhoncarter2030@gmail.com
    Posts
    55
    Rep Power
    2

    Default

    I have patched many time but never face this type of issues. Are you patching it by some shell script or something ?

  6. #6
    pgharios is offline New Member
    Join Date
    Sep 2012
    Posts
    4
    Rep Power
    2

    Default

    Yes indeed, i am using a patch released on Zimbra's website. I installed it from command line installPatch.sh, it is mainly a perl script with some xml modification

    Quote Originally Posted by jhon View Post
    I have patched many time but never face this type of issues. Are you patching it by some shell script or something ?

  7. #7
    jhon is offline Senior Member
    Join Date
    Sep 2012
    Location
    jhoncarter2030@gmail.com
    Posts
    55
    Rep Power
    2

    Default

    Hmm, some other people also have similar issue. Let me try to find root cause.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 09-06-2012, 06:34 AM
  2. My Zimbra Desktop not work after system Restore
    By flipmedia in forum General Questions
    Replies: 0
    Last Post: 04-06-2011, 06:24 AM
  3. My Zimbra Desktop not work after system Restore
    By flipmedia in forum Error Reports
    Replies: 0
    Last Post: 04-06-2011, 06:24 AM
  4. Post System Restore: Some outlook clients not syncing
    By NaughtyusMaximus in forum Zimbra Connector for Outlook
    Replies: 4
    Last Post: 07-28-2009, 02:23 PM
  5. System Restore
    By fast800 in forum Administrators
    Replies: 1
    Last Post: 05-27-2009, 12:28 AM

Posting Permissions

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