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 05-31-2007, 09:55 AM
New Member
 
Posts: 3
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
Reply With Quote
  #2 (permalink)  
Old 05-31-2007, 10:44 AM
Zimbra Consultant & Moderator
 
Posts: 11,508
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
Reply With Quote
  #3 (permalink)  
Old 05-31-2007, 08:51 PM
Zimbra-Yahoo Consultant
 
Posts: 5,608
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
Reply With Quote
  #4 (permalink)  
Old 06-01-2007, 01:59 AM
New Member
 
Posts: 3
Default

Quote:
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
Reply With Quote
  #5 (permalink)  
Old 06-01-2007, 02:22 AM
Zimbra Consultant & Moderator
 
Posts: 11,508
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
Reply With Quote
  #6 (permalink)  
Old 06-01-2007, 03:15 AM
New Member
 
Posts: 3
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.
Reply With Quote
  #7 (permalink)  
Old 06-01-2007, 04:16 AM
Zimbra Consultant & Moderator
 
Posts: 11,508
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
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