Results 1 to 6 of 6

Thread: tomcat failing to start after installation (OSS - RHEL 4.5.6_GA_1044)

  1. #1
    davidh is offline Active Member
    Join Date
    Oct 2006
    Posts
    45
    Rep Power
    8

    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

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

    Default

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

    try reducing the java heap ratio and starting.

  3. #3
    davidh is offline Active Member
    Join Date
    Oct 2006
    Posts
    45
    Rep Power
    8

    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 06:20 AM.

  4. #4
    davidh is offline Active Member
    Join Date
    Oct 2006
    Posts
    45
    Rep Power
    8

    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

  5. #5
    stephenau is offline Starter Member
    Join Date
    Jul 2007
    Posts
    1
    Rep Power
    7

    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!

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,470
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  2. After reboot mailbox and tomcat don't start
    By gon in forum Administrators
    Replies: 1
    Last Post: 11-02-2007, 11:50 AM
  3. Zimbra Installation Problems (RHEL AS v4)
    By stillwell in forum Installation
    Replies: 15
    Last Post: 06-28-2007, 07:58 PM
  4. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 11:11 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
  •