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

Thread: INSTALLATION PROBLEM ON Centos 4.3 x_86-64Bit.

  1. #1
    jawad@cogilent.com is offline Junior Member
    Join Date
    Sep 2006
    Posts
    7
    Rep Power
    8

    Question INSTALLATION PROBLEM ON Centos 4.3 x_86-64Bit.

    Dear all,

    Recently i download zimbra 4 version 32bit for RHEL4, and i install it on Centos4.3 32-bit. It works very fine and creating on a single problem.
    BUT
    recently i download zimbra 4 64Bit ver for RHEL4 x_86-64bit, when i tried to install it on Centos4.3 x_86-64bit it get failed during the installation. I got the following error on screen.
    ---------------------------------------------------------
    Installing packages
    zimbra-core......zimbra-core-4.0.1_GA_324.RHEL4_64-20060906184245.x86_64.rpm ...FAILED
    ###ERROR###
    zimbra-core-4.0.1_GA_324.RHEL4_64-20060906184245.x86_64.rpm installation failed
    Installation cancelled
    --------------------------------------------------------
    AND when i check the logs i got the error as under

    Preparing packages for installation...
    zimbra-core-4.0.1_GA_324.RHEL4_64-20060906184245
    Error occurred during initialization of VM
    Dumping a shared archive is not supported on the Server JVM.
    error: %post(zimbra-core-4.0.1_GA_324.RHEL4_64-20060906184245.x86_64) scriptlet failed, exit status 1

    any one can have idea what i am missing or any solution of it. I search the whole installation forum but i cannot get and soution.
    Please help me in this regard.

    Regards.

  2. #2
    paulhil is offline Starter Member
    Join Date
    Sep 2006
    Posts
    2
    Rep Power
    8

    Default Same problem on CentOS 4.4

    Hi

    I have the same problem on CentOS 4.4. The installation worked on an RHEL 4.4 64 bit system, however, I don't want to use a RHEL subscription for a test system, hence, CentOS.

    On the CentOS system I did modify the zcs/bin/get_plat_tag.sh to get the RHEL 4_64 install.

    There is another problem report with this symptom. Its in the Administrators area, reported by Fabio on 9/06/2006. There are 7 replies but it doesn't appear that there is a solution.

    Paul

  3. #3
    jawad@cogilent.com is offline Junior Member
    Join Date
    Sep 2006
    Posts
    7
    Rep Power
    8

    Default thanks, but

    Hi,
    Thanks for the reply.
    If 64bit version of zimbra4 works fine on RHEL4 64bit, then it must work fine on Centos4.3 64bit.
    I install 32bit ver of Zimbra on Centos4.3 2bit and it works fine. There is some other issue with Centos4.3 64bit.
    There are some posts on the forum that shows that zimbra works fine on Centos64bit.

    Thanks

  4. #4
    Chris_H is offline Intermediate Member
    Join Date
    Sep 2006
    Posts
    16
    Rep Power
    8

    Default

    I had this same problem. I'm testing Zimbra on 32-bit RHEL4 right now, and now that I have that working I'm about to go back to CentOS for another go.

    Keeping my fingers crossed.

  5. #5
    Fabio is offline Active Member
    Join Date
    May 2006
    Posts
    29
    Rep Power
    9

    Default Same problem

    I have same problem too.

    Fabio

  6. #6
    jawad@cogilent.com is offline Junior Member
    Join Date
    Sep 2006
    Posts
    7
    Rep Power
    8

    Thumbs down

    Hi

    So finally it means that their is no solution to install zcs-NETWORK-4.0.1_GA_324.RHEL4_64. on Centos 4.3 x_86-64Bit.?

    Regards.
    Last edited by jawad@cogilent.com; 09-20-2006 at 01:01 AM.

  7. #7
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,581
    Rep Power
    57

    Default

    Quote Originally Posted by jawad@cogilent.com
    Hi

    So finally it means that their is no solution to install zcs-NETWORK-4.0.1_GA_324.RHEL4_64. on Centos 4.3 x_86-64Bit.?

    Regards.
    Well, the problem is that CentOS is not a supported system for the Network Edition of Zimbra. Have you contacted support about this?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    paulhil is offline Starter Member
    Join Date
    Sep 2006
    Posts
    2
    Rep Power
    8

    Default Zimbra 64 bit install on Red Hat EL & CentOS

    I've been trying to install 64 bit Zimbra on CentOS 64 bit too. I've tried the install and the subsequent uninstall many times. I've also gone in and looked at the install scripts and I think I understand why its not working on CentOS, why it works on Red Hat 64 bit and probably found a problem with Red Hat 64bit install too.

    Zimbra uses a script called get_plat_tag.sh which identifies the OS platform. This script is located in the zcs/bin directory for the install and /opt/zimbra/libexec after the install has started. The script is used by install.sh, the core rpm as well as scripts in the /opt/zimbra directory, presumably post install.

    For Red Hat (and CentOS) get_plat_tag.sh examines the file /etc/redhat-release to determine the OS and the level. It also performs a uname -i to determine if the OS is 64bit.

    There actually is code in the get_plat_tag.sh to identify CentOS release 4 and even the 64bit version. The problem is that none of the other install scripts is set up to recognize a string CentOS4_64 which is what the script get_plat_tag.sh would return for 64 bit CentOS.

    In fact, there even appears to be an issue in the install script for Red Hat 4 64 bit, checking prereqs. The script utilfunc.sh in zcs/util has a tag getPlatformVars() which specifies the prereqs. It checks a value of RHEL4 which works fine for non 64bit. For 64bit Red Hat the value is RHEL4_64 which fall through the logic and checks a different set of prereqs than is actually required for 64 bit Red Hat.

    The issue everyone has been seeing on CentOS 64bit occurs during the install of the Zimbra core rpm.
    The message is:
    Preparing packages for installation...
    zimbra-core-4.0.1_GA_324.RHEL4_64-20060906185724
    Error occurred during initialization of VM
    Dumping a shared archive is not supported on the Server JVM.
    error: %post(zimbra-core-4.0.1_GA_324.RHEL4_64-20060906185724.x86_64) scriptlet failed, exit status 1
    In the Zimbra core rpm, get_plat_tag.sh is executed from /opt/zimbra/libexec which has been created as part of the core rpm install (we can't get at it to alter it unless we can somehow alter the rpm). There is logic in the install script that says
    # 64 bit jvm doesn't support the dump
    if [ “x$PLAT” = “xRHEL4_64” ]; then
    exit 0
    fi
    A string of “xCentOS_64” drops through and attempts to the jvm dump operation which fails. RedHat 64 bit meets the test and does not attempt the jvm dump.

    It is easy to get Zimbra to install on CentOS 64 bit.
    1. mv /etc/redhat-release /etc/redhat-release.dist (or whatever you want)
    2. create a new redhat-release with the following single line
    Red Hat Enterprise Linux ES release 4 (Nahant Update x)
    where x is a 2, 3, or 4. If you have CentOS 4.4 then use a 4. For the purposes of the Zimbra install it probably doesn't matter.
    3.Run the Zimbra install. (If you've tried the Zimbra install before then you probably want to run a ./install.sh -u before you attempt another install).

    I did it this way and Zimbra installed and has run OK on CentOS 64bit (until the next problem which I haven't hit yet).

    Zimbra could fix the issue in the the get_plat_tag.sh script if they set the result of the test for CentOS release 4 to RHEL4${i} instead of CentOS${i} .

    What I don't know is what other packages will be impacted by changing /etc/redhat-release.

  9. #9
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default

    We're not likely to change get_plat_tag.sh to report redhat when you're running CentOS, since that would make debugging the differences in CentOS nearly impossible. (If you believe that there are no differences, fine).

    The real fix for this is in the 64 bit detection (we look only for RHEL4_64, not .*_64).
    Bugzilla - Wiki - Downloads - Before posting... Search!

  10. #10
    Chris_H is offline Intermediate Member
    Join Date
    Sep 2006
    Posts
    16
    Rep Power
    8

    Default

    I could have sworn that I tried updating /etc/redhat-release to see if that fixed the install issue, but I guess I didn't. That might have been when I was trying to install Scalix.

    So will the installer get updated with the correct 64-bitness check?

    -chris

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Migration problem from FC3 to Centos 4.3
    By kibo in forum Migration
    Replies: 5
    Last Post: 01-02-2007, 07:34 PM
  2. Installation problem on CENTOS 4.3 x86_64
    By Fabio in forum Installation
    Replies: 7
    Last Post: 09-07-2006, 07:56 AM
  3. Zimbra startup hangs after install CentOS 4.2
    By eger in forum Installation
    Replies: 4
    Last Post: 02-10-2006, 11:08 PM
  4. Installation problem
    By sywong70 in forum Installation
    Replies: 5
    Last Post: 11-07-2005, 09:01 PM
  5. Installation problem
    By charlie in forum Administrators
    Replies: 1
    Last Post: 10-14-2005, 08:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •