小编给大家分享一下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了,至此问题解决。。。
以上是“oracle netca创建监听报错/u01/oracle/bin/netca: line 178: 11819 Aborted怎么办”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注亿速云行业资讯频道!