一 故障现象
1)Linux/Unix上安装oracle 10g 最后会出现 assistant config error ;
2)调用netca配置监听时会出现以下错误。
Oracle Net Services Configuration:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0x002bb9b3, pid=6447, tid=4160280784
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_14-b05 mixed mode)
# Problematic frame.:
# C [libc.so.6+0x6e9b3] index+0x63
#
# An error report file with more information is saved as hs_err_pid6447.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
/app/oracle/product/10.2.0 _1/bin/netca: line 190: 6447 Aborted $JRE -mx64m $SRVM_PROPERTY_DEFS -Dsun.java2d.font.DisableAlgorithmicStyles=true -classpath $CLASSPATH
二 报错原因
运行netca时可能需要获取主机名和相应ip,netca应该是从/etc/hosts/文件中获取主机名和ip。但本主机的/etc/hosts中配置主机名和ip的记录被注释掉了,导致necta获取不到相关信息报错。
三 解决办法:
在/etc/hosts 补充主机和IP的对应关系即可
1)Linux/Unix上安装oracle 10g 最后会出现 assistant config error ;
2)调用netca配置监听时会出现以下错误。
Oracle Net Services Configuration:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0x002bb9b3, pid=6447, tid=4160280784
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_14-b05 mixed mode)
# Problematic frame.:
# C [libc.so.6+0x6e9b3] index+0x63
#
# An error report file with more information is saved as hs_err_pid6447.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
/app/oracle/product/10.2.0 _1/bin/netca: line 190: 6447 Aborted $JRE -mx64m $SRVM_PROPERTY_DEFS -Dsun.java2d.font.DisableAlgorithmicStyles=true -classpath $CLASSPATH
二 报错原因
运行netca时可能需要获取主机名和相应ip,netca应该是从/etc/hosts/文件中获取主机名和ip。但本主机的/etc/hosts中配置主机名和ip的记录被注释掉了,导致necta获取不到相关信息报错。
三 解决办法:
在/etc/hosts 补充主机和IP的对应关系即可
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/27064837/viewspace-750660/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/27064837/viewspace-750660/