Hi,

On 09/21/2012 08:10 PM, Dave Neary wrote:
After removing and re-running engine-setup, I try once again to run
ovirt-engine. I get the following error in the logs:
==> /var/log/ovirt-engine/console.log <==
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

I traced this to two unrecognised options being passed to the Java process by /usr/share/ovirt-engine/scripts/engine-service.py: -XX:+UseCompressedOops and -XX:+TieredCompilation

By removing these from the command line, I make progress. I now have an oVirt web application displaying in my browser!

I also noticed this typo in the same file:

    engineArgs.extend([
        # Virtual machine options:
        "-server",
        "-XX:+UseCompressedOops",
        "-XX:+TieredCompilation",
        "-Xms%s" % engineHeapMin,
        "-Xms%s" % engineHeapMax,
// This should be "-Xmx%s" to set the max heap size
        "-XX:PermSize=%s" % enginePermMin,
        "-XX:MaxPermSize=%s" % enginePermMax,
        "-Djava.net.preferIPv4Stack=true",
        "-Dsun.rmi.dgc.client.gcInterval=3600000",
        "-Dsun.rmi.dgc.server.gcInterval=3600000",
        "-Djava.awt.headless=true",
    ])

Cheers,
Dave.

--
Dave Neary
Community Action and Impact
Open Source and Standards, Red Hat
Ph: +33 9 50 71 55 62 / Cell: +33 6 77 01 92 13
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to