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 11-29-2009, 08:43 PM
Active Member
 
Posts: 30
Default [SOLVED] Starting servers...Could not create the Java virtual machine.

I'm trying to install ZCS 6.0.3 CE on Centos 5.4 x86_64 (openvz container with 4 Gb Ram). And during installation I repeatedly get errors like this:
Code:
Notification complete

Starting servers...Could not create the Java virtual machine.

mkdir : No such file or directory at /opt/zimbra/bin/zmcontrol line 35
done.
Installing common zimlets...
        com_zimbra_date...done.
        com_zimbra_email...done.
        com_zimbra_bulkprovision...done.
        com_zimbra_url...done.
        com_zimbra_adminversioncheck...done.
        com_zimbra_phone...done.
        com_zimbra_cert_manager...done.
        com_zimbra_local...done.
        com_zimbra_ymemoticons...done.
Finished installing common zimlets.
Sometimes installation of zimlets fails as well. A similar thread suggests to increase tomcat heap, but how do I do it, if it isn't installed yet?
Or is this error not critical, so I can forget about it?
Reply With Quote
  #2 (permalink)  
Old 11-30-2009, 01:15 PM
Special Member
 
Posts: 162
Default

I seem to remember from Ubuntu x86_64 that there is a JRE bundled into the Zimbra installation and it can/will conflict with the OS-installed JRE (if present). Sorry I can't remember any more as I went back to 32-bit (and stone tablets, semphore etc.!!!)
Reply With Quote
  #3 (permalink)  
Old 11-30-2009, 01:17 PM
Special Member
 
Posts: 162
Default

Just had a flash:

Something to do with the path to the JRE bin in the startup script.

Hope that's a helpful pointer.
Reply With Quote
  #4 (permalink)  
Old 12-01-2009, 12:49 AM
Active Member
 
Posts: 30
Default

nope, I don't have any other jdk's or jre's installed. And I get the same behaviour for 32 bit version.
Reply With Quote
  #5 (permalink)  
Old 12-04-2009, 01:10 AM
Active Member
 
Posts: 30
Default

I tried adjusting memory up to 8 Gb ram and 8 Gb swap, to no avail. I'm now unsure who to blame - zimbra, openvz or proxmox
Reply With Quote
  #6 (permalink)  
Old 12-04-2009, 03:10 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Quote:
Originally Posted by Burn View Post
I tried adjusting memory up to 8 Gb ram and 8 Gb swap, to no avail. I'm now unsure who to blame - zimbra, openvz or proxmox
It's not a case of 'blame', ask yourself which platforms is Zimbra certified for installation (and why) and choose one of those. Using openvz or proxmox is not supported, or verified, by Zimbra and therefore any implementation is fraught with problems which you may be able to get round. If you wish to install in a non-standard environment then you'll have to hack it yourself or with the help of other forum members, I'm afraid. If you want a working and easy to maintain Zimbra implementation then use a dedicated hardware or Xen or VMware virtual machine
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 12-04-2009, 07:37 PM
Active Member
 
Posts: 30
Default

Quote:
Originally Posted by phoenix View Post
It's not a case of 'blame', ask yourself which platforms is Zimbra certified for installation (and why) and choose one of those. Using openvz or proxmox is not supported, or verified, by Zimbra and therefore any implementation is fraught with problems which you may be able to get round. If you wish to install in a non-standard environment then you'll have to hack it yourself or with the help of other forum members, I'm afraid. If you want a working and easy to maintain Zimbra implementation then use a dedicated hardware or Xen or VMware virtual machine
sorry, I didn't mean it that way. Not sure where to look, if that sounds more correct.
Reply With Quote
  #8 (permalink)  
Old 12-15-2009, 01:56 AM
Active Member
 
Posts: 30
Default

eventually I found this: Zimbra on OpenVZ on CentOS - OpenVZ Wiki
Basically, Zimbra requires a huge amount of privvmpages, I was able to get it to work with 64 Gb overcommited. Not sure how stable it is, but seems to work

Last edited by Burn; 12-15-2009 at 04:34 AM..
Reply With Quote
  #9 (permalink)  
Old 07-17-2011, 10:32 PM
Intermediate Member
 
Posts: 16
Default Not problems with Arq

Quote:
Originally Posted by phoenix View Post
It's not a case of 'blame', ask yourself which platforms is Zimbra certified for installation (and why) and choose one of those. Using openvz or proxmox is not supported, or verified, by Zimbra and therefore any implementation is fraught with problems which you may be able to get round. If you wish to install in a non-standard environment then you'll have to hack it yourself or with the help of other forum members, I'm afraid. If you want a working and easy to maintain Zimbra implementation then use a dedicated hardware or Xen or VMware virtual machine
I am using Debian lenny and openvz as core then i made my own template and then i create tree vm's one of them i called it mail1, the second one mail2 and the third one my ns, then i decide following scheme, hardware node has 4 GB in testing enviroment, so I split 2G for mail1 and mail2, and 512 for ns, mail1 and mail2:

mail1: ldap logger snmp apache spell
mail2: mta store

I start with mail1 and then following message showed up:

Code:
Notification skipped
Starting servers...Could not create the Java virtual machine.
Unable to determine enabled services from ldap.
Enabled services read from cache. Service list may be inaccurate.
sh: zmcontrol.status.6Pnh7: Permission denied
sh: zmcontrol.status.6Pnh7: Permission denied
sh: zmcontrol.status.6Pnh7: Permission denied
sh: zmcontrol.status.6Pnh7: Permission denied
sh: zmcontrol.status.6Pnh7: Permission denied
sh: zmcontrol.status.6Pnh7: Permission denied
done.
Setting up zimbra crontab...done.
Then i found this forum and i read something relating the memory and then after setting 3G of memory for vm it installed without problems

Code:
Notification skipped
Starting servers...done.
Setting up zimbra crontab...done.


Moving /tmp/zmsetup.07172011-224539.log to /opt/zimbra/log


Configuration complete - press return to exit
Is a problem of memory more than OpenVZ, another thing i made my own template, using a precreated template can have problems because preinstalled packages and general pourpose vm template, i do not know but openvz does not seem is the source of the problem, after all it runs a linux perfectly even i have exported a hot running system into a openvz vm and all services running without problems, even this was just testing building two vm's with separated services of zimbra and use them as one, but i have install zimbra in a real hardware them make a tarball of that machine, do some sort of adjustments and then a template of it, then i got a template ready to create vm with a zimbra on it ready to run, ofcourse it need some sort of extras to make it work for generally pourpose, but it work as a charm, i use debian lenny 5.0.8 the last stable, so memory is the only problem i have had while developing.

Greetings
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.