[oracle@oracle_1 /]$ netca
Oracle Net Services 配置:
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0xB7E629B3
Function=index+0x63
Library=/lib/libc.so.6
Current Java thread:
at oracle.net.common.NetGetEnv.getDNSDomain(Native Method)
at oracle.net.ca.ConfigureProfile.setDefaultProfileParams(Unknown Source)
at oracle.net.ca.InitialSetup.setupConfigObjects(Unknown Source)
at oracle.net.ca.InitialSetup.(Unknown Source)
at oracle.net.ca.NetCA.main(Unknown Source)
Dynamic libraries:
08048000-08056000 r-xp 00000000 03:02 749883 /DBSoftware/app/oracle/product/10.2.0/db_1/jdk/jre/bin/java
08056000-08059000 rwxp 0000d000 03:02 749883 /DBSoftware/app/oracle/product/10.2.0/db_1/jdk/jre/bin/java
a8dcb000-a8dda000 r-xp 00000000 03:02 2345523 /lib/libresolv-2.5.so
a8dda000-a8ddb000 r-xp 0000e000 03:02 2345523 /lib/libresolv-2.5.so
a8ddb000-a8ddc000 rwxp 0000f000 03:02 2345523 /lib/libresolv-2.5.so
a8dde000-a8de2000 r-xp 00000000 03:02 2345511 /lib/libnss_dns-2.5.so
a8de2000-a8de3000 r-xp 00003000 03:02 2345511 /lib/libnss_dns-2.5.so
a8de3000-a8de4000 rwxp 00004000 03:02 2345511 /lib/libnss_dns-2.5.so
a8de4000-a8df1000 r-xp 00000000 03:02 267198 /DBSoftware/app/oracle/product/10.2.0/db_1/lib/libldapjclnt10.so
a8df1000-a8df3000 rwxp 0000c000 03:02 267198 /DBSoftware/app/oracle/product/10.2.0/db_1/lib/libldapjclnt10.so
a8df3000-a8fcf000 r-xp 00000000 03:02 270578 /DBSoftware/app/oracle/product/10.2.0/db_1/lib/libnnz10.so
a8fcf000-a8ff5000 rwxp 001dc000 03:02 270578 /DBSoftware/app/oracle/product/10.2.0/db_1/lib/libnnz10.so
a8ff7000-a9d28000 r-xp 00000000 03:02 270076 /DBSoftware/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
a9d28000-a9d89000 rwxp 00d31000 03:02 270076 /DBSoftware/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
a9d9d000-a9db2000 r-xp 00000000 03:02 270378 /DBSoftware/app/oracle/product/10.2.0/db_1/lib/libnjni10.so
a9db2000-a9db6000 rwxp 00014000 03:02 270378 /DBSoftware/app/oracle/product/10.2.0/db_1/lib/libnjni10.so
a9db6000-a9ede000 r-xs 00000000 03:02 269827 /DBSoftware/app/oracle/product/10.2.0/db_1/lib/xmlparserv2.jar
a9ede000-a9ee3000 r-xp 00000000 03:02 2188051 /usr/lib/libXdmcp.so.6.0.0
a9ee3000-a9ee4000 rwxp 00004000 03:02 2188051 /usr/lib/libXdmcp.so.6.0.0
a9ee4000-a9efb000 r-xp 00000000 03:02 2187247 /usr/lib/libICE.so.6.3.0
a9efb000-a9efc000 rwxp 00016000 03:02 2187247 /usr/lib/libICE.so.6.3.0
a9efe000-a9f06000 r-xp 00000000 03:02 2187249 /usr/lib/libSM.so.6.0.0
a9f06000-a9f07000 rwxp 00007000 03:02 2187249 /usr/lib/libSM.so.6.0.0
a9f07000-aa006000 r-xp 00000000 03:02 2188571 /usr/lib/libX11.so.6.2.0
aa006000-aa00a000 rwxp 000ff000 03:02 2188571 /usr/lib/libX11.so.6.2.0
aa00a000-aa00f000 r-xp 00000000 03:02 2188617 /usr/lib/libXtst.so.6.1.0
aa00f000-aa010000 rwxp 00004000 03:02 2188617 /usr/lib/libXtst.so.6.1.0
aa010000-aa01f000 r-xp 00000000 03:02 2188573 /usr/lib/libXext.so.6.4.0
aa01f000-aa020000 rwxp 0000e000 03:02 2188573 /usr/lib/libXext.so.6.4.0
aa020000-aa073000 r-xp 00000000 03:02 2188577 /usr/lib/libXt.so.6.0.0
aa073000-aa076000 rwxp 00053000 03:02 2188577 /usr/lib/libXt.so.6.0.0
aa077000-aa07e000 r-xp 00000000 03:02 2207363 /usr/lib/libXp.so.6.2.0
aa07e000-aa07f000 rwxp 00006000 03:02 2207363 /usr/lib/libXp.so.6.2.0
aa08c000-aa0df000 r-xp 00000000 03:02 749784 /DBSoftware/app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/libmlib_image.so
aa0df000-aa0e0000 rwxp 00052000 03:02 749784 /DBSoftware/app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/libmlib_image.so
aa0e0000-aa3b1000 r-xp 00000000 03:02 749767 /DBSoftware/app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/libawt.so
aa3b1000-aa3c7000 rwxp 002d0000 03:02 749767 /DBSoftware/app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/libawt.so
aa3ec000-aa789000 r-xs 00000000 03:02 270677 /DBSoftware/app/oracle/product/10.2.0/db_1/oui/jlib/OraInstaller.jar
aa789000-aa797000 r-xs 00000000 03:02 265312 /DBSoftware/app/oracle/product/10.2.0/db_1/jlib/srvmhas.jar
aa797000-aa85e000 r-xs 00000000 03:02 265310 /DBSoftware/app/oracle/product/10.2.0/db_1/jlib/srvm.jar
aa85e000-aa86c000 r-xs 00000000 03:02 264963 /DBSoftware/app/oracle/product/10.2.0/db_1/jlib/ewtcompat-3_3_15.jar
aa86c000-aa87a000 r-xs 00000000 03:02 270580 /DBSoftware/app/oracle/product/10.2.0/db_1/jlib/share.jar
aa87a000-aa92f000 r-xs 00000000 03:02 270220 /DBSoftware/app/oracle/product/10.2.0/db_1/jlib/oracle_ice.jar
aa92f000-aaad6000 r-xs 00000000 03:02 270218 /DBSoftware/app/oracle/product/10.2.0/db_1/jlib/jewt4.jar
aaad6000-aab3b000 r-xs 00000000 03:02 269810 /DBSoftware/app/oracle/product/10.2.0/db_1/jlib/help4.jar
aab3b000-aadc0000 r-xs 00000000 03:02 270221 /DBSoftware/app/oracle/product/10.2.0/db_1/jlib/ewt3.jar
aadc0000-aadd8000 r-xs 00000000 03:02 265069 /DBSoftware/app/oracle/product/10.2.0/db_1/jlib/jndi.jar
aadd8000-aae1d000 r-xs 00000000 03:02 265052 /DBSoftware/app/oracle/product/10.2.0/db_1/ldap/oidadmin/dasnls.jar
aae1d000-aae66000 r-xs 00000000 03:02 270421 /DBSoftware/app/oracle/product/10.2.0/db_1/jlib/netcfg.jar
aae66000-aaefe000 r-xs 00000000 03:02 267074 /DBSoftware/app/oracle/product/10.2.0/db_1/jlib/ldapjclnt10.jar
aaefe000-aaf30000 r-xs 00000000 03:02 264888 /DBSoftware/app/oracle/product/10.2.0/db_1/network/jlib/netca.jar
aaf30000-aaf56000 r-xs 00000000 03:02 264889 /DBSoftware/app/oracle/product/10.2.0/db_1/network/jlib/netcam.jar
aaf56000-aaf72000 r-xs 00000000 03:02 271366 /DBSoftware/app/oracle/product/10.2.0/db_1/jdk/jre/lib/ext/sunjce_provider.jar
aaf72000-aaf7f000 r-xs 00000000 03:02 271364 /DBSoftware/app/oracle/product/10.2.0/db_1/jdk/jre/lib/ext/ldapsec.jar
aaf7f000-ab03b000 r-xs 00000000 03:02 271365 /DBSoftware/app/oracle/product/10.2.0/db_1/jdk/jre/lib/ext/localedata.jar
ab03b000-ab061000 r-xs 00000000 03:02 271273 /DBSoftware/app/oracle/product/10.2.0/db_1/jdk/jre/lib/ext/mailapi.jar
ab061000-ab0a6000 r-xs 00000000 03:02 271272 /DBSoftware/app/oracle/product/10.2.0/db_1/jdk/jre/lib/ext/mail.jar
ab0a6000-ab0b4000 r-xs 00000000 03:02 271275 /DBSoftware/app/oracle/product/10.2.0/db_1/jdk/jre/lib/ext/activation.jar
ab2b8000-ab2b9000 r-xp 01478000 03:02 2186976 /usr/lib/locale/locale-archive
ab2b9000-ab2f5000 r-xp 013fe000 03:02 2186976 /usr/lib/locale/locale-archive
ab2f5000-ab3cd000 r-xp 00263000 03:02 2186976 /usr/lib/locale/locale-archive
ab3cd000-ab5cd000 r-xp 00000000 03:02 2186976 /usr/lib/locale/locale-archive
b37d1000-b37dd000 r-xs 00000000 03:02 265408 /DBSoftware/app/oracle/product/10.2.0/db_1/jlib/jssl-1_1.jar
b5885000-b5e25000 r-xs 00000000 03:02 271315 /DBSoftware/app/oracle/product/10.2.0/db_1/jdk/jre/lib/charsets.jar
b5e25000-b5e36000 r-xs 00000000 03:02 271353 /DBSoftware/app/oracle/product/10.2.0/db_1/jdk/jre/lib/jce.jar
b5e36000-b5f13000 r-xs 00000000 03:02 271354 /DBSoftware/app/oracle/product/10.2.0/db_1/jdk/jre/lib/jsse.jar
b5f13000-b5f29000 r-xs 00000000 03:02 271362 /DBSoftware/app/oracle/product/10.2.0/db_1/jdk/jre/lib/sunrsasign.jar
b5f73000-b791e000 r-xs 00000000 03:02 271361 /DBSoftware/app/oracle/product/10.2.0/db_1/jdk/jre/lib/rt.jar
b791e000-b7932000 r-xp 00000000 03:02 749790 /DBSoftware/app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/libzip.so
b7932000-b7935000 rwxp 00013000 03:02 749790 /DBSoftware/app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/libzip.so
b7935000-b7955000 r-xp 00000000 03:02 749775 /DBSoftware/app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/libjava.so
b7955000-b7957000 rwxp 0001f000 03:02 749775 /DBSoftware/app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/libjava.so
b7957000-b7967000 r-xp 00000000 03:02 749789 /DBSoftware/app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/libverify.so
b7967000-b7969000 rwxp 0000f000 03:02 749789 /DBSoftware/app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/libverify.so
b7969000-b7972000 r-xp 00000000 03:02 2345513 /lib/libnss_files-2.5.so
b7972000-b7973000 r-xp 00008000 03:02 2345513 /lib/libnss_files-2.5.so
b7973000-b7974000 rwxp 00009000 03:02 2345513 /lib/libnss_files-2.5.so
b7975000-b7977000 r-xp 00000000 03:02 2187858 /usr/lib/libXau.so.6.0.0
b7977000-b7978000 rwxp 00001000 03:02 2187858 /usr/lib/libXau.so.6.0.0
b7978000-b797b000 r-xs 00000000 03:02 271271 /DBSoftware/app/oracle/product/10.2.0/db_1/jdk/jre/lib/ext/jta.jar
b797b000-b797e000 r-xs 00000000 03:02 271274 /DBSoftware/app/oracle/product/10.2.0/db_1/jdk/jre/lib/ext/smtp.jar
b797e000-b7981000 r-xs 00000000 03:02 271363 /DBSoftware/app/oracle/product/10.2.0/db_1/jdk/jre/lib/ext/dnsns.jar
b7981000-b79a6000 r-xp 00000000 03:02 2345505 /lib/libm-2.5.so
b79a6000-b79a7000 r-xp 00024000 03:02 2345505 /lib/libm-2.5.so
b79a7000-b79a8000 rwxp 00025000 03:02 2345505 /lib/libm-2.5.so
b79a8000-b79bb000 r-xp 00000000 03:02 2345507 /lib/libnsl-2.5.so
b79bb000-b79bc000 r-xp 00012000 03:02 2345507 /lib/libnsl-2.5.so
b79bc000-b79bd000 rwxp 00013000 03:02 2345507 /lib/libnsl-2.5.so
b79bf000-b7dc5000 r-xp 00000000 03:02 749798 /DBSoftware/app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/client/libjvm.so
b7dc5000-b7de0000 rwxp 00405000 03:02 749798 /DBSoftware/app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/client/libjvm.so
b7df4000-b7f31000 r-xp 00000000 03:02 2345497 /lib/libc-2.5.so
b7f31000-b7f33000 r-xp 0013d000 03:02 2345497 /lib/libc-2.5.so
b7f33000-b7f34000 rwxp 0013f000 03:02 2345497 /lib/libc-2.5.so
b7f37000-b7f39000 r-xp 00000000 03:02 2345503 /lib/libdl-2.5.so
b7f39000-b7f3a000 r-xp 00001000 03:02 2345503 /lib/libdl-2.5.so
b7f3a000-b7f3b000 rwxp 00002000 03:02 2345503 /lib/libdl-2.5.so
b7f3b000-b7f4e000 r-xp 00000000 03:02 2345521 /lib/libpthread-2.5.so
b7f4e000-b7f4f000 r-xp 00012000 03:02 2345521 /lib/libpthread-2.5.so
b7f4f000-b7f50000 rwxp 00013000 03:02 2345521 /lib/libpthread-2.5.so
b7f52000-b7f56000 rwxs 00000000 03:02 1237942 /tmp/hsperfdata_oracle/5419
b7f56000-b7f5e000 r-xp 00000000 03:02 749800 /DBSoftware/app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/native_threads/libhpi.so
b7f5e000-b7f5f000 rwxp 00007000 03:02 749800 /DBSoftware/app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/native_threads/libhpi.so
b7f60000-b7f61000 r-xp b7f60000 00:00 0 [vdso]
b7f61000-b7f7b000 r-xp 00000000 03:02 2345490 /lib/ld-2.5.so
b7f7b000-b7f7c000 r-xp 00019000 03:02 2345490 /lib/ld-2.5.so
b7f7c000-b7f7d000 rwxp 0001a000 03:02 2345490 /lib/ld-2.5.so
bfa11000-bfa27000 rwxp bfa11000 00:00 0 [stack]
Heap at VM Abort:
Heap
def new generation total 576K, used 311K [0xab7d0000, 0xab870000, 0xabcb0000)
eden space 512K, 48% used [0xab7d0000, 0xab80dd80, 0xab850000)
from space 64K, 100% used [0xab850000, 0xab860000, 0xab860000)
to space 64K, 0% used [0xab860000, 0xab860000, 0xab870000)
tenured generation total 1408K, used 617K [0xabcb0000, 0xabe10000, 0xaf7d0000)
the space 1408K, 43% used [0xabcb0000, 0xabd4a590, 0xabd4a600, 0xabe10000)
compacting perm gen total 4096K, used 3856K [0xaf7d0000, 0xafbd0000, 0xb37d0000)
the space 4096K, 94% used [0xaf7d0000, 0xafb94310, 0xafb94400, 0xafbd0000)
Local Time = Fri Apr 10 09:41:24 2009
Elapsed Time = 5
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode)
#
# An error report file has been saved as hs_err_pid5419.log.
# Please refer to the file for further information.
#
/DBSoftware/app/oracle/product/10.2.0/db_1/bin/netca: line 190: 5419 已放弃 $JRE -mx64m $SRVM_PROPERTY_DEFS -Dsun.java2d.font.DisableAlgorithmicStyles=true -classpath $CLASSPATH oracle.net.ca.NetCA $*
[oracle@oracle_1 /]$
原因:
这个错误的发生原因是因为etc/hosts 文件没有指定绝对的IP地址和主机名称:
错误的:
# 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
正确的:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 oracle_1.localdomain oracle_1
::1 localhost6.localdomain6 localhost6
192.168.1.10 oracleserver
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/751371/viewspace-774442/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/751371/viewspace-774442/