Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: Upgrade from 5.0.11 to 5.0.12 corrupted everything

  1. #11
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Quote Originally Posted by uxbod View Post
    John, would you recommend shutting down ZCS manually and ensuring all processes have been cleaned up before running the upgrade ? This is what I have always done and have never experienced a problem. I have not checked the install.sh script as to whether it kills all old processes off itself.
    Ya, that's a good idea. There is a possiblility you had a zombie proc...

    It's probably not related to the logger issue, as I would think that the zimbra-logger package would stop.

  2. #12
    axel is offline Intermediate Member
    Join Date
    Feb 2009
    Posts
    19
    Rep Power
    6

    Default

    Hi,

    I tried to do again the experience on a test server, and I have the same error that makes absolutely impossible (at least for me) to upgrade/uninstall/reinstall Zimbra. I don't know exactly what happens but here are some elements.

    What I did:
    - install 5.0.11
    - uninstall it: sh install.sh -u
    - reinstall it: sh install.sh

    What happens:
    - the install fails when installing zimbra-core
    - when I try a manual install of this package, it blocks when displaying unpacking zimbra-core
    - it's impossible to uninstall zimbra-core manually with apt-get or dpkg (message saying that zimbra-core is in an incoherent state and that I have first to reinstall it)
    - in logs (zimbra logs, dmesg, /var/log/syslog, /var/log/messages) I can see nothing special

    If someone has an idea I would be really really interested to understand what happens, since I wasn't able to do any upgrade of Zimbra successfully (I had each time to reformat the server and reinstall the OS to clean up everything).

    I have time to investigate with you since it's a test server. What's important for me is to understand and be able to upgrade properly ma production server next time.

    Many thanks in advance for your help !

  3. #13
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    What are the specs of your test server ? Are you running with at least 1GB of RAM ???

  4. #14
    axel is offline Intermediate Member
    Join Date
    Feb 2009
    Posts
    19
    Rep Power
    6

    Default

    Hi uxbod

    Thanks for your very fast answer

    My server is a small one (test server) with 1GB RAM.
    When installed it works perfectly, problems occur only when upgrading / reinstalling
    I have had the same problems on a bigger production server (4-Xeon and 4GB RAM).

    The problem is the same with 2 different servers...

    If it interests you to play with the server, I can give you by private message the login/password for ssh access. Just tell me.

    Thanks again !

  5. #15
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    I do not understand the steps you have taken above but the order I follow is :-

    1) /etc/init.d/zimbra stop
    2) ps aux | grep zimbra
    3) Kill off any zombie processes from step 2
    4) Backup /opt/zimbra
    5) cd ~
    6) tar zxvf zcs*.tar.gz
    7) cd zcs*
    8) ./install.sh

    What O/S are you running aswell ?

  6. #16
    axel is offline Intermediate Member
    Join Date
    Feb 2009
    Posts
    19
    Rep Power
    6

    Default

    It's exactly what I did (except the first time I forgot to kill remaining zimbra processes)

    I use Debian 4.0 etch

  7. #17
    axel is offline Intermediate Member
    Join Date
    Feb 2009
    Posts
    19
    Rep Power
    6

    Default

    Here is where it freezes each time:

    Code:
    # ./install.sh
    
    Operations logged to /tmp/install.log.4890
    Checking for existing installation...
        zimbra-ldap...NOT FOUND
        zimbra-logger...NOT FOUND
        zimbra-mta...NOT FOUND
        zimbra-snmp...NOT FOUND
        zimbra-store...NOT FOUND
        zimbra-apache...NOT FOUND
        zimbra-spell...NOT FOUND
        zimbra-proxy...NOT FOUND
        zimbra-archiving...NOT FOUND
        zimbra-convertd...NOT FOUND
        zimbra-cluster...NOT FOUND
        zimbra-core...FOUND zimbra-core-5.0.11_GA_2695.DEBIAN4.0
    ZCS upgrade from 5.0.11 to 5.0.11 will be performed.
    
    Saving existing configuration file to /opt/zimbra/.saveconfig
    
    
    PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.
    ZIMBRA, INC. ("ZIMBRA") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU
    FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING
    THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY
    THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS
    AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.
    
    License Terms for the Zimbra Collaboration Suite:
      http://www.zimbra.com/license/zimbra_public_eula_2.1.html
    
    
    Press Return to continue
    
    Checking for prerequisites...
         FOUND: NPTL
         FOUND: sudo-1.6.8p12-4
         FOUND: libidn11-0.6.5-1
         FOUND: fetchmail-6.3.6-1etch1
         FOUND: libpcre3-6.7+7.4-4
         FOUND: libgmp3c2-2:4.2.1+dfsg-4
         FOUND: libexpat1-1.95.8-3.4
         FOUND: libxml2-2.6.27.dfsg-6
         FOUND: libstdc++6-4.1.1-21
         FOUND: openssl-0.9.8c-4etch4
         FOUND: libltdl3-1.5.22-4
    Checking for suggested prerequisites...
        FOUND: perl-5.8.8
    Prerequisite check complete.
    
    Checking for installable packages
    
    Found zimbra-core
    Found zimbra-ldap
    Found zimbra-logger
    Found zimbra-mta
    Found zimbra-snmp
    Found zimbra-store
    Found zimbra-apache
    Found zimbra-spell
    Found zimbra-proxy
    
    
    The Zimbra Collaboration Suite appears already to be installed.
    It can be upgraded with no effect on existing accounts,
    or the current installation can be completely removed prior
    to installation for a clean install.
    
    Do you wish to upgrade? [Y] N
    
    
    Select the packages to install
    
    Install zimbra-ldap [Y]
    
    Install zimbra-logger [Y]
    
    Install zimbra-mta [Y]
    
    Install zimbra-snmp [Y]
    
    Install zimbra-store [Y]
    
    Install zimbra-apache [Y]
    
    Install zimbra-spell [Y]
    
    Install zimbra-proxy [N]
    Checking required space for zimbra-core
    checking space for zimbra-store
    
    Installing:
        zimbra-core
        zimbra-ldap
        zimbra-logger
        zimbra-mta
        zimbra-snmp
        zimbra-store
        zimbra-apache
        zimbra-spell
    
    The system will be modified.  Continue? [N] Y
    
    Shutting down zimbra mail
    
    Removing existing packages
    
       zimbra-core...done
    
    Removing deployed webapp directories
    
    Removing /opt/zimbra
    Removing zimbra crontab entry...done.
    done.
    Cleaning up zimbra init scripts...done.
    Cleaning up /etc/ld.so.conf...done.
    Cleaning up /etc/security/limits.conf...done.
    
    Finished removing Zimbra Collaboration Suite.
    
    Installing packages
    
        zimbra-core......zimbra-core_5.0.11_GA_2695.DEBIAN4.0_i386.deb...

  8. #18
    axel is offline Intermediate Member
    Join Date
    Feb 2009
    Posts
    19
    Rep Power
    6

    Default

    Hi

    I finally found what was blocking the update !

    I installed samba, libnss-ldap, libpam-ldap in order to sychronise everything with zimbra, and use also my server to share files.

    If i force the cleanup with dpkg --force-all -r zimbra-core, uninstall manually zimbra following the wiki, and if I uninstall samba, libnss-ldap, and libpam-ldap then zimbra can be installed as usually.

    The problem comes from these 3 packages.

    So my question is: does it mean that we have to remove these 3 packages for each Zimbra upgrade ? Or I am doing something false ?

    Many thanks for your help !

  9. #19
    timwiel is offline Active Member
    Join Date
    Mar 2007
    Posts
    39
    Rep Power
    8

    Default

    Quote Originally Posted by axel View Post
    Good question ! It's indeed interesting to know
    If so what kill syntax do you recommend ?
    root@host:~# su zimbra
    zimbra@host:~$ zmcontrol stop
    zimbra@host:~$ exit

    root@host:~# ps auxww | awk '{print $1" "$2}' | grep zimbra | kill -9 `awk '{print $2}'`


    this is as per Open Source Edition Backup Procedure - Zimbra :: Wiki - would I be correct?

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] 5.0.11 -> 5.0.12 Upgrade failed (SSLeay.so)
    By bards1888 in forum Installation
    Replies: 30
    Last Post: 04-26-2010, 07:56 AM
  2. Replies: 7
    Last Post: 02-15-2010, 08:55 PM
  3. [SOLVED] 5.0.11 to 5.0.12 Upgrade Fails (Stop failed)
    By Mccreations in forum Installation
    Replies: 11
    Last Post: 03-31-2009, 07:05 AM
  4. Replies: 10
    Last Post: 03-23-2009, 08:29 AM
  5. Upgrade from 5.0.11 to 5.0.12 stomping on themes
    By jhheider in forum Administrators
    Replies: 2
    Last Post: 02-02-2009, 02:15 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
  •