今天在linux as 4上面安装oracle 10g,执行netca时报如下错误:
[oracle@bogon ~]$ netca
Oracle Net Services 配置:
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x62D4F3
Function=index+0x63
Library=/lib/tls/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:
005aa000-005c0000 r-xp 00000000 fd:00 1423429 /lib/ld-2.3.4.so
005c0000-005c1000 r-xp 00015000 fd:00 1423429 /lib/ld-2.3.4.so
005c1000-005c2000 rwxp 00016000 fd:00 1423429 /lib/ld-2.3.4.so
005c4000-006ed000 r-xp 00000000 fd:00 1422638 /lib/tls/libc-2.3.4.so
006ed000-006ef000 r-xp 00128000 fd:00 1422638 /lib/tls/libc-2.3.4.so
006ef000-006f1000 rwxp 0012a000 fd:00 1422638 /lib/tls/libc-2.3.4.so
006f5000-00716000 r-xp 00000000 fd:00 1422718 /lib/tls/libm-2.3.4.so
00716000-00717000 r-xp 00020000 fd:00 1422718 /lib/tls/libm-2.3.4.so
00717000-00718000 rwxp 00021000 fd:00 1422718 /lib/tls/libm-2.3.4.so
0071a000-0071c000 r-xp 00000000 fd:00 1422716 /lib/libdl-2.3.4.so
0071c000-0071d000 r-xp 00001000 fd:00 1422716 /lib/libdl-2.3.4.so
0071d000-0071e000 rwxp 00002000 fd:00 1422716 /lib/libdl-2.3.4.so
00732000-00740000 r-xp 00000000 fd:00 1422714 /lib/tls/libpthread-2.3.4.so
00740000-00741000 r-xp 0000d000 fd:00 1422714 /lib/tls/libpthread-2.3.4.so
00741000-00742000 rwxp 0000e000 fd:00 1422714 /lib/tls/libpthread-2.3.4.so
00785000-00798000 r-xp 00000000 fd:00 1422651 /lib/libnsl-2.3.4.so
00798000-00799000 r-xp 00012000 fd:00 1422651 /lib/libnsl-2.3.4.so
00799000-0079a000 rwxp 00013000 fd:00 1422651 /lib/libnsl-2.3.4.so
008c5000-008c9000 r-xp 00000000 fd:00 141952 /usr/X11R6/lib/libXtst.so.6.1
008c9000-008ca000 rwxp 00003000 fd:00 141952 /usr/X11R6/lib/libXtst.so.6.1
00942000-00951000 r-xp 00000000 fd:00 1422626 /lib/libresolv-2.3.4.so
00951000-00952000 r-xp 0000f000 fd:00 1422626 /lib/libresolv-2.3.4.so
00952000-00953000 rwxp 00010000 fd:00 1422626 /lib/libresolv-2.3.4.so
00957000-0096c000 r-xp 00000000 fd:00 138837 /usr/X11R6/lib/libICE.so.6.3
0096c000-0096d000 rwxp 00014000 fd:00 138837 /usr/X11R6/lib/libICE.so.6.3
00a6a000-00a72000 r-xp 00000000 fd:00 138805 /usr/X11R6/lib/libSM.so.6.0
00a72000-00a73000 rwxp 00007000 fd:00 138805 /usr/X11R6/lib/libSM.so.6.0
00aa0000-00aad000 r-xp 00000000 fd:00 138811 /usr/X11R6/lib/libXext.so.6.4
00aad000-00aae000 rwxp 0000c000 fd:00 138811 /usr/X11R6/lib/libXext.so.6.4
08048000-08056000 r-xp 00000000 fd:00 2726581 /app/oracle/product/10.2.0/db_1/jdk/jre/bin/java
08056000-08059000 rwxp 0000d000 fd:00 2726581 /app/oracle/product/10.2.0/db_1/jdk/jre/bin/java
e900b000-e900f000 r-xp 00000000 fd:00 1422670 /lib/libnss_dns-2.3.4.so
e900f000-e9010000 r-xp 00003000 fd:00 1422670 /lib/libnss_dns-2.3.4.so
e9010000-e9011000 rwxp 00004000 fd:00 1422670 /lib/libnss_dns-2.3.4.so
e9077000-e9253000 r-xp 00000000 fd:00 2720399 /app/oracle/product/10.2.0/db_1/lib32/libnnz10.so
e9253000-e9279000 rwxp 001dc000 fd:00 2720399 /app/oracle/product/10.2.0/db_1/lib32/libnnz10.so
e927b000-e9fa4000 r-xp 00000000 fd:00 2716615 /app/oracle/product/10.2.0/db_1/lib32/libclntsh.so.10.1
e9fa4000-ea005000 rwxp 00d29000 fd:00 2716615 /app/oracle/product/10.2.0/db_1/lib32/libclntsh.so.10.1
ea019000-ea02e000 r-xp 00000000 fd:00 2720398 /app/oracle/product/10.2.0/db_1/lib32/libnjni10.so
ea02e000-ea032000 rwxp 00014000 fd:00 2720398 /app/oracle/product/10.2.0/db_1/lib32/libnjni10.so
ea032000-ea15a000 r-xs 00000000 fd:00 2721613 /app/oracle/product/10.2.0/db_1/lib/xmlparserv2.jar
ea15a000-ea235000 r-xp 00000000 fd:00 138256 /usr/X11R6/lib/libX11.so.6.2
ea235000-ea239000 rwxp 000db000 fd:00 138256 /usr/X11R6/lib/libX11.so.6.2
ea239000-ea285000 r-xp 00000000 fd:00 138855 /usr/X11R6/lib/libXt.so.6.0
ea285000-ea289000 rwxp 0004b000 fd:00 138855 /usr/X11R6/lib/libXt.so.6.0
ea289000-ea290000 r-xp 00000000 fd:00 140995 /usr/X11R6/lib/libXp.so.6.2
ea290000-ea291000 rwxp 00006000 fd:00 140995 /usr/X11R6/lib/libXp.so.6.2
ea29f000-ea2ac000 r-xp 00000000 fd:00 2720484 /app/oracle/product/10.2.0/db_1/lib32/libldapjclnt10.so
ea2ac000-ea2ae000 rwxp 0000c000 fd:00 2720484 /app/oracle/product/10.2.0/db_1/lib32/libldapjclnt10.so
ea2ae000-ea301000 r-xp 00000000 fd:00 2726527 /app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/libmlib_image.so
ea301000-ea302000 rwxp 00052000 fd:00 2726527 /app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/libmlib_image.so
ea302000-ea5d3000 r-xp 00000000 fd:00 2726510 /app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/libawt.so
ea5d3000-ea5e9000 rwxp 002d0000 fd:00 2726510 /app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/libawt.so
ea60e000-ea9ab000 r-xs 00000000 fd:00 2724527 /app/oracle/product/10.2.0/db_1/oui/jlib/OraInstaller.jar
ea9ab000-ea9b9000 r-xs 00000000 fd:00 2719000 /app/oracle/product/10.2.0/db_1/jlib/srvmhas.jar
ea9b9000-eaa80000 r-xs 00000000 fd:00 2718998 /app/oracle/product/10.2.0/db_1/jlib/srvm.jar
eaa80000-eaa8e000 r-xs 00000000 fd:00 2718713 /app/oracle/product/10.2.0/db_1/jlib/ewtcompat-3_3_15.jar
eaa8e000-eaa9c000 r-xs 00000000 fd:00 2722246 /app/oracle/product/10.2.0/db_1/jlib/share.jar
eaa9c000-eab51000 r-xs 00000000 fd:00 2722007 /app/oracle/product/10.2.0/db_1/jlib/oracle_ice.jar
eab51000-eacf8000 r-xs 00000000 fd:00 2722005 /app/oracle/product/10.2.0/db_1/jlib/jewt4.jar
eacf8000-ead5d000 r-xs 00000000 fd:00 2721598 /app/oracle/product/10.2.0/db_1/jlib/help4.jar
ead5d000-eafe2000 r-xs 00000000 fd:00 2722009 /app/oracle/product/10.2.0/db_1/jlib/ewt3.jar
eafe2000-eaffa000 r-xs 00000000 fd:00 2718820 /app/oracle/product/10.2.0/db_1/jlib/jndi.jar
eaffa000-eb03f000 r-xs 00000000 fd:00 2718803 /app/oracle/product/10.2.0/db_1/ldap/oidadmin/dasnls.jar
eb03f000-eb04b000 r-xs 00000000 fd:00 2719162 /app/oracle/product/10.2.0/db_1/jlib/jssl-1_1.jar
eb04b000-eb094000 r-xs 00000000 fd:00 2722088 /app/oracle/product/10.2.0/db_1/jlib/netcfg.jar
eb094000-eb12c000 r-xs 00000000 fd:00 2720052 /app/oracle/product/10.2.0/db_1/jlib/ldapjclnt10.jar
eb12c000-eb15e000 r-xs 00000000 fd:00 2718640 /app/oracle/product/10.2.0/db_1/network/jlib/netca.jar
eb15e000-eb184000 r-xs 00000000 fd:00 2718641 /app/oracle/product/10.2.0/db_1/network/jlib/netcam.jar
eb184000-eb1a0000 r-xs 00000000 fd:00 2726501 /app/oracle/product/10.2.0/db_1/jdk/jre/lib/ext/sunjce_provider.jar
eb1a0000-eb1ad000 r-xs 00000000 fd:00 2726499 /app/oracle/product/10.2.0/db_1/jdk/jre/lib/ext/ldapsec.jar
eb1ad000-eb1f2000 r-xs 00000000 fd:00 2726681 /app/oracle/product/10.2.0/db_1/jdk/jre/lib/ext/mail.jar
eb1f2000-eb1f5000 r-xs 00000000 fd:00 2726498 /app/oracle/product/10.2.0/db_1/jdk/jre/lib/ext/dnsns.jar
eb1f5000-eb1f8000 r-xs 00000000 fd:00 2726683 /app/oracle/product/10.2.0/db_1/jdk/jre/lib/ext/smtp.jar
eb1f8000-eb1fb000 r-xs 00000000 fd:00 2726680 /app/oracle/product/10.2.0/db_1/jdk/jre/lib/ext/jta.jar
eb1fb000-eb2b7000 r-xs 00000000 fd:00 2726500 /app/oracle/product/10.2.0/db_1/jdk/jre/lib/ext/localedata.jar
eb2b7000-eb2dd000 r-xs 00000000 fd:00 2726682 /app/oracle/product/10.2.0/db_1/jdk/jre/lib/ext/mailapi.jar
eb2dd000-eb2eb000 r-xs 00000000 fd:00 2726684 /app/oracle/product/10.2.0/db_1/jdk/jre/lib/ext/activation.jar
eb4ef000-eb4f0000 r-xp 0101c000 fd:00 134175 /usr/lib/locale/locale-archive
eb4f0000-eb524000 r-xp 00fe6000 fd:00 134175 /usr/lib/locale/locale-archive
eb524000-eb5fd000 r-xp 00148000 fd:00 134175 /usr/lib/locale/locale-archive
eb5fd000-eb7fd000 r-xp 00000000 fd:00 134175 /usr/lib/locale/locale-archive
f5aa8000-f6048000 r-xs 00000000 fd:00 2726046 /app/oracle/product/10.2.0/db_1/jdk/jre/lib/charsets.jar
f6048000-f6059000 r-xs 00000000 fd:00 2726084 /app/oracle/product/10.2.0/db_1/jdk/jre/lib/jce.jar
f6059000-f6136000 r-xs 00000000 fd:00 2726085 /app/oracle/product/10.2.0/db_1/jdk/jre/lib/jsse.jar
f6136000-f614c000 r-xs 00000000 fd:00 2726093 /app/oracle/product/10.2.0/db_1/jdk/jre/lib/sunrsasign.jar
f6196000-f7b41000 r-xs 00000000 fd:00 2726092 /app/oracle/product/10.2.0/db_1/jdk/jre/lib/rt.jar
f7b41000-f7b55000 r-xp 00000000 fd:00 2726533 /app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/libzip.so
f7b55000-f7b58000 rwxp 00013000 fd:00 2726533 /app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/libzip.so
f7b58000-f7b78000 r-xp 00000000 fd:00 2726518 /app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/libjava.so
f7b78000-f7b7a000 rwxp 0001f000 fd:00 2726518 /app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/libjava.so
f7b7a000-f7b83000 r-xp 00000000 fd:00 1422673 /lib/libnss_files-2.3.4.so
f7b83000-f7b84000 r-xp 00008000 fd:00 1422673 /lib/libnss_files-2.3.4.so
f7b84000-f7b85000 rwxp 00009000 fd:00 1422673 /lib/libnss_files-2.3.4.so
f7b8c000-f7b9c000 r-xp 00000000 fd:00 2726532 /app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/libverify.so
f7b9c000-f7b9e000 rwxp 0000f000 fd:00 2726532 /app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/libverify.so
f7b9e000-f7ba2000 rwxs 00000000 fd:00 2976114 /tmp/hsperfdata_oracle/10639
f7ba2000-f7baa000 r-xp 00000000 fd:00 2726540 /app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/native_threads/libhpi.so
f7baa000-f7bab000 rwxp 00007000 fd:00 2726540 /app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/native_threads/libhpi.so
f7bab000-f7fb1000 r-xp 00000000 fd:00 2726539 /app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/client/libjvm.so
f7fb1000-f7fcc000 rwxp 00405000 fd:00 2726539 /app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/client/libjvm.so
Heap at VM Abort:
Heap
def new generation total 576K, used 244K [0xeba00000, 0xebaa0000, 0xebee0000)
eden space 512K, 35% used [0xeba00000, 0xeba2d220, 0xeba80000)
from space 64K, 100% used [0xeba80000, 0xeba90000, 0xeba90000)
to space 64K, 0% used [0xeba90000, 0xeba90000, 0xebaa0000)
tenured generation total 1408K, used 586K [0xebee0000, 0xec040000, 0xefa00000)
the space 1408K, 41% used [0xebee0000, 0xebf72a78, 0xebf72c00, 0xec040000)
compacting perm gen total 4096K, used 3858K [0xefa00000, 0xefe00000, 0xf3a00000)
the space 4096K, 94% used [0xefa00000, 0xefdc48c0, 0xefdc4a00, 0xefe00000)
Local Time = Tue May 29 17:32:26 2012
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_pid10639.log.
# Please refer to the file for further information.
#
/app/oracle/product/10.2.0/db_1/bin/netca: line 190: 10639 已放弃 $JRE -mx64m $SRVM_PROPERTY_DEFS -Dsun.java2d.font.DisableAlgorithmicStyles=true -classpath $CLASSPATH oracle.net.ca.NetCA $*
这是因为 /etc/hosts没有主机名和IP导致的,加上主机名和IP之后。执行成功
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/22418990/viewspace-731393/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/22418990/viewspace-731393/