[OmniOS-discuss] upgrade nearly perfect
Chavdar Ivanov
ci4 at outlook.com
Fri Dec 13 12:41:14 UTC 2013
-----Original Message-----
From: OmniOS-discuss [mailto:omnios-discuss-bounces at lists.omniti.com] On Behalf Of Natxo Asenjo
Sent: 13 December 2013 12:06
To: omnios-discuss at lists.omniti.com
Subject: [OmniOS-discuss] upgrade nearly perfect
hi,
I just followed the instructions on the wiki
http://omnios.omniti.com/wiki.php/Upgrade_r151006_r151008
and everything worked fine, except now is java broken:
# /usr/java/bin/java -version
ld.so.1: java: fatal: libjli.so: open failed: No such file or directory Killed # ldd /usr/bin/java
libthread.so.1 => /lib/libthread.so.1
libjli.so => (file not found)
libdl.so.1 => /lib/libdl.so.1
libc.so.1 => /lib/libc.so.1
libm.so.2 => /lib/libm.so.2
This is causing the backup software (crashplan) to fail.
As far as I can see, my root zone only has this publisher:
# pkg publisher
PUBLISHER TYPE STATUS URI
omnios origin online
http://pkg.omniti.com/omnios/release/
reverting to the former version fixes java and crashplan works again:
# /usr/java/bin/java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03) Java HotSpot(TM) Server VM (build 20.1-b02, mixed mode)
# ldd /usr/bin/java
libthread.so.1 => /lib/libthread.so.1
libjli.so =>
/usr/jdk/instances/jdk1.6.0/bin/../jre/lib/i386/jli/libjli.so
libdl.so.1 => /lib/libdl.so.1
libc.so.1 => /lib/libc.so.1
libm.so.2 => /lib/libm.so.2
I see in the release changelog that oracle java was replaced by openjdk, so I think I found the reason it fails ;-), but now the question remains, where is the openjdk java ...
I will keep searching, but maybe someone has already found this problem.
[[ci]]
My update didn't have that problem:
➜ ~ cat /etc/release
OmniOS v11 r151008
Copyright 2013 OmniTI Computer Consulting, Inc. All rights reserved.
Use is subject to license terms.
➜ ~ uname -a
SunOS uksup5 5.11 omnios-6de5e81 i86pc i386 i86pc
➜ ~ /usr/java/bin/java -version
openjdk version "1.7.0_06"
OpenJDK Runtime Environment (build 1.7.0_06-b24)
OpenJDK Server VM (build 24.0-b47, mixed mode)
➜ ~ pkg list | grep -i java
developer/java/jdk (omnios) 1.7.0.6.24-0.151007 i--
runtime/java (omnios) 1.7.0.6.24-0.151007 i--
➜ ~ pkg list | grep -i jre
I do have omniti repo, but as far as I can see, java comes from the main one.
➜ ~ pkg publisher
PUBLISHER TYPE STATUS URI
ms.omniti.com (non-sticky) origin online http://pkg.omniti.com/omniti-ms/
omnios origin online http://pkg.omniti.com/omnios/release/
Chavdar Ivanov
TIA,
Groeten,
natxo
_______________________________________________
OmniOS-discuss mailing list
OmniOS-discuss at lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss
More information about the OmniOS-discuss
mailing list