[Users] problem with engine 3.3 on f19 and java path after update

Gianluca Cecchi gianluca.cecchi at gmail.com
Sun Sep 22 14:16:48 UTC 2013


Hello,
I installed ovirt-engine on F19. No hosts yet.
ovirt-engine service started ok
Today after updateing java, it fails with this message:

Sep 22 13:55:13 ovirt 2013-09-22 13:55:13,637 ovirt-engine: ERROR
run:485 Error: Directory '/
usr/lib/jvm/jre-1.7.0-openjdk-1.7.0.60-2.4.2.0.fc19.x86_64' is
required but missing
Sep 22 13:55:13 ovirt systemd[1]: ovirt-engine.service: main process
exited, code=exited, sta
tus=1/FAILURE
Sep 22 13:55:13 ovirt systemd[1]: Unit ovirt-engine.service entered
failed state.
Sep 22 13:55:13 ovirt avahi-daemon[418]: Registering new address
record for fe80::250:56ff:fe
9f:1016 on eth0.*.

When installed:
Sep 16 16:58:22 Installed: 1:java-1.7.0-openjdk-1.7.0.60-2.4.2.0.fc19.x86_64
Sep 16 16:59:00 Installed:
1:java-1.7.0-openjdk-devel-1.7.0.60-2.4.2.0.fc19.x86_64

Today:
Sep 22 13:52:57 Updated: 1:java-1.7.0-openjdk-1.7.0.60-2.4.2.4.fc19.x86_64
Sep 22 13:53:04 Updated: 1:java-1.7.0-openjdk-devel-1.7.0.60-2.4.2.4.fc19.x86_64

I noticed today during update somethng regarding java and alternatives
as if default path was not defined...

This is my alternatives situation:

[root at ovirt ~]# alternatives --list
jre_1.7.0_openjdk       auto
/usr/lib/jvm/jre-1.7.0-openjdk-1.7.0.60-2.4.2.4.fc19.x86_64
java_sdk_openjdk        manual
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.2.4.fc19.x86_64
libnssckbi.so.x86_64    auto    /usr/lib64/pkcs11/p11-kit-trust.so
whois   auto    /usr/bin/jwhois
javac   manual
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.2.4.fc19.x86_64/bin/javac
jsp     auto    /usr/share/java/tomcat-jsp-2.2-api.jar
mta     auto    /usr/sbin/sendmail.sendmail
java_sdk_1.7.0_openjdk  auto
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.2.4.fc19.x86_64
jre_openjdk     manual
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.2.4.fc19.x86_64/jre
jre_gcj auto    /usr/lib/jvm/jre-1.5.0-gcj
cifs-idmap-plugin       auto    /usr/lib64/cifs-utils/idmapwb.so
jre_1.5.0       auto    /usr/lib/jvm/jre-1.5.0-gcj
jaxp_transform_impl     auto    /usr/share/java/xalan-j2.jar
jaxp_parser_impl        auto    /usr/share/java/xerces-j2.jar
java    manual
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.2.4.fc19.x86_64/jre/bin/java
elspec  auto    /usr/share/java/tomcat-el-2.2-api.jar
servlet auto    /usr/share/java/tomcat-servlet-3.0-api.jar
jre_1.7.0       manual
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.2.4.fc19.x86_64/jre
java_sdk_1.7.0  manual
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.2.4.fc19.x86_64

How could this be fixed and any recommendation to put into the wiki
regarding java config?

Thanks,
Gianluca



More information about the Users mailing list