Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 32

Thread: How to install Zimbra Debian 3.1 binaries on Debian Etch 4.0 [Workaround]

  1. #11
    plang is offline New Member
    Join Date
    Mar 2007
    Location
    Switzerland
    Posts
    3
    Rep Power
    8

    Default

    Right! I'm using an AMD64 kernel... I'll try to compile everything from source. Thanks for your help.

    Regards,

    Philippe Lang

  2. #12
    bobthebuilder is offline Intermediate Member
    Join Date
    Apr 2007
    Posts
    15
    Rep Power
    7

    Default

    cant you get around this with just installing the 32bit lib's?

  3. #13
    plang is offline New Member
    Join Date
    Mar 2007
    Location
    Switzerland
    Posts
    3
    Rep Power
    8

    Default

    I'm not sure how to install 32bits libs under and AMD64 kernel. Is that possible maybe?

  4. #14
    bobthebuilder is offline Intermediate Member
    Join Date
    Apr 2007
    Posts
    15
    Rep Power
    7

    Default

    thought there should be no issues i have ago over the weekend with Debian Etch 64bit.

  5. #15
    xtin is offline Member
    Join Date
    Apr 2007
    Posts
    13
    Rep Power
    8

    Default

    Read this: http://www.debian-administration.org/articles/356

    But why not just install a 32bit kernel? where's the point of letting run a server in 64bit mode when the main application is in 32bit?
    Last edited by xtin; 05-01-2007 at 06:59 AM.

  6. #16
    bobthebuilder is offline Intermediate Member
    Join Date
    Apr 2007
    Posts
    15
    Rep Power
    7

    Default

    there is a difference,

    Vmware server has an speed increased when installed on Debian x64 compard to Debian 32bit.

  7. #17
    volksman is offline Junior Member
    Join Date
    May 2007
    Posts
    5
    Rep Power
    7

    Default

    This method also works for Ubuntu 7.04. Uninstall seems to work properly too. I installed and uninstalled about 10 times last night after making a few mistakes and realizing how in depth it affects the server (had mysql, apache and a few other services already running).

  8. #18
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    11

    Default

    Here's a way to do 64bit without chroot:

    HOWTO: Ubuntu 64bit Install

  9. #19
    fdsadmin is offline Member
    Join Date
    May 2007
    Location
    England
    Posts
    13
    Rep Power
    7

    Default

    Hi,

    I'd like to thank those who put together the initial HOW-TO for Debian Etch, it was very useful.

    I am now running Zimbra 4.5.6 OpenSource Edition on Debian Etch (stable), everyone (all 11 of us) at my company is very happy with the new mail server :-)

    We netboot install our servers automatically from a local mirror of the Debian Etch 4.0 Network Install CD with a post install script which configures each server for its assigned role. I found that I needed some extra packages to satisfy completely Zimbra when installing from the Debian Etch 4.0 Network Install CD, below is the basic ZImbra install script and some notes, most of which have been collected from posts elsewhere on these forums or the wiki.

    The Script

    The following packages were required to keep Amavis happy.

    • file arc arj bzip2 cabextract devscripts lha lzop unrar rpm tnef zoo


    The following packages were required to keep Spam Training happy. See /opt/zimbra/log/spamtrain.log for finding errors.

    • libdigest-sha1-perl libhtml-parser-perl


    Any other packages installed are required to satisfy the Zimbra installer or provide essential system tools.

    Code:
    #!/bin/sh
    
    # Install pre-requistes
    apt-get -y --force-yes install file arc arj bzip2 cabextract devscripts lha lzop perl unrar rpm tnef zoo libdigest-sha1-perl libhtml-parser-perl
    apt-get -y --force-yes install sudo curl fetchmail libgmp3c2 libssl0.9.7 libdb3 libxml2 libpcre3 libexpat1 libstdc++5
    cd /root
    
    # Download Zimbra
    wget -c http://kent.dl.sourceforge.net/sourceforge/zimbra/zcs-4.5.6_GA_1044.DEBIAN3.1.tgz -O /mnt/scripts/00packages/zcs-4.5.6_GA_1044.DEBIAN3.1.tgz
    tar zxvf /mnt/scripts/00packages/zcs-4.5.6_GA_1044.DEBIAN3.1.tgz
    cd zcs
    
    # Make Etch appear to be Sarge
    echo '3.1' > /etc/debian_version
    
    # Backup files we are going to patch
    cp util/utilfunc.sh util/utilfunc.sh.org
    
    # Patch Zimbra installer
    echo Patching util/utilfunc.sh
    sed 's/PLATFORM = "UBUNTU6" ]/PLATFORM = "UBUNTU6" -o $PLATFORM = "DEBIAN3.1" ]/' util/utilfunc.sh > /tmp/utilfunc.sh ; mv /tmp/utilfunc.sh util/utilfunc.sh
    
    # Install
    ./install.sh
    
    # Restore the Etch version
    echo '4.0' > /etc/debian_version
    Post Install Hacks

    These a not essential fixes, they just ensure the some of the scripts return values that are accurate.

    get_plat_tag.sh

    This fix just ensures that Debian 3.1 is returned as the detected OS, even though we actually are running on Debian 4.0. We are running Debian 3.1 Zimbra packages so this just keeps things consistent.

    Code:
    vi /opt/zimbra/libexec/get_plat_tag.sh
    Find...

    Code:
    if [ -f /etc/debian_version ]; then
           grep "3.1" /etc/debian_version > /dev/null 2>&1
           if [ $? = 0 ]; then
                   echo "DEBIAN3.1"
                   exit 0
           fi
    fi
    ...and add the following afterward...

    Code:
    if [ -f /etc/debian_version ]; then
           grep "4.0" /etc/debian_version > /dev/null 2>&1
           if [ $? = 0 ]; then
                   echo "DEBIAN3.1"
                   exit 0
           fi
    fi
    zmdumpenv

    zmdumpenv produces a report system report for Zimbra server, currently it handles package detection for MacOSX and then falls back to rpm (Redhat). To fix it for dpkg (Debian) do the following...

    Code:
    vi /opt/zimbra/bin/zmdumpenv
    Find...

    Code:
    if [ x$P = "xMACOSX" -o "x$P" = "xMACOSXx86" ]; then
           ls -ld /Library/Receipts/zimbra-*
    else
           rpm -qi zimbra-core
    fi
    ...and replace it with..

    Code:
    if [ x$P = "xMACOSX" -o "x$P" = "xMACOSXx86" ]; then
           ls -ld /Library/Receipts/zimbra-*
    elif [ "x$P" = "xUBUNTU6" -o "x$P" = "xDEBIAN3.1" ]; then
           dpkg -s zimbra-core
    else
           rpm -qi zimbra-core
    fi
    Thanks to everyone who has contributed tips and tricks for running Zimbra on Debian Etch 4.0. I hope the above is also useful to someone and that we see an official Zimbra release for Debian Etch 4.0 sometime soon ;-)

  10. #20
    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 fdsadmin View Post
    Thanks to everyone who has contributed tips and tricks for running Zimbra on Debian Etch 4.0. I hope the above is also useful to someone and that we see an official Zimbra release for Debian Etch 4.0 sometime soon ;-)
    It's planned for Release 5, bug 15984.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Page 2 of 4 FirstFirst 1234 LastLast

LinkBacks (?)

  1. 09-10-2007, 05:13 AM

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 7
    Last Post: 01-24-2007, 11:03 PM
  2. huge log size
    By rmvg in forum Administrators
    Replies: 5
    Last Post: 01-02-2007, 10:39 AM
  3. Services stopped working
    By lilwong in forum Administrators
    Replies: 4
    Last Post: 08-15-2006, 09:19 AM
  4. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 PM
  5. Monitoring : Data not yet avalaible
    By s3nz3x in forum Installation
    Replies: 7
    Last Post: 11-30-2005, 07:18 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
  •