Oracle 使用DBCA安装数据库出现错误

Oracle安装:使用DBCA安装,出现如下错误提示

[oracle@standby ~]$ dbca

...
 Local Time = Mon Jun 16 11:13:09 2014
 Elapsed Time = 0
 #
 # The exception above was detected in native code outside the VM
 #
 # Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode)
 #
 # An error report file has been saved as hs_err_pid5412.log.
 # Please refer to the file for further information.
 #
 /u01/oracle/db_1/bin/dbca: line 158:  5412 Aborted                $JRE_DIR/bin/java -Dsun.java2d.font.DisableAlgorithmicStyles=true -DORACLE_HOME=$OH -DDISPLAY=$DISPLAY -DJDBC_PROTOCOL=thin -mx128m -classpath $CLASSPATH oracle.sysman.assistants.dbca.Dbca $ARGUMENTS

在论坛里找了一些解决办法,最后发现竟然是/etc/hosts里设置的主机名错了,真是不应该,以后要更加细心才行。

相关推荐