安装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
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.1-b03 mixed mode linux-amd64 compressed oops)# Problematic frame:
# 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
解决方法:
在oracle用户的.base_profile文件中加入:
export LD_BIND_NOW=1
这个环境变量的作用是,让连接器在程序执行前把所有的函数地址都连接好。
错误记录2:
Exception in thread "main" java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at java.awt.Toolkit$2.run(Toolkit.java:821)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804)
at javax.swing.UIManager.initialize(UIManager.java:1262)
at javax.swing.UIManager.maybeInitialize(UIManager.java:1245)
解决方法:
[oracle@rhel6 database]$ export DISPLAY=192.168.67.1:0.0
[oracle@rhel6 database]$ xhost +
Warning: Missing charsets in String to FontSet conversion
[oracle@rhel6 database]$ ./runInstaller
就o了
本文出自 “Isuncle的技术博客” 博客,转载请与作者联系!
原文地址:http://baoer7758.blog.51cto.com/8187563/1592109