Results 1 to 7 of 7

Thread: Fedora 5: Could not create the Java virtual machine

  1. #1
    mi2enno is offline New Member
    Join Date
    Apr 2007
    Posts
    3
    Rep Power
    8

    Default Fedora 5: Could not create the Java virtual machine

    i am trying to install zimbra on feora 5:
    maybe somebody knows why there comes the error message of "could not create the Java virtual machine". Can it be cause of to less memory? I have a vServer with 512 MB RAM.


    Installing packages

    zimbra-core......zimbra-core-4.5.4_GA_763.RHEL4_64-20070418173455.x86_64.rpm ...done
    zimbra-logger......zimbra-logger-4.5.4_GA_763.RHEL4_64-20070418173455.x86_64 .rpm...done
    zimbra-mta......zimbra-mta-4.5.4_GA_763.RHEL4_64-20070418173455.x86_64.rpm.. .done
    zimbra-snmp......zimbra-snmp-4.5.4_GA_763.RHEL4_64-20070418173455.x86_64.rpm ...done
    zimbra-store......zimbra-store-4.5.4_GA_763.RHEL4_64-20070418173455.x86_64.r pm...done
    Could not create the Java virtual machine.
    Could not create the Java virtual machine.
    Could not create the Java virtual machine.
    Could not create the Java virtual machine.
    Operations logged to /tmp/zmsetup.log.19985
    Setting defaults...Could not create the Java virtual machine.
    /opt/zimbra/bin/zmshutil: line 49: Error: command not found
    Could not create the Java virtual machine.
    /opt/zimbra/bin/zmshutil: line 49: Error: command not found
    Could not create the Java virtual machine.
    /opt/zimbra/bin/zmshutil: line 49: Error: command not found


    DNS ERROR resolving MX for v1481.ncsrv.de
    It is suggested that the domain name have an MX record configured in DNS
    Change domain name? [Yes]

    ------------------------------------
    content of error log
    ------------------------------------

    Setting defaults...
    Setting local config zimbra_java_home to /opt/zimbra/java
    *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_java_home='/opt/zimbra/java'
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.


    DNS ERROR resolving MX for v1481.ncsrv.de
    It is suggested that the domain name have an MX record configured in DNS

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

    Default

    Quote Originally Posted by mi2enno View Post
    i am trying to install zimbra on feora 5:
    maybe somebody knows why there comes the error message of "could not create the Java virtual machine". Can it be cause of to less memory? I have a vServer with 512 MB RAM.
    Why are you trying to install the RedHat 64bit version of ZImbra on a Fedora Core operating system? It won't work.

    Quote Originally Posted by mi2enno View Post
    DNS ERROR resolving MX for v1481.ncsrv.de
    It is suggested that the domain name have an MX record configured in DNS
    You'll also need a DNS server with correct A & MX records pointing to your server plus a correct /etc/hosts file. Please search the forums for some information or read the Quick Start Guide on the documentation page.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    I recently was working on a deployment where this error was because there wasn't enough memory on the system.

    If you think you have enough (1gb is generally recommended), try to increase the tomcat heap
    Code:
    su - zimbra
    zmlocalconfig | grep mem
    Look for the tomcat heap one. I can't remember exactly what it says, but it's something like "tomcat_heap_memory=30". Take that line and increase the number to something like 40 or 50 by running:
    Code:
    su - zimbra
    zmlocalconfig -e (tomcat mem string)=50
    tomcat restart

  4. #4
    mi2enno is offline New Member
    Join Date
    Apr 2007
    Posts
    3
    Rep Power
    8

    Default

    Why are you trying to install the RedHat 64bit version of ZImbra on a Fedora Core operating system? It won't work.
    i tried to installed the package for fedora but the installation stopped (as i have a 64 bit system). therefore i searched a bit and found this page: Platform Specific - ZimbraWiki

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

    Default

    The probability is that it won't work, the link you found was posted by a user and is an older version of ZImbra than the one you're using - you can try those instructions if you like but it's not supported. You also have too little memory on the system and it's running in a vserver which may or may not cause you problems.

    By far the easiest thing to do is get a CentOS4 64bit server with plenty of memory and the RHEL version will run fine.

    BTW, you also had DNS problems in your initial install, did you set-up a local DNS server?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    mi2enno is offline New Member
    Join Date
    Apr 2007
    Posts
    3
    Rep Power
    8

    Default

    Thanks for your advice and fast reply! With this package i was even able to install zimbra just that i dont get it starting. Do you think with more memory (e.g. 1 GB) i could get away of the "Could not create ..." or is the mistake really related to the wrong installation package?

    if i tried to do "zmlocalconfig | grep mem" after the installation i also just get the same error message with "Could not cerate ...". i am not able to change anthing in the tomcat.

    i still didnt set-up the dns server as i thought this would be the next mistake. i just wanted to solve the first thing and then care about the next one or is the a bad idea?

    Thanks a lot for your help.

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

    Default

    The problem with the java vm is likely to be the lack of memory, there are a couple of threads (do a quick search) about reducing the memory footprint of Zimbra but you're better off adding more memory.

    As I said earlier, you may or may not have some success running that version on FC5 but the problem then becomes trying to troubleshoot anything that may go wrong on your system. My advice would still be to install the correct version of Zimbra for the operating system that you have.
    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. Wrong time in Parallels Virtual machine
    By JoseQ in forum Users
    Replies: 4
    Last Post: 04-16-2007, 09:49 AM
  2. Tomcat, Java VM Problems - RAM related? Help
    By Mo_Hong in forum Administrators
    Replies: 3
    Last Post: 03-28-2007, 02:00 PM
  3. Java 1.5 crashing on PPC Mac 10.4.8
    By bradn in forum Installation
    Replies: 1
    Last Post: 12-08-2006, 06:27 PM
  4. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 PM
  5. Replies: 0
    Last Post: 12-04-2005, 02:34 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
  •