Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Centos 64 bit zimbra installation - unable to install zimbra core .

  1. #1
    chenthil is offline Active Member
    Join Date
    Oct 2006
    Location
    India
    Posts
    49
    Rep Power
    8

    Default Centos 64 bit zimbra installation - unable to install zimbra core .

    I am using Centos 64bit installed in vmware . i am trying to install network trial edition in the server . the server has all dependencies . i am using the RHEL64 bit zimbra network edition .

    it is not able to install zimbra core rpm ( rhel 64 rpm ) and it says installation cancalled . i have even given this also
    # ln /usr/bin/libstdc++.so.6 /usr/lib/libstdc++.so.5

    can any 1 help me in this case .
    this is output

    Checking for prerequisites...
    NPTL...FOUND
    sudo...FOUND sudo-1.6.7p5-30.1.3
    libidn...FOUND libidn-0.5.6-1
    libidn-0.5.6-1
    curl...FOUND curl-7.12.1-8
    curl-7.12.1-8
    fetchmail...FOUND fetchmail-6.2.5-6
    gmp...FOUND gmp-4.1.4-3
    gmp-4.1.4-3

    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] y

    Install zimbra-logger [Y] y

    Install zimbra-mta [Y] y

    Install zimbra-snmp [Y] y

    Install zimbra-store [Y] y

    Install zimbra-spell [Y] y

    Installing:
    zimbra-core
    zimbra-ldap
    zimbra-logger
    zimbra-mta
    zimbra-snmp
    zimbra-store
    zimbra-apache
    zimbra-spell
    You appear to be installing packages on a platform different
    than the platform for which they were built

    This platform is CentOS4_64
    Packages found: zimbra-core-4.0.3_GA_406.RHEL4_64-20061016134256.x86_64.rpm
    This may or may not work


    Install anyway? [N] y

    The system will be modified. Continue? [N] y

    Removing /opt/zimbra
    Installing packages

    zimbra-core......zimbra-core-4.0.3_GA_406.RHEL4_64-20061016134256.x86_64.rpm...FAILED
    ###ERROR###

    zimbra-core-4.0.3_GA_406.RHEL4_64-20061016134256.x86_64.rpm installation failed

    Installation cancelled
    Last edited by chenthil; 11-07-2006 at 05:35 AM.

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

    Default

    it is not able to install zimbra core rpm ( rhel 64 rpm ) and it says installation cancalled . i have even given this also
    # ln /usr/bin/libstdc++.so.6 /usr/lib/libstdc++.so.5
    i would really think against doing this sort of thing, find the correct package that provides this dependency. the api almost certainly will have changed between these versions and will not work properly.

  3. #3
    dlochart is offline Advanced Member
    Join Date
    Nov 2006
    Posts
    177
    Rep Power
    8

    Default

    Did you ever resolve this? I just ran into it. I have installed Zimbra successfully 3 times before but this time I have the same error.

    Anybody know what is causing this?

  4. #4
    brian is offline Project Contributor
    Join Date
    Jul 2006
    Posts
    623
    Rep Power
    9

    Default

    Make sure you install both the 32 and 64 bit versions of compat-libstdc++-33. If it still fails, install the zimbra-core package by hand (rpm -i zimbra-core..) and post the error that rpm returns when it fails.

    Unfortunately the installer hides the error returned by rpm.

  5. #5
    dlochart is offline Advanced Member
    Join Date
    Nov 2006
    Posts
    177
    Rep Power
    8

    Default

    Ok, I have verified that both 64 and 32 bit versions of compat-stdc++. I did notice that the package did not remove itself. I actually had to use yum to remove it as rpm said it was not installed when I tried to remove it but said it was installed when I tried to install it.

    Anyway here is the message that I received.

    hostname: Unknown host
    hostname: Unknown host

    Error occurred during initialization of VM
    Dumping a shared archive is not supported on the Server JVM.
    error: %post(zimbra-core-4.0.5_GA_518.RHEL4_64-20061218052454.x86_64) scriptlet failed, exit status 1


    Now the hostname I have is not currently setup in DNS but that should not matter. my /etc/hosts is this

    127.0.0.1 localhost.localdomain localhost
    10.40.120.19 mail.capesafe.com mail
    10.40.120.20 zimbra-dlap.capesafe.com

    This machine is the .20 address.

    I fixed the hostname:unknownhost error by setting using the hostname command but I still get the rest of the error messages


    thanks for the assistance

    Doug
    Last edited by dlochart; 01-11-2007 at 08:10 PM.

  6. #6
    brian is offline Project Contributor
    Join Date
    Jul 2006
    Posts
    623
    Rep Power
    9

    Default

    ah, the postinstall script for the package only knows about RHEL4 in the 4.0.x release. This was fixed in 4.5.x. You can probably get it installed with rpm -i --noscripts zimbra-core..

    Also you'll need to fix the hostname problem or you're going to run into problems later.

    After you get the package installed you'll need to execute the following by hand.

    Code:
    #!/bin/bash
    # 
    # ***** BEGIN LICENSE BLOCK *****
    # Version: MPL 1.1
    # 
    # The contents of this file are subject to the Mozilla Public License
    # Version 1.1 ("License"); you may not use this file except in
    # compliance with the License. You may obtain a copy of the License at
    # http://www.zimbra.com/license
    # 
    # Software distributed under the License is distributed on an "AS IS"
    # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
    # the License for the specific language governing rights and limitations
    # under the License.
    # 
    # The Original Code is: Zimbra Collaboration Suite Server.
    # 
    # The Initial Developer of the Original Code is Zimbra, Inc.
    # Portions created by Zimbra are Copyright (C) 2005, 2006 Zimbra, Inc.
    # All Rights Reserved.
    # 
    # Contributor(s):
    # 
    # ***** END LICENSE BLOCK *****
    # 
    # Create group, user for zimbra and postfix.
    
    H=`hostname --fqdn`
    I=`hostname -i`
    
    #Symlinks
    rm -f /opt/zimbra/java
    PLAT=`/opt/zimbra/libexec/get_plat_tag.sh`
    BIT=`echo $PLAT | awk -F_ '{print $2}'`
    if [ "x$BIT" = "x64" ]; then
            ln -s /opt/zimbra/jdk1.5.0_08 /opt/zimbra/java
    else
            ln -s /opt/zimbra/jdk1.5.0_08 /opt/zimbra/java
    fi
    
    if [ -f /etc/debian_version ]; then
            if [ -f /etc/ld.so.conf ]; then
                    mv -f /etc/ld.so.conf /etc/ld.so.conf.$$
                    cat /etc/ld.so.conf.$$ | grep -v zimbra > /etc/ld.so.conf
            fi
            cat /opt/zimbra/conf/zimbra.ld.conf >> /etc/ld.so.conf
    else
            mkdir -p /etc/ld.so.conf.d
            cp -f /opt/zimbra/conf/zimbra.ld.conf /etc/ld.so.conf.d
    fi
    
    if [ ! -d /opt/zimbra/zimbramon/mrtg/work/ ]; then
            mkdir -p /opt/zimbra/zimbramon/mrtg/work/
    fi
    chown -R zimbra:zimbra /opt/zimbra/zimbramon/mrtg
    
    ldconfig
    
    # Setup syslog
    
    if [ -d /etc/logrotate.d ]; then
            cp -f /opt/zimbra/conf/zmlogrotate /etc/logrotate.d/zimbra
    fi
    
    #/opt/zimbra/bin/zmsyslogsetup local
    
    cp -f /opt/zimbra/libexec/zimbra /etc/init.d/zimbra
    chmod 755 /etc/init.d/zimbra
    if [ -x /sbin/chkconfig ]; then
            chkconfig --add zimbra 
            chkconfig zimbra on
    else
            rm -f /etc/rc*.d/S99zimbra
            rm -f /etc/rc*.d/K01zimbra
            ln -s /etc/init.d/zimbra /etc/rc2.d/S99zimbra
            ln -s /etc/init.d/zimbra /etc/rc3.d/S99zimbra
            ln -s /etc/init.d/zimbra /etc/rc4.d/S99zimbra
            ln -s /etc/init.d/zimbra /etc/rc5.d/S99zimbra
            ln -s /etc/init.d/zimbra /etc/rc2.d/K01zimbra
            ln -s /etc/init.d/zimbra /etc/rc3.d/K01zimbra
            ln -s /etc/init.d/zimbra /etc/rc4.d/K01zimbra
            ln -s /etc/init.d/zimbra /etc/rc5.d/K01zimbra
            ln -s /etc/init.d/zimbra /etc/rc6.d/K01zimbra
    fi
    
    mkdir -p /opt/zimbra/backup
    chown zimbra:zimbra /opt/zimbra/backup
    mkdir -p /opt/zimbra/log
    chown zimbra:zimbra /opt/zimbra/log
    mkdir /opt/zimbra/ssl
    chown zimbra:zimbra /opt/zimbra/ssl
    mkdir /opt/zimbra/.ssh
    chown zimbra:zimbra /opt/zimbra/.ssh
    
    # 64 bit jvm doesn't support the dump
    if [ "x$BIT" = "x64" ]; then
            exit 0
    fi
    
    /opt/zimbra/java/bin/java -client -Xshare:dump

  7. #7
    dlochart is offline Advanced Member
    Join Date
    Nov 2006
    Posts
    177
    Rep Power
    8

    Default

    Quote Originally Posted by brian View Post
    ah, the postinstall script for the package only knows about RHEL4 in the 4.0.x release. This was fixed in 4.5.x. You can probably get it installed with rpm -i --noscripts zimbra-core..
    ??? Really ??? Then why did it work properly when I installed the 32 bit version on the exact same distro? Maybe they fixed it in 4.0.5 for 32 bit but did not fix the 64 bit
    Quote Originally Posted by brian View Post
    Also you'll need to fix the hostname problem or you're going to run into problems later.
    I did that already. I'll try it again. thanks

    Doug

  8. #8
    brian is offline Project Contributor
    Join Date
    Jul 2006
    Posts
    623
    Rep Power
    9

    Default

    it was 64bit only bug.

  9. #9
    dlochart is offline Advanced Member
    Join Date
    Nov 2006
    Posts
    177
    Rep Power
    8

    Default Ok Now What

    I did the manual install of core but when I try to run install.sh again it chokes at the same thing.
    Do I have to do a complete manual install? Are there instructions for this? The install.sh aborts. It tries to reinstall the core package again.

    If I do manage to get the core package installed will I have this same issue with the rest of the packages? If so what scripts will I have to run manually?

    One Thing For some reason rpm -i thinks that the package is already installed yet rpm -e thinks it is not installed ?? I actually had to use yum in remove the package.

  10. #10
    dlochart is offline Advanced Member
    Join Date
    Nov 2006
    Posts
    177
    Rep Power
    8

    Default

    For those that might be interested in this same question here is the workaround.

    modify your /etc/redhat-release to say "Red Hat Enterprise Linux" and the install will go as planned.

    This bug is fixed in 4.5 and only applies to 64 bit

Page 1 of 2 12 LastLast

LinkBacks (?)

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Can't start Zimbra!
    By zibra in forum Administrators
    Replies: 5
    Last Post: 03-22-2007, 11:34 AM
  2. Replies: 7
    Last Post: 01-24-2007, 11:03 PM
  3. svn version still won't start
    By kinaole in forum Developers
    Replies: 0
    Last Post: 10-04-2006, 06:47 AM
  4. Unable to start tomcat
    By chanck in forum Administrators
    Replies: 11
    Last Post: 06-11-2006, 12:58 AM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 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
  •