静默安装oracle10G时netca报错:
[oracle@iZ2ze78t84wkepijwix9puZ ~]$ netca /silent /responseFile /home/oracle/database/response/netca.rsp
Parsing command line arguments:
Parameter "silent" = true
Parameter "responsefile" = /home/oracle/database/response/netca.rsp
Done parsing command line arguments.
Oracle Net Services Configuration:
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0xF75CB343
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.<init>(Unknown Source)
at oracle.net.ca.NetCA.main(Unknown Source)
Dynamic libraries:
08048000-08056000 r-xp 00000000 fc:01 530317 /opt/oracle/product/10G/jdk/jre/bin/java
08056000-08059000 rwxp 0000d000 fc:01 530317 /opt/oracle/product/10G/jdk/jre/bin/java
09cfa000-09f27000 rwxp 00000000 00:00 0 [heap]
e7d5a000-e7f36000 r-xp 00000000 fc:01 527366 /opt/oracle/product/10G/lib32/libnnz10.so
e7f36000-e7f5c000 rwxp 001dc000 fc:01 527366 /opt/oracle/product/10G/lib32/libnnz10.so
e7f5e000-e8c8b000 r-xp 00000000 fc:01 527285 /opt/oracle/product/10G/lib32/libclntsh.so.10.1
e8c8b000-e8cec000 rwxp 00d2c000 fc:01 527285 /opt/oracle/product/10G/lib32/libclntsh.so.10.1
e8e0f000-e8e24000 r-xp 00000000 fc:01 398625 /lib/libresolv-2.12.so
e8e24000-e8e26000 r-xp 00015000 fc:01 398625 /lib/libresolv-2.12.so
e8e26000-e8e27000 rwxp 00017000 fc:01 398625 /lib/libresolv-2.12.so
e8e29000-e8e2e000 r-xp 00000000 fc:01 398613 /lib/libnss_dns-2.12.so
e8e2e000-e8e2f000 r-xp 00004000 fc:01 398613 /lib/libnss_dns-2.12.so
e8e2f000-e8e30000 rwxp 00005000 fc:01 398613 /lib/libnss_dns-2.12.so
e8e79000-e8e86000 r-xp 00000000 fc:01 527449 /opt/oracle/product/10G/lib32/libldapjclnt10.so
e8e86000-e8e88000 rwxp 0000c000 fc:01 527449 /opt/oracle/product/10G/lib32/libldapjclnt10.so
e8e88000-e8fb0000 r-xs 00000000 fc:01 528381 /opt/oracle/product/10G/lib/xmlparserv2.jar
e8fb0000-e8fd7000 r-xp 00000000 fc:01 1058892 /usr/lib/libxcb.so.1.1.0
e8fd7000-e8fd8000 rwxp 00026000 fc:01 1058892 /usr/lib/libxcb.so.1.1.0
e8fd8000-e910e000 r-xp 00000000 fc:01 1058896 /usr/lib/libX11.so.6.3.0
e910e000-e9111000 rwxp 00135000 fc:01 1058896 /usr/lib/libX11.so.6.3.0
e9112000-e93e3000 r-xp 00000000 fc:01 530246 /opt/oracle/product/10G/jdk/jre/lib/i386/libawt.so
e93e3000-e93f9000 rwxp 002d0000 fc:01 530246 /opt/oracle/product/10G/jdk/jre/lib/i386/libawt.so
e941e000-e97bb000 r-xs 00000000 fc:01 662039 /opt/oracle/product/10G/oui/jlib/OraInstaller.jar
e97bb000-e9882000 r-xs 00000000 fc:01 135534 /opt/oracle/product/10G/jlib/srvm.jar
e9882000-e9937000 r-xs 00000000 fc:01 135739 /opt/oracle/product/10G/jlib/oracle_ice.jar
e9937000-e9ade000 r-xs 00000000 fc:01 135737 /opt/oracle/product/10G/jlib/jewt4.jar
e9ade000-e9d63000 r-xs 00000000 fc:01 135741 /opt/oracle/product/10G/jlib/ewt3.jar
e9d63000-e9dac000 r-xs 00000000 fc:01 135764 /opt/oracle/product/10G/jlib/netcfg.jar
e9dac000-e9e44000 r-xs 00000000 fc:01 135608 /opt/oracle/product/10G/jlib/ldapjclnt10.jar
e9e44000-e9f00000 r-xs 00000000 fc:01 530236 /opt/oracle/product/10G/jdk/jre/lib/ext/localedata.jar
ea005000-ea01a000 r-xp 00000000 fc:01 527365 /opt/oracle/product/10G/lib32/libnjni10.so
ea01a000-ea01e000 rwxp 00014000 fc:01 527365 /opt/oracle/product/10G/lib32/libnjni10.so
ea01e000-ea022000 r-xp 00000000 fc:01 398638 /lib/libuuid.so.1.3.0
ea022000-ea023000 rwxp 00003000 fc:01 398638 /lib/libuuid.so.1.3.0
ea023000-ea07b000 r-xp 00000000 fc:01 1059126 /usr/lib/libXt.so.6.0.0
ea07b000-ea07f000 rwxp 00057000 fc:01 1059126 /usr/lib/libXt.so.6.0.0
ea202000-ea210000 r-xp 00000000 fc:01 1058900 /usr/lib/libXi.so.6.1.0
ea210000-ea211000 rwxp 0000e000 fc:01 1058900 /usr/lib/libXi.so.6.1.0
ea211000-ea228000 r-xp 00000000 fc:01 1058778 /usr/lib/libICE.so.6.3.0
ea228000-ea22a000 rwxp 00016000 fc:01 1058778 /usr/lib/libICE.so.6.3.0
ea22b000-ea27e000 r-xp 00000000 fc:01 530263 /opt/oracle/product/10G/jdk/jre/lib/i386/libmlib_image.so
ea27e000-ea27f000 rwxp 00052000 fc:01 530263 /opt/oracle/product/10G/jdk/jre/lib/i386/libmlib_image.so
ea400000-ea407000 r-xp 00000000 fc:01 1058902 /usr/lib/libSM.so.6.0.1
ea407000-ea408000 rwxp 00006000 fc:01 1058902 /usr/lib/libSM.so.6.0.1
ea408000-ea419000 r-xp 00000000 fc:01 1058898 /usr/lib/libXext.so.6.4.0
ea419000-ea41a000 rwxp 00010000 fc:01 1058898 /usr/lib/libXext.so.6.4.0
ea41a000-ea47f000 r-xs 00000000 fc:01 135643 /opt/oracle/product/10G/jlib/help4.jar
ea602000-ea607000 r-xp 00000000 fc:01 1059128 /usr/lib/libXtst.so.6.1.0
ea607000-ea608000 rwxp 00004000 fc:01 1059128 /usr/lib/libXtst.so.6.1.0
ea608000-ea60f000 r-xp 00000000 fc:01 1059130 /usr/lib/libXp.so.6.2.0
ea60f000-ea610000 rwxp 00006000 fc:01 1059130 /usr/lib/libXp.so.6.2.0
ea610000-ea61e000 r-xs 00000000 fc:01 135536 /opt/oracle/product/10G/jlib/srvmhas.jar
ea61e000-ea62c000 r-xs 00000000 fc:01 135454 /opt/oracle/product/10G/jlib/ewtcompat-3_3_15.jar
ea62c000-ea63a000 r-xs 00000000 fc:01 135765 /opt/oracle/product/10G/jlib/share.jar
ea63a000-ea67f000 r-xs 00000000 fc:01 527016 /opt/oracle/product/10G/ldap/oidadmin/dasnls.jar
ea700000-ea900000 r-xp 00000000 fc:01 1053279 /usr/lib/locale/locale-archive
eaa03000-eaa1b000 r-xs 00000000 fc:01 135473 /opt/oracle/product/10G/jlib/jndi.jar
eaa1b000-eaa27000 r-xs 00000000 fc:01 135607 /opt/oracle/product/10G/jlib/jssl-1_1.jar
eaa27000-eaa59000 r-xs 00000000 fc:01 526876 /opt/oracle/product/10G/network/jlib/netca.jar
eaa59000-eaa7f000 r-xs 00000000 fc:01 526877 /opt/oracle/product/10G/network/jlib/netcam.jar
eac00000-eac02000 r-xp 00000000 fc:01 1058780 /usr/lib/libXau.so.6.0.0
eac02000-eac03000 rwxp 00001000 fc:01 1058780 /usr/lib/libXau.so.6.0.0
eac03000-eac11000 r-xs 00000000 fc:01 530420 /opt/oracle/product/10G/jdk/jre/lib/ext/activation.jar
eac11000-eac14000 r-xs 00000000 fc:01 530419 /opt/oracle/product/10G/jdk/jre/lib/ext/smtp.jar
eac14000-eac59000 r-xs 00000000 fc:01 530417 /opt/oracle/product/10G/jdk/jre/lib/ext/mail.jar
eac59000-eac7f000 r-xs 00000000 fc:01 530418 /opt/oracle/product/10G/jdk/jre/lib/ext/mailapi.jar
eae00000-eae03000 r-xs 00000000 fc:01 530234 /opt/oracle/product/10G/jdk/jre/lib/ext/dnsns.jar
eae03000-eae1f000 r-xs 00000000 fc:01 530237 /opt/oracle/product/10G/jdk/jre/lib/ext/sunjce_provider.jar
eae1f000-eae22000 r-xs 00000000 fc:01 530416 /opt/oracle/product/10G/jdk/jre/lib/ext/jta.jar
eae22000-eae2f000 r-xs 00000000 fc:01 530235 /opt/oracle/product/10G/jdk/jre/lib/ext/ldapsec.jar
f4fd8000-f5578000 r-xs 00000000 fc:01 529782 /opt/oracle/product/10G/jdk/jre/lib/charsets.jar
f5578000-f5589000 r-xs 00000000 fc:01 529820 /opt/oracle/product/10G/jdk/jre/lib/jce.jar
f5589000-f5666000 r-xs 00000000 fc:01 529821 /opt/oracle/product/10G/jdk/jre/lib/jsse.jar
f5666000-f567c000 r-xs 00000000 fc:01 529829 /opt/oracle/product/10G/jdk/jre/lib/sunrsasign.jar
f56c6000-f7071000 r-xs 00000000 fc:01 529828 /opt/oracle/product/10G/jdk/jre/lib/rt.jar
f7071000-f7085000 r-xp 00000000 fc:01 530269 /opt/oracle/product/10G/jdk/jre/lib/i386/libzip.so
f7085000-f7088000 rwxp 00013000 fc:01 530269 /opt/oracle/product/10G/jdk/jre/lib/i386/libzip.so
f7088000-f70a8000 r-xp 00000000 fc:01 530254 /opt/oracle/product/10G/jdk/jre/lib/i386/libjava.so
f70a8000-f70aa000 rwxp 0001f000 fc:01 530254 /opt/oracle/product/10G/jdk/jre/lib/i386/libjava.so
f70aa000-f70ba000 r-xp 00000000 fc:01 530268 /opt/oracle/product/10G/jdk/jre/lib/i386/libverify.so
f70ba000-f70bc000 rwxp 0000f000 fc:01 530268 /opt/oracle/product/10G/jdk/jre/lib/i386/libverify.so
f70bc000-f70c0000 rwxs 00000000 fc:01 525259 /tmp/hsperfdata_oracle/22801
f70c0000-f70cc000 r-xp 00000000 fc:01 398615 /lib/libnss_files-2.12.so
f70cc000-f70cd000 r-xp 0000b000 fc:01 398615 /lib/libnss_files-2.12.so
f70cd000-f70ce000 rwxp 0000c000 fc:01 398615 /lib/libnss_files-2.12.so
f70ce000-f70d6000 r-xp 00000000 fc:01 530276 /opt/oracle/product/10G/jdk/jre/lib/i386/native_threads/libhpi.so
f70d6000-f70d7000 rwxp 00007000 fc:01 530276 /opt/oracle/product/10G/jdk/jre/lib/i386/native_threads/libhpi.so
f70d7000-f70ff000 r-xp 00000000 fc:01 398607 /lib/libm-2.12.so
f70ff000-f7100000 r-xp 00027000 fc:01 398607 /lib/libm-2.12.so
f7100000-f7101000 rwxp 00028000 fc:01 398607 /lib/libm-2.12.so
f7101000-f7118000 r-xp 00000000 fc:01 398609 /lib/libnsl-2.12.so
f7118000-f7119000 r-xp 00016000 fc:01 398609 /lib/libnsl-2.12.so
f7119000-f711a000 rwxp 00017000 fc:01 398609 /lib/libnsl-2.12.so
f711c000-f7522000 r-xp 00000000 fc:01 530275 /opt/oracle/product/10G/jdk/jre/lib/i386/client/libjvm.so
f7522000-f753d000 rwxp 00405000 fc:01 530275 /opt/oracle/product/10G/jdk/jre/lib/i386/client/libjvm.so
f7552000-f76e3000 r-xp 00000000 fc:01 398599 /lib/libc-2.12.so
f76e3000-f76e5000 r-xp 00191000 fc:01 398599 /lib/libc-2.12.so
f76e5000-f76e6000 rwxp 00193000 fc:01 398599 /lib/libc-2.12.so
f76e9000-f76ec000 r-xp 00000000 fc:01 398605 /lib/libdl-2.12.so
f76ec000-f76ed000 r-xp 00002000 fc:01 398605 /lib/libdl-2.12.so
f76ed000-f76ee000 rwxp 00003000 fc:01 398605 /lib/libdl-2.12.so
f76ee000-f7705000 r-xp 00000000 fc:01 398623 /lib/libpthread-2.12.so
f7705000-f7706000 r-xp 00016000 fc:01 398623 /lib/libpthread-2.12.so
f7706000-f7707000 rwxp 00017000 fc:01 398623 /lib/libpthread-2.12.so
f770a000-f770b000 r-xp 00000000 00:00 0 [vdso]
f770b000-f772a000 r-xp 00000000 fc:01 398592 /lib/ld-2.12.so
f772a000-f772b000 r-xp 0001e000 fc:01 398592 /lib/ld-2.12.so
f772b000-f772c000 rwxp 0001f000 fc:01 398592 /lib/ld-2.12.so
ffb78000-ffb8e000 rwxp 00000000 00:00 0 [stack]
Heap at VM Abort:
Heap
def new generation total 576K, used 210K [0xeaf30000, 0xeafd0000, 0xeb410000)
eden space 512K, 28% used [0xeaf30000, 0xeaf549c0, 0xeafb0000)
from space 64K, 100% used [0xeafb0000, 0xeafc0000, 0xeafc0000)
to space 64K, 0% used [0xeafc0000, 0xeafc0000, 0xeafd0000)
tenured generation total 1408K, used 516K [0xeb410000, 0xeb570000, 0xeef30000)
the space 1408K, 36% used [0xeb410000, 0xeb491080, 0xeb491200, 0xeb570000)
compacting perm gen total 4096K, used 3566K [0xeef30000, 0xef330000, 0xf2f30000)
the space 4096K, 87% used [0xeef30000, 0xef2ab8f0, 0xef2aba00, 0xef330000)
Local Time = Wed Oct 25 14:16:20 2017
Elapsed Time = 0
#
# 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_pid22801.log.
# Please refer to the file for further information.
#
/opt/oracle/product/10G/bin/netca: line 190: 22801 Aborted $JRE -mx64m $SRVM_PROPERTY_DEFS -Dsun.java2d.font.DisableAlgorithmicStyles=true -classpath $CLASSPATH oracle.net.ca.NetCA $*
百度了一圈,最后发现是hosts文件中没有配置本机IP和主机名造成的.
添加了ip 主机名的对应条目后.重新执行.OK.
本文出自 “初心易得” 博客,请务必保留此出处http://pianzibense.blog.51cto.com/996557/1975983
An unexpected exception has been detected in native code outside the VM
原文地址:http://pianzibense.blog.51cto.com/996557/1975983