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

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
  #1 (permalink)  
Old 09-14-2006, 11:08 PM
Junior Member
 
Posts: 7
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.
Reply With Quote
  #2 (permalink)  
Old 09-15-2006, 02:18 PM
Starter Member
 
Posts: 2
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
Reply With Quote
  #3 (permalink)  
Old 09-18-2006, 03:42 AM
Junior Member
 
Posts: 7
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
Reply With Quote
  #4 (permalink)  
Old 09-19-2006, 03:08 PM
Intermediate Member
 
Posts: 16
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.
Reply With Quote
  #5 (permalink)  
Old 09-20-2006, 01:30 AM
Active Member
 
Posts: 29
Default Same problem

I have same problem too.

Fabio
Reply With Quote
  #6 (permalink)  
Old 09-20-2006, 01:48 AM
Junior Member
 
Posts: 7
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 02:01 AM..
Reply With Quote
  #7 (permalink)  
Old 09-20-2006, 04:07 AM
Zimbra Consultant & Moderator
 
Posts: 19,639
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
Reply With Quote
  #8 (permalink)  
Old 09-20-2006, 02:40 PM
Starter Member
 
Posts: 2
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:
Quote:
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
Quote:
# 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
Quote:
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.
Reply With Quote
  #9 (permalink)  
Old 09-20-2006, 02:44 PM
Zimbra Employee
 
Posts: 2,103
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!
Reply With Quote
  #10 (permalink)  
Old 09-20-2006, 02:53 PM
Intermediate Member
 
Posts: 16
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
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.