日期:2014-05-16  浏览次数:20587 次

netca报错: line 190: 16835 Aborted


在创建Oracle数据库时,想先使用netca创建一下监听,结果发现主要一直线netca命令就意外终止:

Oracle Net Services Configuration:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x002ffdb3, pid=16835, tid=4159645904
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_14-b05 mixed mode)
# Problematic frame:
# C  [libc.so.6+0x6fdb3]  index+0x63
#
# An error report file with more information is saved as hs_err_pid16835.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
/soft/oracle/product/10.2.0.4/dbh/bin/netca: line 190: 16835 Aborted                 $JRE -mx64m $SRVM_PROPERTY_DEFS -Dsun.java2d.font.DisableAlgorithmicStyles=true -classpath $CLASSPATH oracle.net.ca.NetCA $*

发现原来是我在host表里面没有配置主机名相对应的条目,如:

主机名为:db1,IP为:192.168.0.1

则在host里面要有一条如下记录:

192.168.0.1 db1