在安装完oracle10g数据库后,配置监听时,出现了如下错误信息:
[oracle@his01a ~]$ netca
Oracle Net Services Configuration:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0x00bd73c3, pid=22851, tid=4159949120
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_14-b05 mixed mode)
# Problematic frame:
# C [libc.so.6+0x703c3] index+0x63
#
# An error report file with more information is saved as hs_err_pid22851.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
/usr/appsoft/oracle/product/10.2.0/db_1/bin/netca: line 190: 22851 已放弃 $JRE -mx64m $SRVM_PROPERTY_DEFS -Dsun.java2d.font.DisableAlgorithmicStyles=true -classpath $CLASSPATH oracle.net.ca.NetCA $*
解决办法:
发现原来是我在hosts表里面没有配置主机名相对应的条目,如:
主机名为:db1,IP为:192.168.0.1
则在hosts里面要有一条如下记录:
192.168.0.1 db1
转载于:https://blog.51cto.com/semiter/1341668