CentOS 安裝Oracle netca 產生錯誤
[[email protected]_Center5_wusy u01]$ netca
Oracle Net Services 配置:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0xa43ea4d4, pid=4341, tid=3086784720
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_17-b02 mixed mode)
# Problematic frame:
# C [libnnz11.so+0x3c4d4]
#
# An error report file with more information is saved as hs_err_pid4341.log
#
# If you would like to submit a bug report, please visit:
#
/u01/oracle/bin/netca: line 178: 4341 已放棄 $JRE $JRE_OPTIONS -classpath $CLASSPATH oracle.net.ca.NetCA $*
錯誤原因:
安裝作業系統是,預設主機名localhost造成錯誤
修改方法:
[[email protected]
HOSTNAME=linuxhostname
[[email protected] ~]$ vi /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost linuxhostname