oracle netca建立監聽報錯/u01/oracle/bin/netca: line 178: 11819 Aborted

賀子_DBA時代發表於2018-06-12
環境: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:
#
#
/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/,如需轉載,請註明出處,否則將追究法律責任。

相關文章