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 Display Modes
  #1 (permalink)  
Old 07-25-2007, 06:16 AM
Active Member
 
Posts: 45
Default tomcat failing to start after installation (OSS - RHEL 4.5.6_GA_1044)

Hello,

I am trying to install Zimbra on a second machine so I can test backups of the primary instance in order to upgrade it. However, when I install it, I can't get tomcat to start successfully.

The catalina.out file contains:
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

There are comments in the forums about the redo.log file needing to be owned by zimbra and not root, but there is nothing in the redolog directory at all. The directory is owned by Zimbra however.

The machine is pretty beefy - 4 Gig of RAM running RHEL-4.

The memory configuration for tomcat is as follows:
[zimbra@localhost ~]$ zmlocalconfig | grep mem
mysql_memory_percent = 50
tomcat_java_heap_memory_percent = 50

I did see a recommendation that mysql needed to be under 2 Gig, so I tried tuning the mysql_memory_percent parameter down to 30%, but that didn't help either.

Does anyone have any suggestions as to what I can look at next?

Cheers,
David
Reply With Quote
  #2 (permalink)  
Old 07-25-2007, 06:25 AM
OpenSource Builder & Moderator
 
Posts: 1,158
Default

you don't have anything else running locking resident memory do you?

try reducing the java heap ratio and starting.
Reply With Quote
  #3 (permalink)  
Old 07-25-2007, 06:52 AM
Active Member
 
Posts: 45
Default

I can't see anything running of note, although there does appear to be less free memory than expected. However there is still 1.5Gig free.

I tried reducing the memory percentage for java, but that made things worse - zmcontrol status couldn't determine the process status when I did that.

Cheers,
David

Last edited by davidh : 07-25-2007 at 07:20 AM.
Reply With Quote
  #4 (permalink)  
Old 07-25-2007, 11:29 PM
Active Member
 
Posts: 45
Default

OK, I ramped the memory percentages right down to 20% for MySQL and 15% for Tomcat and that appears to have fixed the problem. Must have been a general overallocation of memory for some reason.

Thanks for the suggestions.

Cheers,
David
Reply With Quote
  #5 (permalink)  
Old 08-03-2007, 09:05 AM
Starter Member
 
Posts: 1
Default

Our zimbra is installed on a RHEL4 512M ram machine but we cannot get the Tomcat running. Having tried to adjust the % of mysql_memory_percent & tomcat_java_heap_memory_percent to different values, such as 30/40, 20/30, 20/15, 15/10 but none of them works.

Please advice!
Reply With Quote
  #6 (permalink)  
Old 08-03-2007, 09:20 AM
Zimbra Consultant & Moderator
 
Posts: 11,510
Default

Quote:
Originally Posted by stephenau View Post
Our zimbra is installed on a RHEL4 512M ram machine but we cannot get the Tomcat running. .............

Please advice!
Install more memory on your system, that's below the recommended specifications. You could take some steps to reduce the requirements of Zimbra, search the forums and wiki for details.
__________________
Regards


Bill
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0