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

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
  #11 (permalink)  
Old 02-03-2009, 08:13 AM
Former Zimbran
 
Posts: 5,606
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.
Reply With Quote
  #12 (permalink)  
Old 02-26-2009, 06:29 AM
Intermediate Member
 
Posts: 19
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 !
Reply With Quote
  #13 (permalink)  
Old 02-26-2009, 06:31 AM
Moderator
 
Posts: 7,928
Default

What are the specs of your test server ? Are you running with at least 1GB of RAM ???
__________________
Reply With Quote
  #14 (permalink)  
Old 02-26-2009, 06:39 AM
Intermediate Member
 
Posts: 19
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 !
Reply With Quote
  #15 (permalink)  
Old 02-26-2009, 06:43 AM
Moderator
 
Posts: 7,928
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 ?
__________________
Reply With Quote
  #16 (permalink)  
Old 02-26-2009, 06:55 AM
Intermediate Member
 
Posts: 19
Default

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

I use Debian 4.0 etch
Reply With Quote
  #17 (permalink)  
Old 02-26-2009, 07:05 AM
Intermediate Member
 
Posts: 19
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...
Reply With Quote
  #18 (permalink)  
Old 02-26-2009, 08:12 AM
Intermediate Member
 
Posts: 19
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 !
Reply With Quote
  #19 (permalink)  
Old 02-26-2009, 01:05 PM
Active Member
 
Posts: 39
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?
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.