Page 1 of 4 123 ... LastLast
Results 1 to 10 of 32

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

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

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

    Original Post: Debian ETCH 4.0 install
    Before you start, *setup your DNS*. Zimbra install is very sensitive to correct DNS setup, particularly /etc/hosts and forward resolution of the hostname you are installing on as returned from hostname. Search wiki/forum for correct DNS setup.

    change /etc/debian_version to 3.1
    apt-get install sudo curl fetchmail libgmp3c2 libssl0.9.7 libdb3
    chmod a+rwx /tmp

    tar -xzf
    cd zcs/

    clean out previous attempts:
    sh install -u
    rm -rf /opt/zimbra
    rm /tmp/install*
    rm /tmp/zmsetup*
    rm /tmp/*zim*

    change util/utilfunc.sh
    if [ $PLATFORM = "UBUNTU6"]; then
    to
    if [ $PLATFORM = "UBUNTU6" -o $PLATFORM = "DEBIAN3.1" ]; then

    sh install.sh

    Strangely detects hostname as domainname (never quite understood why it does this). Select 'Yes' for "Change domain name", change to domainname "domain.com" instead of "host.domain.com"

    If you haven't set your MX yet, ignore (you'll need to set this later but its fine for install):
    DNS ERROR - none of the MX records for ijichi.org
    resolve to this host
    It is suggested that the MX record resolve to this host
    Re-Enter domain name? [Yes]
    ^^ Choose "No"

    Install Menu: Choose 6 for zimbra-store, 4 for Admin Password, enter password, 'r' or for previous menu, 'a' to apply, Enter for next two questions:
    Save configuration data to a file? [Yes]
    Save config in file: [/opt/zimbra/config.15938]
    Then 'Yes' for: The system will be modified - continue? [No] yes

    Checkout output carefully for *any* errors, should install fine.

    You can change /etc/debian_version back to 4.0 after install but you'll have to change it for each upgrade
    I suggest so makes this thread sticky. The above Posting is hidden somewhere in another thread and it would have saved me a lot of trouble had i found it right at the beginning!
    Last edited by xtin; 04-14-2007 at 11:44 AM.

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

    Default

    Before I do, can you post:
    sudo dpkg -l | grep zimbra
    zmdumpenv
    ?

    I've seen some serious issues with the package management on etch, and I want to make sure they're resolved before I stick this.

    Thanks
    john

    (PS, If you want, you can e-mail them to me jholder@zimbra.com if you're worried about security)

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

    Default

    Perfect!
    This worries me tho:
    Code:
    /opt/zimbra/bin/zmdumpenv: line 55: rpm: command not found
    The dpkg is good though.

    I'm gonna stick this cause it's cool, and we like testers; however, I have to give you this warning:
    These changes may cause some future problems with upgrades, and the uninstaller probably won't work right.

    Have fun!

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

    Default

    I am running zimbra in a xen domU environment and there's no nptl in the debian 3.1 version. Therefore I have to use etch. (Unless there's a way to get nptl running - didn't find a easy one though )

    As Debian 4.0 has been released it'd be a smart move to release 4.0 zimbra binaries. Debian is one of the most used and most stable linux server distros around.

    I wouldn't worry about the missing rpm command - there's none. Debian's using apt-get/dpkg for package management!

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

    Default

    Well, it doesn't seem that they've fixed that nasty redo.log permissions bug. It's not a zimbra bug, but a debian bug. Until they fix it, We won't have a NE build of debian.

    Also, I know that they use apt for pkg management. It doesn't worry me that it says RPM, it worries me that the script is calling the RPM command.

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

    Default

    Hi

    To get NPTL on debian 3.1, just install any 2.6 kernel, you get nptl at special offer, no extra charge. FWIW, I'm still seeing the kernel permissions bug under DEBIAN3.1 even with the latest uptodate 2.6 kernel, and it affects mailboxes as well as redolog, but I haven't seen any similar problems under DEBIAN 4.0.

    The rpm thing is just the zmdumpenv only currently handles OSX, and then falls back to rpm as default. To fix it for dpkg, change:

    if [ x$P = "xMACOSX" -o "x$P" = "xMACOSXx86" ]; then
    ls -ld /Library/Receipts/zimbra-*
    else
    rpm -qi zimbra-core
    fi
    to

    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
    BTW jholder you're right, it doesnt update to 4.5.4 properly!

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

    Default

    I couldn't get NPTL for Debian 3.1 in a XEN Environment. I was running kernel 2.6.18 without it. But maybe I am missing something...

    As Debian 4.0 is now officially released, it's time to release a 4.0 binary

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

    Default

    In order to upgrade DEBIAN4 from 4.5.3 to 4.5.4, I had to do the following:

    *** TAKE A BACKUP OF /opt/zimbra ***

    make sure /etc/debian_release says 3.1
    apt-get install libstdc++5
    tar -xzf zcs-4.5.4_GA_763.DEBIAN3.1.tgz
    cd zcs
    edit util/utilfunc.sh
    change util/utilfunc.sh
    if [ $PLATFORM = "UBUNTU6"]; then
    to
    if [ $PLATFORM = "UBUNTU6" -o $PLATFORM = "DEBIAN3.1" ]; then

    run install.sh

    it fails doing the upgrade - zmsetup.pl doesn't detect last installed version so the upgrade portion of the script fails, as it doesn't know what version to upgrade from.

    you can however get it working, by removing all lines in /opt/zimbra/.install_history after this:
    0000000000: INSTALL SESSION START
    0000000000: INSTALLED
    0000000000: INSTALL SESSION COMPLETE
    0000000000: CONFIG SESSION START
    0000000000: CONFIGURED BEGIN
    0000000000: CONFIGURED END
    0000000000: CONFIG SESSION COMPLETE

    and running /opt/zimbra/libexec/zmsetup.pl - it does a 'fresh' install but all your data and settings should still be intact. You did take a backup, right?

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

    Default

    [QUOTE=xtin;43581]Original Post: Debian ETCH 4.0 install

    Hi,

    I have tried to follow the install procedure for Etch, but unfortunately, install fails here:

    --------------------

    Checking for prerequisites...
    NPTL...FOUND
    sudo...FOUND sudo-1.6.8p12-4
    libidn11...FOUND libidn11-0.6.5-1
    curl...FOUND curl-7.15.5-1
    fetchmail...FOUND fetchmail-6.3.6-1
    libpcre3...FOUND libpcre3-6.7-1
    libgmp3c2...FOUND libgmp3c2-2:4.2.1+dfsg-4
    libexpat1...FOUND libexpat1-1.95.8-3.4
    libxml2...FOUND libxml2-2.6.27.dfsg-1
    libstdc++6...FOUND libstdc++6-4.1.1-21
    libstdc++5...FOUND libstdc++5-1:3.3.6-15
    openssl...FOUND openssl-0.9.8c-4
    Checking for required space...

    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


    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-spell [Y]

    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

    Removing /opt/zimbra
    Installing packages

    zimbra-core......zimbra-core_4.5.4_GA_763.DEBIAN3.1_i386.deb...FAILED
    ###ERROR###

    zimbra-core_4.5.4_GA_763.DEBIAN3.1_i386.deb installation failed

    Installation cancelled

    --------------------

    Will Debian Etch be supported for the open-source version of Zimbra, or will it be dropped, like in the network version of Zimbra?

    Regards,

    Philippe Lang

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

    Default

    I guess you are trying to install Zimbra on a AMD64 kernel. This will not work! The binaries are i386 only.
    To resolve this, you'll either have to install a 32bit Kernel or compile Zimbra from source.

    If you're installing on a 32bit OS and you're still get this error, please post the logfile produced during the install.

    (And please paste lenghty output from the console or logfiles within [ code] [ /code] (whitout the whitespaces after the [.) tags. This will make the thread shorter and hence we have to scroll less. Thx)

Page 1 of 4 123 ... LastLast

LinkBacks (?)

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

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 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
  •