我在win7上面用虚拟机安装centos5.6,安装oracle11gr2,软件安装完成,在建数据库dbca时出现以下错误,请问该如何改正?
[oracle@eminem ~]$ dbca
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0x9fb4945c, pid=3158, tid=3086059728
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_17-b02 mixed mode)
# Problematic frame:
# C [libnnz11.so+0x3c45c]
#
# An error report file with more information is saved as hs_err_pid3158.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Aborted
------最佳解决方案--------------------
你是在64位硬件,32位操作系统下的安装的11gR2吧?
------其他解决方案--------------------
有日志,hs_err_pid3158.log,先看里面是什么问题。
------其他解决方案--------------------
------其他解决方案--------------------
------其他解决方案--------------------
以上是问题,但是看不懂啊!
------其他解决方案--------------------
也有可能是默认的主机名导致的,修改2处:
[oracle@jc11g ~]$ cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=test11g
GATEWAY=192.168.1.254
[oracle@jc11g ~]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost test11g
再执行
hostname test11g
让oracle用户退出重新登录就可以正常启动dbca了
------其他解决方案--------------------
你自己的机器上自带java吧,mv 一下。