最小安装RHEL 6 64位 安装ORACLE 11G 64位报错
准备从以下地址启动 Oracle Universal Installer /tmp/OraInstall2012-07-25_03-10-02PM. 请稍候...[oracle@redhat database]$ #
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0x00000034c9c14d70, pid=2082, tid=139676636473104
#
# JRE version: 7.0_05-b06
# C [ld-linux-x86-64.so.2+0x14d70]
#
# An error report file with more information is saved as hs_err_pid2082.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
后来发现sun的官网上写的很清楚啦
http://www.java.com/zh_CN/download/manual.jsp
* 请使用 32 位版本以获得 Java applet 程序和 Java Web Start 支持。
然后安装32位jdk,使用jreLoc参数执行, 发现果真可以出现界面了
但是报错[INS-10102] Installer initialization failed.
查看日志:
java.lang.UnsatisfiedLinkError: /tmp/OraInstall2012-07-26_06-37-43PM/oui/lib/linux/liboraInstaller.so: /tmp/OraInstall2012-07-26_06-37-43PM/oui/lib/linux/liboraInstaller.so: wrong ELF class:
ELFCLASS64 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1753)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1649)
at java.lang.Runtime.load0(Runtime.java:769)
at java.lang.System.load(System.java:968)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:387)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:122)
at oracle.sysman.oii.oiic.OiicPullSession.createDuplicateStreamsForLog(OiicPullSession.java:5376)
at oracle.sysman.oii.oiic.OiicPullSession.createDuplicateStreams(OiicPullSession.java:5478)
at oracle.sysman.oii.oiic.OiicAPIInstaller.initInstallEnvironment(OiicAPIInstaller.java:450)
at oracle.install.driver.oui.OUISetupDriver.load(OUISetupDriver.java:352)
at oracle.install.ivw.db.driver.DBSetupDriver.load(DBSetupDriver.java:161)
at oracle.install.commons.base.driver.common.Installer.run(Installer.java:216)
at oracle.install.ivw.db.driver.DBInstaller.run(DBInstaller.java:126)
at oracle.install.commons.util.Application.startup(Application.java:869)
at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:164)
at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181)
at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:265)
at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:114)
at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:132)
---# Begin Stacktrace #---------------------------
关键字:
ELFCLASS64,这个是x64位的应该无法在32位上运行
于是发现oracle自带的jdk版本是java HotSpot(TM) 64-Bit Server VM (build 1.5.0_17-b03, mixed mode)
还是可以用x64的
于是去oracle官方上下载 jdk-1_5_0_22-linux-amd64.rpm安装
虽然不是amd核心的
运行时指定 jreLoc,仍然不行
于是在/usr/java/jdk1.5.0_22/jre/lib/fonts/新建立目录fallback
cd fallback
cp /usr/share/fonts/cjkuni-uming/* .
将字体全部复制过来
运行安装程序,中文ok了