CentOS 安装Oracle netca 产生错误

来源:互联网 发布:airdrop 搜不到mac 编辑:程序博客网 时间:2024/05/11 12:04
 错误信息:

[oracle@VM_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:

#   http://java.sun.com/webapps/bugreport/crash.jsp

#

/u01/oracle/bin/netca: line 178:  4341已放弃               $JRE $JRE_OPTIONS -classpath $CLASSPATH oracle.net.ca.NetCA $*

 

错误原因:

安装操作系统是,默认主机名localhost造成错误

修改方法:

[oracle@jc11g ~]$ vi /etc/sysconfig/network
HOSTNAME=linuxhostname

[oracle@jc11g ~]$ 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

 

 

原创粉丝点击