oracle netca创建监听报错/u01/oracle/bin/netca: line 178: 11819 Aborted

环境:contos 6.9搭建Oracle 11.2.0.4
安装oracle软件后,netca创建监听却报下面的错误:
Oracle Net Services Configuration:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0xa4bf5f4e, pid=11819, tid=3086902976
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_17-b02 mixed mode)
# Problematic frame:
# C [libclntsh.so.11.1+0x421f4e] snlinGetAddrInfo+0x1b2
#
# An error report file with more information is saved as hs_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: 11819 Aborted $JRE $JRE_OPTIONS -classpath $CLASSPATH oracle.net.ca.NetCA $*
问题原因:是由于默认的主机名导致的;
解决办法:修改Linux为非默认主机名,具体操作如下:
[root@localhost ~]$ cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME= testdb
GATEWAY=192.168.1.254
[root@localhost ~]$ 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
192.168.10.25  testdb
再执行
[root@localhost ~]$hostname testdb
让oracle用户退出重新登录就可以正常启动netca了,至此问题解决。。。
小结:Linux的服务器不要使用默认的主机名,记得要修改主机名。

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29654823/viewspace-2156078/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/29654823/viewspace-2156078/

你可能感兴趣的:(oracle netca创建监听报错/u01/oracle/bin/netca: line 178: 11819 Aborted)