Oracle Error:netca: line 190: 24686 Aborted
该错误的发生场景为:Red Hat Enterprise Linux 5 Update 10,64bit。
数据库的版本是:Oracle database 10g(10.2.0.5.0)
关于该错误的详细描述如下:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
[oracle@ORACLE ~]$ netca & [1] 24684 [oracle@ORACLE ~]$ Oracle Net Services Configuration: # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0xf7e3c493, pid=24686, tid=4158438080 # # Java VM: Java HotSpot(TM) Client VM (1.4.2_14-b05 mixed mode) # Problematic frame: # C [libc.so.6+0x70493] index+0x63 # # An error report file with more information is saved as hs_err_pid24686.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # /u01/app/product/10.2.0/db_1/bin/netca: line 190: 24686 Aborted $JRE -mx64m $SRVM_PROPERTY_DEFS -Dsun.java2d.font.DisableAlgorithmicStyles=true -classpath $CLASSPATH oracle.net.ca.NetCA $* [1]+ Exit 134 netca [oracle@ORACLE ~]$ |
它是由于/etc/hosts文件中的记录异常导致的。
错误的/etc/hosts文件:
1 2 3 4 5 6 |
[oracle@ORACLE ~]$ 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 ::1 localhost6.localdomain6 localhost6 [oracle@ORACLE ~]$ |
正确的/etc/hosts文件:
1 2 3 4 5 6 |
[oracle@ORACLE ~]$ cat /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost 192.168.119.52 ORACLE [oracle@ORACLE ~]$ |
如上所述,/etc/hosts文件中需要包含:“127.0.0.1 localhost”以及关于本机网卡IP的描述的记录。
————————————
Ending。