Results 1 to 9 of 9

Thread: [SOLVED] Starting servers...Could not create the Java virtual machine.

  1. #1
    Burn is offline Active Member
    Join Date
    Aug 2009
    Posts
    30
    Rep Power
    5

    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?

  2. #2
    jonallport's Avatar
    jonallport is offline Special Member
    Join Date
    Jul 2008
    Location
    UK
    Posts
    171
    Rep Power
    7

    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.!!!)

  3. #3
    jonallport's Avatar
    jonallport is offline Special Member
    Join Date
    Jul 2008
    Location
    UK
    Posts
    171
    Rep Power
    7

    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.

  4. #4
    Burn is offline Active Member
    Join Date
    Aug 2009
    Posts
    30
    Rep Power
    5

    Default

    nope, I don't have any other jdk's or jre's installed. And I get the same behaviour for 32 bit version.

  5. #5
    Burn is offline Active Member
    Join Date
    Aug 2009
    Posts
    30
    Rep Power
    5

    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

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

    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


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    Burn is offline Active Member
    Join Date
    Aug 2009
    Posts
    30
    Rep Power
    5

    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.

  8. #8
    Burn is offline Active Member
    Join Date
    Aug 2009
    Posts
    30
    Rep Power
    5

    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 05:34 AM.

  9. #9
    rojoblandino is offline Intermediate Member
    Join Date
    Oct 2010
    Posts
    22
    Rep Power
    4

    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

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 8
    Last Post: 01-29-2010, 11:40 AM
  2. Mac OSX install: Java errors & LDAP CA error
    By jefbear in forum Installation
    Replies: 9
    Last Post: 12-16-2006, 03:39 PM
  3. Getting problems in FC4 while instalation
    By kitty_bhoo in forum Installation
    Replies: 13
    Last Post: 09-12-2006, 10:34 PM
  4. mta and mailbox servers on a different machine
    By fabio.marcone in forum Installation
    Replies: 1
    Last Post: 08-10-2006, 11:25 PM
  5. Starting servers....Password:
    By wayne in forum Installation
    Replies: 1
    Last Post: 09-15-2005, 01:13 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
  •