oracle11gr2 netca 无法启动 报错

 

 

安装oracle软件后,必须要先配置listener才能dbca建库,但是netca却报下面的错误。

Oracle Net Services Configuration:
#
# An unexpected error has been detected by HotSpot VirtualMachine:
#
# SIGSEGV (0xb) at pc=0xa4bf5f4e, pid=11819, tid=3086902976
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_17-b02 mixedmode)
# Problematic frame:
# C [libclntsh.so.11.1+0x421f4e] snlinGetAddrInfo+0x1b2
#
# An error report file with more information is saved ashs_err_pid11819.log
#
# If you would like to submit a bug report, please visit:
  http://java.sun.com/webapps/bugreport/crash.jsp
#
/u01/oracle/bin/netca: line 178: 11819Aborted                $JRE $JRE_OPTIONS -classpath $CLASSPATH oracle.net.ca.NetCA $*

 


是由于默认的主机名导致的,修改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用户退出重新登录就可以正常启动netca了

 

已标记关键词 清除标记
相关推荐
©️2020 CSDN 皮肤主题: 技术黑板 设计师:CSDN官方博客 返回首页